commit | 7314ca8699e1defd6f2883f203c0e828a4f51f9f | [log] [tgz] |
---|---|---|
author | Will Deacon <will@kernel.org> | Wed Aug 21 12:38:15 2019 +0100 |
committer | Will Deacon <will@kernel.org> | Wed Aug 21 17:58:41 2019 +0100 |
tree | 5d4d8295400c34caec78e010ff4909431991049a | |
parent | f75d8e33df91ee66fc12820d0da1454b76ebcff9 [diff] |
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: Will Deacon <will@kernel.org>