[PATCH] iommu: arm-smmu: handle client iommu translation fault handlers
From: Stanimir Varbanov
Date: Wed Oct 10 2018 - 10:44:21 EST
Call iommu client translation fault handler(s).
Signed-off-by: Stanimir Varbanov <stanimir.varbanov@xxxxxxxxxx>
---
drivers/iommu/arm-smmu.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/iommu/arm-smmu.c b/drivers/iommu/arm-smmu.c
index 066f4c8daf4e..02a8aab0cc59 100644
--- a/drivers/iommu/arm-smmu.c
+++ b/drivers/iommu/arm-smmu.c
@@ -568,6 +568,9 @@ static irqreturn_t arm_smmu_context_fault(int irq, void *dev)
fsr, iova, fsynr, cfg->cbndx);
writel(fsr, cb_base + ARM_SMMU_CB_FSR);
+
+ report_iommu_fault(domain, smmu->dev, iova, 0);
+
return IRQ_HANDLED;
}
--
2.17.1