Skip to content
Commit 7314ca86 authored by Will Deacon's avatar Will Deacon
Browse files

iommu/arm-smmu-v3: Don't issue CMD_SYNC for zero-length invalidations



Calling arm_smmu_tlb_inv_range() with a size of zero, perhaps due to
an empty 'iommu_iotlb_gather' structure, should be a NOP. Elide the
CMD_SYNC when there is no invalidation to be performed.

Signed-off-by: default avatarWill Deacon <will@kernel.org>
parent f75d8e33
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