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

Skip to content
Commit 36154adb authored by Chintan Pandya's avatar Chintan Pandya Committed by Gerrit - the friendly Code Review server
Browse files

iommu: msm: Fix unclocked register access from fault handler



Now that non-secure CB faults also gets routed to secure
fault handler (when IOMMU is secure), we need to ensure
that custom fault handler also gets an access with clock
enabled. This was the BUG but no one earlier called
custom fault handler from secure fault handler and remained
uncaught. Fix it by maintaining clock until we return.

Also, ensure that only for valid FSR values we enter and
invoke custom fault handlers.

Change-Id: I9f883c96a8fc05409d5670c35c86301fab6c2f8c
Signed-off-by: default avatarChintan Pandya <cpandya@codeaurora.org>
parent 8aba428d
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