projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
44a08de
)
iommu/arm-smmu: Print context fault information
author
Andreas Herrmann
<andreas.herrmann@calxeda.com>
Tue, 1 Oct 2013 12:39:08 +0000
(13:39 +0100)
committer
Will Deacon
<will.deacon@arm.com>
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 <andreas.herrmann@calxeda.com>
[will: fixed string formatting]
Signed-off-by: Will Deacon <will.deacon@arm.com>
drivers/iommu/arm-smmu.c
patch
|
blob
|
history
diff --git
a/drivers/iommu/arm-smmu.c
b/drivers/iommu/arm-smmu.c
index e4693cee5f2cc287aead6992e5dc9c24836d412e..a984e08eb08467b699ed219494cb012620b1338f 100644
(file)
--- 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)
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;
}