Merge "iommu/arm-smmu: Mask TLBI address correctly"

This commit is contained in:
qctecmdr 2019-09-24 11:38:33 -07:00 • committed by Gerrit - the friendly Code Review server
commit 04df73fc45

View file

@ -1186,7 +1186,7 @@ static void arm_smmu_tlb_inv_range_nosync(unsigned long iova, size_t size,
reg += leaf ? ARM_SMMU_CB_S1_TLBIVAL : ARM_SMMU_CB_S1_TLBIVA;
if (cfg->fmt != ARM_SMMU_CTX_FMT_AARCH64) {
iova &= ~12UL;
iova = (iova >> 12) << 12;
iova |= cfg->asid;
do {
writel_relaxed(iova, reg);