diff options
author | Andreas Herrmann <andreas.herrmann@calxeda.com> | 2013-10-01 13:39:08 +0100 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2013-10-09 14:14:40 +0100 |
commit | 2ef0f03120ea2ad64d0e70f032a58e6c13603cdc (patch) | |
tree | 3acd83ea4658626b2517b922f0be4df5a16df7aa /drivers/iommu | |
parent | 44a08de2aaf7f4cf86dfcf04bee32536e4a2b5b8 (diff) | |
download | linux-stable-2ef0f03120ea2ad64d0e70f032a58e6c13603cdc.tar.gz linux-stable-2ef0f03120ea2ad64d0e70f032a58e6c13603cdc.tar.bz2 linux-stable-2ef0f03120ea2ad64d0e70f032a58e6c13603cdc.zip |
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.c | 3 |
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) 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; } |