diff options
author | Eric Auger <eric.auger@redhat.com> | 2017-01-19 20:58:03 +0000 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2017-01-23 15:00:47 +0000 |
commit | 5018c8d5ef0c172592eb98cf10e253d47b544ba8 (patch) | |
tree | c963fb697a74208ce7566e8bef1565b74e217094 /drivers/iommu/arm-smmu-v3.c | |
parent | 9d72f87babf144ff3ca5d85655c710de05110038 (diff) | |
download | op-kernel-dev-5018c8d5ef0c172592eb98cf10e253d47b544ba8.zip op-kernel-dev-5018c8d5ef0c172592eb98cf10e253d47b544ba8.tar.gz |
iommu/arm-smmu: Do not advertise IOMMU_CAP_INTR_REMAP anymore
IOMMU_CAP_INTR_REMAP has been advertised in arm-smmu(-v3) although
on ARM this property is not attached to the IOMMU but rather is
implemented in the MSI controller (GICv3 ITS).
Now vfio_iommu_type1 checks MSI remapping capability at MSI controller
level, let's correct this.
Signed-off-by: Eric Auger <eric.auger@redhat.com>
Acked-by: Will Deacon <will.deacon@arm.com>
Reviewed-by: Tomasz Nowicki <tomasz.nowicki@caviumnetworks.com>
Tested-by: Tomasz Nowicki <tomasz.nowicki@caviumnetworks.com>
Tested-by: Bharat Bhushan <bharat.bhushan@nxp.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'drivers/iommu/arm-smmu-v3.c')
-rw-r--r-- | drivers/iommu/arm-smmu-v3.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/iommu/arm-smmu-v3.c b/drivers/iommu/arm-smmu-v3.c index 6c4111c..d9cf6cb 100644 --- a/drivers/iommu/arm-smmu-v3.c +++ b/drivers/iommu/arm-smmu-v3.c @@ -1375,8 +1375,6 @@ static bool arm_smmu_capable(enum iommu_cap cap) switch (cap) { case IOMMU_CAP_CACHE_COHERENCY: return true; - case IOMMU_CAP_INTR_REMAP: - return true; /* MSIs are just memory writes */ case IOMMU_CAP_NOEXEC: return true; default: |