diff --git a/drivers/iommu/arm-smmu.c b/drivers/iommu/arm-smmu.c index 6dac151ee330..e8f2a36fb5bc 100644 --- a/drivers/iommu/arm-smmu.c +++ b/drivers/iommu/arm-smmu.c @@ -1861,7 +1861,7 @@ static phys_addr_t arm_smmu_iova_to_phys_hard(struct iommu_domain *domain, } if (readl_poll_timeout_atomic(cb_base + ARM_SMMU_CB_ATSR, tmp, - !(tmp & ATSR_ACTIVE), 10, 5)) { + !(tmp & ATSR_ACTIVE), 5, 50)) { spin_unlock_irqrestore(&smmu_domain->lock, flags); dev_err(dev, "iova to phys timed out on 0x%pa. Falling back to software table walk.\n",