aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/dsp/syslink/omap_notify
Commit message (Collapse)AuthorAge
* syslink: notify: add missing protection to register/unregisterFernando Guzman Lugo2012-08-17
| | | | | | | | There were parts not protected when register/unregister single events. Change-Id: I53d99659b91abbbcef66117bca7c37bf73e7aa97 Signed-off-by: Fernando Guzman Lugo <fernando.lugo@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:notify-add notify module to syslink with associated fixesRamesh Gupta2012-08-17
SYSLINK:notify-add notify module to syslink add notify module to syslink Signed-off-by: Suman Anna <s-anna@ti.com> Signed-off-by: Ramesh Gupta G <grgupta@ti.com> Signed-off-by: Hari Kanigeri <h-kanigeri2@ti.com> Signed-off-by: Subramaniam C.A <subramaniam.ca@ti.com> SYSLINK:notify-added notify ducati driver to syslink Add notify ducati driver to syslink Signed-off-by: Suman Anna <s-anna@ti.com> Signed-off-by: Hari Kanigeri <h-kanigeri2@ti.com> Signed-off-by: Subramaniam C.A <subramaniam.ca@ti.com> Signed-off-by: Ramesh Gupta G <grgupta@ti.com> SYSLINK: notify - minor fix for error check copy_to_user returns a non-zero value in case of error. This patch fixes it and resolved an associated KW defect: Comparison of unsigned value against 0 is always false Signed-off-by: Suman Anna <s-anna@ti.com> omap:notify: call restore_ctx when send_event first time In notify.c when sending an event using notify_send_event() the funtion ipu_pm_restore_ctx() is called to enable just the first time idle and disable hibernation. Also is changing the ducati clock state transition control to HW_auto to allowed retention. The rest of the restore ctx remains under a menuconfig macro. Signed-off-by: Juan Gutierrez <jgutierrez@ti.com> SYSLINK: notify - reset notify registration chart correctly This patch fixes a minor bug in the notify driver unregistration process. The notify registration chart is an array and stores all the registered events in ascending order (dictates the notify event priorities). This array is compacted whenever an event is unregistered. The compaction is done shifting all the subsequent events to the left. Currently, the next element to the element being unregistered is not reset correctly, thereby leading to duplicate registrations in the array. This still leaves a valid duplicate event when that event is unregistered. This scenario happens when a lower event is unregistered while a higher event is also present. Change-Id: I47a04e4d01a5081099117280be286a51afa7d1cf Signed-off-by: Suman Anna <s-anna@ti.com> syslink: notifier - add a mutext per notify_object Critital section are per notify_object we not need to block other notify_object of other processors. Instead create a new mutex per notify_object to protect critical sections which belong to a specific processor. This would increase the performance. Also fix unprotected part while calling the registered callback fucntions that was causing a kernel panic. Change-Id: Ie99eef8eb5eca6a75d203df33c2a31981ce50489 Signed-off-by: Fernando Guzman Lugo <x0095840@ti.com> SYSLINK:IPC - Notify reserve events moved from 4 to 5 Making room for new reserved event for devh. Devh is using event 4 for sys error notifications. Change-Id: I545b3da56167d6f539092ab434d33f993129324f Signed-off-by: Shahid Akhtar <sakhtar@ti.com>