summaryrefslogtreecommitdiff
path: root/drivers/staging/nmf-cm/cm/engine
AgeCommit message (Collapse)Author
2011-12-06U8500 CM: Add caller info in some panicPierre Peiffer
Add caller information in case of INTERFACE_NOT_BINDED panic ST-Ericsson ID: 361780 ST-Ericsson FOSS-OUT ID: Trivial ST-Ericsson Linux next: NA Signed-off-by: Pierre Peiffer <pierre.peiffer@stericsson.com> Change-Id: I7caf788a30268cd977c67efe62f8182a76502d4c Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/32586 Reviewed-by: Pierre PEIFFER <pierre.peiffer@stericsson.com> Tested-by: Pierre PEIFFER <pierre.peiffer@stericsson.com>
2011-12-06U8500 CM: always release the loadmap entryPierre Peiffer
When releasing a component, its loadmap entry is not released if a corruption is detected. Free this entry in any case to avoid any leakage even in case corruption. ST-Ericsson ID: 361414 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: Trivial Signed-off-by: Pierre Peiffer <pierre.peiffer@stericsson.com> Change-Id: Ifbf60e88b4875fffeff50a896a862f850e06227f Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/32585 Reviewed-by: Pierre PEIFFER <pierre.peiffer@stericsson.com> Tested-by: Pierre PEIFFER <pierre.peiffer@stericsson.com>
2011-12-06U8500 CM: send a DSP Panic if it's not respondingPierre Peiffer
* Generate a DSP Panic and send it to user process when the DSP does not respond anymore. The issue is that when a process is using a DSP (ie has some components deployed on a DSP) without any activity (no interaction with the DSP), the driver needs to tell it when the DSP is dead. This Panic message is there to solve this issue. * Force wake-up of MMDSP before changing hardware power state This a work around for prcmu issue. ST-Ericsson ID: 359048 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: Trivial Signed-off-by: Pierre Peiffer <pierre.peiffer@stericsson.com> Change-Id: I920cc6a8e79e7dc9b39bd77f700a9e0e056b6a81 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/32584 Reviewed-by: Pierre PEIFFER <pierre.peiffer@stericsson.com> Tested-by: Pierre PEIFFER <pierre.peiffer@stericsson.com>
2011-12-06U8500 CM: execute services before detroying componentPierre Peiffer
Force MMDSP to have executed all previous services before detroying the components: service construct / start / stop on a component could remain on the pipe when the component is destroyed. ST-Ericsson ID: 358445 ST-Ericsson Linux next: - ST-Ericsson FOSS-OUT ID: Trivial Signed-off-by: Pierre Peiffer <pierre.peiffer@stericsson.com> Change-Id: Icd8c0fe7d567128562599e928b381514e4a71fa8
2011-12-06U8500 CM: Fix issue in component-preload mechanismPierre Peiffer
An address must not been assigned to preloaded component, but only with template ST-Ericsson ID: 358497 ST-Ericsson Linux next: - ST-Ericsson FOSS-OUT ID: Trivial Signed-off-by: Pierre Peiffer <pierre.peiffer@stericsson.com> Change-Id: I13a30973c27d757b48e35bf3f7f78b880ee3027a
2011-12-06U8500 CM: instantiate singleton in default domainPierre Peiffer
Singleton components are components used as shared lib on MMDSP and are allocated in the memory domain given at first instantiation. That domain will thus be seen as busy until all users have released their reference to this singleton component, preventing this domain to be released by its creator, even if it has released his reference. This patch assigns these singletons to a default domain once they are created to avoid this issue. ST-Ericsson ID: 356938 ST-Ericsson Linux next: - ST-Ericsson FOSS-OUT ID: Trivial Signed-off-by: Pierre Peiffer <pierre.peiffer@stericsson.com> Change-Id: Ie5590147624d3cb399469600bbc35359ef741295
2011-12-06U8500 CM: provide MMDSP dump in case of PanicPierre Peiffer
Implement support of debugfs: - Provide several live information through debugfs - Provide support of MMDSP core dump also through debugfs, when a panic occurs. Rework the allocator to enhance the MMDSP stack allocation. ST-Ericsson ID: 356478 ST-Ericsson Linux next: - ST-Ericsson FOSS-OUT ID: Trivial Signed-off-by: Pierre Peiffer <pierre.peiffer@stericsson.com> Change-Id: I19e21a8a0cfa23e9085c2c429ce13f973c552818
2011-12-06U8500 CM: make call to stopper synchronousPierre Peiffer
When a component uses the MMDSP hardware pipe, make the call to the stopper synchronous. Otherwise, the hardware pipe is stopped before the stopper is called, which may be wrong if the stopper still needs to access the pipe. ST-Ericsson ID: 352780 ST-Ericsson Linux next: - ST-Ericsson FOSS-OUT ID: Trivial Signed-off-by: Pierre Peiffer <pierre.peiffer@stericsson.com> Change-Id: I9aaac434f2b11e25c54fae2c12ef3d812dd716ec Depends-On: I8c2e2d6f33af3c53d2438e57658337f6c9f91477
2011-12-06U8500 NMF-CM: Increase internal fifo sizePierre Peiffer
In some media usecase, this internal fifo becomes too small. Increase its size to fix media usecase. ST-Ericsson ID: 341141 ST-Ericsson Linux next: - ST-Ericsson FOSS-OUT ID: Trivial Signed-off-by: Pierre Peiffer <pierre.peiffer@stericsson.com> Change-Id: I3fe5195a3865b993783c0f1244eb89e7ce4c4f4a
2011-12-06U8500 NMF-CM: add support for component preloadingPierre Peiffer
Provide support for pre-loading some NMF components, used to pre-load some components that are on a time critical path. Having such components already pre-loaded decreases the time required to instantiate and deploy them. ST-Ericsson ID: 352754 ST-Ericsson Linux next: - ST-Ericsson FOSS-OUT ID: Trivial Depends-On: If8e129163e6c94b7c239c84af667b16d7a1b56ac, I73416c15f75afce61a056f318a448a034182acb2, Id40225d1ce93f2c9cfc085744717dc091add74c4 Signed-off-by: Pierre Peiffer <pierre.peiffer@stericsson.com> Change-Id: I4aecce1bcc63e6d4b04e251e821c8896ed63ba54
2011-12-06U8500 NMF-CM: rework the DMA partPierre Peiffer
The addition of the DMA part within the driver has broken the OSI part. This prevents all easy merge of any new changes in this OSI part. This patch reworks this part by moving everything in linux specific files. ST-Ericsson ID: 343776 ST-Ericsson Linux next: - ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Iafaa4b36539729826442d0c2dd95c5bbc52bfddb Signed-off-by: Pierre Peiffer <pierre.peiffer@stericsson.com>
2011-12-06U8500 CM: protect driver against MMDSP corruptionPierre Peiffer
The loadmap of the MMDSP components is stored in shared memory (DDR memory shared between ARM and MMDSP). In case of corruption of this memory by some MMDSP firmware, current parsing of this loadmap on ARM side may lead to a kernel Panic. This patch makes the driver tolerant against any corruption ST-Ericsson Linux next: - ST-Ericsson ID: 351745 ST-Ericsson FOSS-OUT ID: Trivial Signed-off-by: Pierre Peiffer <pierre.peiffer@stericsson.com>
2011-12-06staging: nmf-cm: Add NMF/CM driverPhilippe Langlais
This is driver for loading code to a DSP Signed-off-by: Philippe Langlais <philippe.langlais@linaro.org> Signed-off-by: Robert Marklund <robert.marklund@stericsson.com>