]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit002c0a5dafd3b209a166abb4faeff29cf289c4b2
tree8986a9af7302b214316f9498d153be46c9c4df38
parent2bfabc76bff354b0f97e7b0cb49df19f545acda2
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