[PATCH 3/4] iommu/exynos: Add iommu driver for Exynos4 Platforms

Ohad Ben-Cohen ohad at wizery.com
Tue Sep 27 04:48:07 EDT 2011


On Tue, Sep 27, 2011 at 3:56 AM, KyongHo Cho <pullip.cho at samsung.com> wrote:
> I wanted the IOMMU driver to provide default fault handler to its users
> that does not provide fault handler for debugging purpose.
> If a user want to handle MMU fault, IOMMU driver welcomes to overwrite
> the existing 'default' fault handler.

Ok, this one patch below should allow you to do that.
report_iommu_fault() will now reliably tell you if a fault handler
failed or not, or if one isn't even installed.

This way your IOMMU driver doesn't need to define a fault handler of
its own, and instead, can do everything directly in
exynos_sysmmu_irq() where all the required information is now
available.

Thanks,
Ohad.



More information about the linux-arm-kernel mailing list