Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5018c8d5 authored by Eric Auger's avatar Eric Auger Committed by Will Deacon
Browse files

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: default avatarEric Auger <eric.auger@redhat.com>
Acked-by: default avatarWill Deacon <will.deacon@arm.com>
Reviewed-by: default avatarTomasz Nowicki <tomasz.nowicki@caviumnetworks.com>
Tested-by: default avatarTomasz Nowicki <tomasz.nowicki@caviumnetworks.com>
Tested-by: default avatarBharat Bhushan <bharat.bhushan@nxp.com>
Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
parent 9d72f87b
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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:
+0 −2
Original line number Diff line number Diff line
@@ -1374,8 +1374,6 @@ static bool arm_smmu_capable(enum iommu_cap cap)
		 * requests.
		 */
		return true;
	case IOMMU_CAP_INTR_REMAP:
		return true; /* MSIs are just memory writes */
	case IOMMU_CAP_NOEXEC:
		return true;
	default: