aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iommu
diff options
context:
space:
mode:
authorAndreas Herrmann <andreas.herrmann@calxeda.com>2013-10-01 08:39:08 -0400
committerWill Deacon <will.deacon@arm.com>2013-10-09 09:14:40 -0400
commit2ef0f03120ea2ad64d0e70f032a58e6c13603cdc (patch)
tree3acd83ea4658626b2517b922f0be4df5a16df7aa /drivers/iommu
parent44a08de2aaf7f4cf86dfcf04bee32536e4a2b5b8 (diff)
iommu/arm-smmu: Print context fault information
Print context fault information when the fault was not handled by report_iommu_fault. Signed-off-by: Andreas Herrmann <andreas.herrmann@calxeda.com> [will: fixed string formatting] Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'drivers/iommu')
-rw-r--r--drivers/iommu/arm-smmu.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/iommu/arm-smmu.c b/drivers/iommu/arm-smmu.c
index e4693cee5f2c..a984e08eb084 100644
--- a/drivers/iommu/arm-smmu.c
+++ b/drivers/iommu/arm-smmu.c
@@ -590,6 +590,9 @@ static irqreturn_t arm_smmu_context_fault(int irq, void *dev)
590 ret = IRQ_HANDLED; 590 ret = IRQ_HANDLED;
591 resume = RESUME_RETRY; 591 resume = RESUME_RETRY;
592 } else { 592 } else {
593 dev_err_ratelimited(smmu->dev,
594 "Unhandled context fault: iova=0x%08lx, fsynr=0x%x, cb=%d\n",
595 iova, fsynr, root_cfg->cbndx);
593 ret = IRQ_NONE; 596 ret = IRQ_NONE;
594 resume = RESUME_TERMINATE; 597 resume = RESUME_TERMINATE;
595 } 598 }