]> Git Repo - linux.git/commitdiff
iommu/arm-smmu: Print context fault information
authorAndreas Herrmann <[email protected]>
Tue, 1 Oct 2013 12:39:08 +0000 (13:39 +0100)
committerWill Deacon <[email protected]>
Wed, 9 Oct 2013 13:14:40 +0000 (14:14 +0100)
Print context fault information when the fault was not handled by
report_iommu_fault.

Signed-off-by: Andreas Herrmann <[email protected]>
[will: fixed string formatting]
Signed-off-by: Will Deacon <[email protected]>
drivers/iommu/arm-smmu.c

index e4693cee5f2cc287aead6992e5dc9c24836d412e..a984e08eb08467b699ed219494cb012620b1338f 100644 (file)
@@ -590,6 +590,9 @@ static irqreturn_t arm_smmu_context_fault(int irq, void *dev)
                ret = IRQ_HANDLED;
                resume = RESUME_RETRY;
        } else {
+               dev_err_ratelimited(smmu->dev,
+                   "Unhandled context fault: iova=0x%08lx, fsynr=0x%x, cb=%d\n",
+                   iova, fsynr, root_cfg->cbndx);
                ret = IRQ_NONE;
                resume = RESUME_TERMINATE;
        }
This page took 0.064049 seconds and 4 git commands to generate.