iommu/arm-smmu: Tighten up global fault reporting
authorWill Deacon <will.deacon@arm.com>
Wed, 31 Jul 2013 18:21:26 +0000 (19:21 +0100)
committerJoerg Roedel <joro@8bytes.org>
Wed, 14 Aug 2013 10:09:14 +0000 (12:09 +0200)
commitadaba320916d246af56821a1aab81a715091e7e5
tree434d23ba1dc9f068150b7657d23ee66d9b2ce5cb
parent2ae9f2fa3f770c734e713f9a0a4c40bcf2373ab6
iommu/arm-smmu: Tighten up global fault reporting

On systems which use a single, combined irq line for the SMMU, context
faults may result in us spuriously reporting global faults with zero
status registers.

This patch fixes up the fsr checks in both the context and global fault
interrupt handlers, so that we only report the fault if the fsr
indicates something did indeed go awry.

Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Joerg Roedel <joro@8bytes.org>
drivers/iommu/arm-smmu.c