omap: IOMMU: add support to callback during fault handling
authorDavid Cohen <dacohen@gmail.com>
Wed, 16 Feb 2011 19:35:51 +0000 (19:35 +0000)
committerTony Lindgren <tony@atomide.com>
Thu, 24 Feb 2011 22:23:17 +0000 (14:23 -0800)
commitd594f1f31afe13edd8c02f3854a65cc58cfb3b74
tree8986a9af7302b214316f9498d153be46c9c4df38
parent92e753d7984db36f0a3c0bbf0f377da114768775
omap: IOMMU: add support to callback during fault handling

Add support to register an isr for IOMMU fault situations and adapt it
to allow such (*isr)() to be used as fault callback. Drivers using IOMMU
module might want to be informed when errors happen in order to debug it
or react.

Signed-off-by: David Cohen <dacohen@gmail.com>
Acked-by: Hiroshi DOYU <Hiroshi.DOYU@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/iommu2.c
arch/arm/plat-omap/include/plat/iommu.h
arch/arm/plat-omap/iommu.c