diff options
author | Fernando Guzman Lugo <[email protected]> | 2017-07-28 15:49:13 -0500 |
---|---|---|
committer | Joerg Roedel <[email protected]> | 2017-08-04 11:59:29 +0200 |
commit | 159d3e35da3b6ff36b9077a8719bcac215155771 (patch) | |
tree | a9e64a28a34b8b51e56fe3e842e4c368b32ddae7 /include/linux/skb_array.h | |
parent | 16f73eb02d7e1765ccab3d2018e0bd98eb93d973 (diff) |
iommu/omap: Fix disabling of MMU upon a fault
The IOMMU framework lets its client users be notified on a
MMU fault and allows them to either handle the interrupt by
dynamic reloading of an appropriate TLB/PTE for the offending
fault address or to completely restart/recovery the device
and its IOMMU.
The OMAP remoteproc driver performs the latter option, and
does so after unwinding the previous mappings. The OMAP IOMMU
fault handler however disables the MMU and cuts off the clock
upon a MMU fault at present, resulting in an interconnect abort
during any subsequent operation that touches the MMU registers.
So, disable the IP-level fault interrupts instead of disabling
the MMU, to allow continued MMU register operations as well as
to avoid getting interrupted again.
Signed-off-by: Fernando Guzman Lugo <[email protected]>
[[email protected]: add commit description]
Signed-off-by: Suman Anna <[email protected]>
Signed-off-by: Josue Albarran <[email protected]>
Acked-by: Suman Anna <[email protected]>
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'include/linux/skb_array.h')
0 files changed, 0 insertions, 0 deletions