Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 92422e1d authored by Seemanta Dutta's avatar Seemanta Dutta Committed by Gerrit - the friendly Code Review server
Browse files

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: default avatarSeemanta Dutta <seemanta@codeaurora.org>
parent 566d2506
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment