cam: smmu: Schedule work queue for triggering page fault handler
If page fault handler is triggered from within the same context
as ARM IOMMU driver, it can lead to deadlock due to improper
grabbing of mutexes.
This can be avoided if the page fault handler context is
immediately returned to ARM IOMMU driver after scheduling
work queue for triggering client specific fault handler
registered with CAM SMMU driver.
So, schedule tasklet for triggering page fault handler of all
registered clients.
Change-Id: I7fbe520f7e27c9a4f4917cd259f138c64ee76e78
Signed-off-by:
Seemanta Dutta <seemanta@codeaurora.org>
Loading
Please register or sign in to comment