aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/dsp/syslink/multicore_ipc
Commit message (Collapse)AuthorAge
* syslink: ipc: limit the retry count for ipc attachSubin K G2012-08-17
| | | | | | | | | | | | Currenlty ipc_attach is whiling inside the kernel till it become success.This has been changed to a retry for 500ms, after that it will report failure to userspace. This change is to avoid rebooting of the board, in case if ipc_attach fails. Change-Id: Ie47043c54858140e198af7354b9441232a117760 Signed-off-by: Subin K G <subin.kg@ti.com>
* syslink: ipc: store pid in ipc drivers private dataSubin K G2012-08-17
| | | | | | | | | | | Store the pid of process who call the ipc_open in it's private data so at the time of release it can use this to send death notification instead of using current pid whenever ipc release has been called. Change-Id: I86429112bd9668869ceeae43195309be2311ab5d Signed-off-by: Subin K G <subin.kg@ti.com> Signed-off-by: Fernando Guzman Lugo <fernando.lugo@ti.com>
* syslink: ipc: unregister notify cbk before destroying transportshmFernando Guzman Lugo2012-08-17
| | | | | | | | | if you don't unregister the callback for notify events first, the transportshm object can be dereferenced in the callback causing a kerner panic. Change-Id: I0f55e2b5070bec7c617392b3080914c0372f98bf Signed-off-by: Fernando Guzman Lugo <fernando.lugo@ti.com>
* SYSLINK: Use unlocked_ioctl instead of ioctlSubramaniam C.A2012-08-17
| | | | | | | This patch uses unlocked_ioctl instead of ioctl in all SysLink drivers. The support for ioctl was removed since BKL is not to be used anymore. Signed-off-by: Subramaniam C.A <subramaniam.ca@ti.com>
* SYSLINK: Migrate build changes for adding iommu-debug and enable hibernationSubramaniam C.A2012-08-17
| | | | | | | | | | This patch enables hibernation by default and also adds build support for iommu-debug.The patch is a port of these additions from 2.6.35 omap android kernel. Signed-off-by: Miguel Vadillo <vadillo@ti.com> Signed-off-by: Leed Aguilar <leed.aguilar@ti.com> Signed-off-by: C A Subramaniam <subramaniam.ca@ti.com>
* SYSLINK: ipc - ipc recovery related patchesFernando Guzman Lugo2012-08-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SYSLINK: ipc - move check for in recovery state per ipc submodule With this approach, now each submodule can allow which ioctl can go through when the IPC is in recovery state. It is done by exporting a new function in ipc. Change-Id: I3402f2f83cd3dddbdd6a0d8caf94bf061a5b981c Signed-off-by: Fernando Guzman Lugo <fernando.lugo@ti.com> SYSLINK: ipc - allow some ioctl go through in recovery state This api can go through even in recovery state: messageq_unblock messageq_delete messageq_close messageq_destroy Change-Id: If738b58c21f1d18c3ef1ba019bb598290096d32b Signed-off-by: Fernando Guzman Lugo <fernando.lugo@ti.com> SYSLINK: IPC- provide ipc start and stop notification Enable the notification of IPC start and stop, which devh can use to register/unregister for SYS-ERRORS. This also includes the changes to export ipc_recovery_schedule function. This function should be called by error handlers such as sys error and watchdog error. Change-Id: I436c37b9c4b74d00c771e88c480ea0e96a0268fd Signed-off-by: Hari Kanigeri <h-kanigeri2@ti.com> Signed-off-by: Wajahat Khan <w-khan@ti.com> syslink: ipc: fix compilation warnings Fixing the following compilation warning when including ipc.h and notify_ducatidriver.h in another module: warning: function declaration isn't a prototype Change-Id: Idbb0b5289a3e8406fbe0b86e70d63d55d7e3060f Reported-by: Ricardo Neri <ricardo.neri@ti.com> Signed-off-by: Miguel Vadillo <vadillo@ti.com>
* SYSLINK: SysLink printks with pr_xxxHari Kanigeri2012-08-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SYSLINK: IPC-replace printks with pr_xxx Replace printk(KERN_ERR) with pr_err printk(KERN_INFO) with pr_info printk(KERN_WARNING) with pr_info Change-Id: Ic434b3ca34f131528c71f8f3fc6b5b51252db92c Signed-off-by: Hari Kanigeri <h-kanigeri2@ti.com> SYSLINK: notify-replace printks with pr_xxx Replace printk(KERN_ERR) with pr_err printk(KERN_INFO) with pr_info printk(KERN_WARNING) with pr_info Change-Id: Iad946fec668a2fa190ea4c54067f59378cb6f147 Signed-off-by: Hari Kanigeri <h-kanigeri2@ti.com> SYSLINK: notify-ducati-replace printks with pr_xxx Replace printk(KERN_ERR) with pr_err printk(KERN_INFO) with pr_info printk(KERN_WARNING) with pr_info Change-Id: Ic65782b709447033912a7b3fe76daa3548b1ad4c Signed-off-by: Hari Kanigeri <h-kanigeri2@ti.com> SYSLINK: PROCMGR-replace printks with pr_xxx Replace printk(KERN_ERR) with pr_err printk(KERN_INFO) with pr_info printk(KERN_WARNING) with pr_info Change-Id: Iee8c0a38dbb32dc33b42d4ba757a746f791a3047 Signed-off-by: Hari Kanigeri <h-kanigeri2@ti.com>
* SYSLINK: IPC - changes for messageQ unblockShahid Akhtar2012-08-17
| | | | | | | | | | | | Added a new command in messageq to unblock. A new variable is also added to the messageq object to unblock the messageq. The purpose of unblock is to unblock the messageq_get() when it is pending for a new message with MessageQ_FOREVER timeout. The messageq_unblock is intended for use before deletion of messageq and it unblocks messageq_get() with MessageQ_FOREVER timeout value for termination. Signed-off-by: Shahid Akhtar <sakhtar@ti.com>
* SYSLINK:ipc-added multicore ipc module to syslinkSuman Anna2012-08-17
Add multicore ipc module to syslink. Signed-off-by: Suman Anna <s-anna@ti.com> Signed-off-by: Subramaniam C.A <subramaniam.ca@ti.com> Signed-off-by: Arun M G <arunmg@ti.com> Signed-off-by: Ramesh Gupta G <grgupta@ti.com> Signed-off-by: Jayan John <x00jayan@ti.com> Signed-off-by: Angela Stegmaier <angelabaker@ti.com> Signed-off-by: Hari Kanigeri <h-kanigeri2@ti.com> Signed-off-by: Arun Radhakrishnan <x0051460@ti.com> Signed-off-by: Subin Gangadharan <subin.kg@ti.com>