Commit 55089781 authored by Rob Clark's avatar Rob Clark Committed by Will Deacon

iommu/arm-smmu-qcom-debug: Do not print for handled faults

Handled faults can be "normal", don't spam dmesg about them.
Signed-off-by: default avatarRob Clark <robdclark@chromium.org>
Reviewed-by: default avatarPranjal Shrivastava <praan@google.com>
Link: https://lore.kernel.org/r/20240701162025.375134-3-robdclark@gmail.comSigned-off-by: default avatarWill Deacon <will@kernel.org>
parent d0166022
...@@ -419,10 +419,6 @@ irqreturn_t qcom_smmu_context_fault(int irq, void *dev) ...@@ -419,10 +419,6 @@ irqreturn_t qcom_smmu_context_fault(int irq, void *dev)
tmp = report_iommu_fault(&smmu_domain->domain, NULL, iova, tmp = report_iommu_fault(&smmu_domain->domain, NULL, iova,
fsynr & ARM_SMMU_CB_FSYNR0_WNR ? IOMMU_FAULT_WRITE : IOMMU_FAULT_READ); fsynr & ARM_SMMU_CB_FSYNR0_WNR ? IOMMU_FAULT_WRITE : IOMMU_FAULT_READ);
if (!tmp || tmp == -EBUSY) { if (!tmp || tmp == -EBUSY) {
dev_dbg(smmu->dev,
"Context fault handled by client: iova=0x%08lx, fsr=0x%x, fsynr=0x%x, cb=%d\n",
iova, fsr, fsynr, idx);
dev_dbg(smmu->dev, "soft iova-to-phys=%pa\n", &phys_soft);
ret = IRQ_HANDLED; ret = IRQ_HANDLED;
resume = ARM_SMMU_RESUME_TERMINATE; resume = ARM_SMMU_RESUME_TERMINATE;
} else { } else {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment