diff options
author | Miguel Vadillo <vadillo@ti.com> | 2010-11-29 19:18:47 -0500 |
---|---|---|
committer | Paolo Pisati <paolo.pisati@canonical.com> | 2012-08-17 04:19:09 -0400 |
commit | 74d6782c7263a7c170c4e3899579fd070064496a (patch) | |
tree | 2d70f81eed3ecbefb33d6e82c06e1a4cc7b84dc2 /drivers/xen/xen-balloon.c | |
parent | 89cbd196d125dda1e6f3f04867ef16b0f88dabd9 (diff) |
SYSLINK:ipu-pm: Refactor ipu-pm module and fix suspend/resume
Also has compiler warning fix in AUXCLK request function
syslink: ipu_pm: refactor and cleanup functions
Including:
- ipu_pm module code was a reviewed and reworked to remove
redundant code, simplify and enhance the implementation.
- Change ipu_notifications to receive proc_id.
- Add IOMMU_FAULT notifier callback function.
- Function to release all resources when IOMMU_FAULT event
is received or when detaching, this is called in a
workqueue to avoid calling context problems in the case of
the FAULT event and called directly in the case of detaching.
- Add the possibility to select the SRC_CLK when requesting
a gptimer.
- Add pr_debug traces for debugging purpose:
Previosly all the errors when requesting/releasing
resources were just reported to IPU using notify_event
in the payload. Now kernel is printing errors/warnings/
debug messages and also reporting the error back to IPU.
This is needed because IPU could be dead and not able to
see/print the error ipu_pm is reporting.
Change-Id: I22614bafc7cb7e3070d5bf565be6138fca5a809b
Signed-off-by: Miguel Vadillo <vadillo@ti.com>
syslink: ipu_pm: fix suspend/resume when no IPU image loaded
ipu_pm_drv_suspend and _resume were trying to notify ipu for
suspend/resume without cheking if an image was loaded leading
to an error in the suspend path.
Checking the handle to each proc before sending the notification
is avoiding this.
Suspend/resume is working now with/without an image loaded in IPU.
Change-Id: I55aca1674b1cdffba9fb3247e7da605b4082a521
Signed-off-by: Miguel Vadillo <vadillo@ti.com>
SYSLINK: IPU-PM: clean up warning in AUXCLK request function
clean up clk_disable( ) warning in AUXCLK request function:
ipu_pm_get_aux_clk( ).
Change-Id: I6bcc41e220f80f4e248bef65b3ed0fc379451d98
Signed-off-by: Paul Hunt <hunt@ti.com>
SYSLINK: IPU-PM: restore IOMMU during ipu pm detach and mmu close
The IPU PM during the Ducati hibernation is shutting down the
IOMMU. If the User process that is using IOMMU is killed when the
Ducati is in hibernation state, the board hangs due to access to IOMMU during
resource cleanup.
The issue was observed when the Syslink daemon is killed with Ducati in
hibernation.
Change-Id: Ia5bd05fe382488c33ac858657f05aee9e22a48ee
Signed-off-by: Hari Kanigeri <h-kanigeri2@ti.com>
Diffstat (limited to 'drivers/xen/xen-balloon.c')
0 files changed, 0 insertions, 0 deletions