iommu/arm-smmu: Use correct address mask for CMD_TLBI_S2_IPA
authorWill Deacon <will.deacon@arm.com>
Fri, 18 Sep 2015 15:12:56 +0000 (16:12 +0100)
committerWill Deacon <will.deacon@arm.com>
Tue, 22 Sep 2015 16:36:05 +0000 (17:36 +0100)
commit1c27df1c0a82b938d8073a60243ff62eff8056b5
tree34f680370fd998555a4f6cdeca024697d6ceb174
parentf0c453dbcce7767cd868deb809ba68083c93954e
iommu/arm-smmu: Use correct address mask for CMD_TLBI_S2_IPA

Stage-2 TLBI by IPA takes a 48-bit address field, as opposed to the
64-bit field used by the VA-based invalidation commands.

This patch re-jigs the SMMUv3 command construction code so that the
address field is correctly masked.

Signed-off-by: Will Deacon <will.deacon@arm.com>
drivers/iommu/arm-smmu-v3.c