iommu/arm-smmu: adjust readl_poll_timeout_atomic time
The meaning of the arguments to readl_poll_timeout_atomic have changed since the arm-smmu code was written that uses it. Sync up to the new API semantics. Change-Id: Ibdcd53fb61303e1261f7f6378b3395700ce38b6e Signed-off-by: Mitchel Humpherys <mitchelh@codeaurora.org>
This commit is contained in:
parent
630d965c36
commit
57c6531afc
1 changed files with 1 additions and 1 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Reference in a new issue