Skip to content

Commit 5018c8d

Browse files
eaugerwildea01
authored andcommitted
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 <[email protected]> Acked-by: Will Deacon <[email protected]> Reviewed-by: Tomasz Nowicki <[email protected]> Tested-by: Tomasz Nowicki <[email protected]> Tested-by: Bharat Bhushan <[email protected]> Signed-off-by: Will Deacon <[email protected]>
1 parent 9d72f87 commit 5018c8d

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

drivers/iommu/arm-smmu-v3.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1375,8 +1375,6 @@ static bool arm_smmu_capable(enum iommu_cap cap)
13751375
switch (cap) {
13761376
case IOMMU_CAP_CACHE_COHERENCY:
13771377
return true;
1378-
case IOMMU_CAP_INTR_REMAP:
1379-
return true; /* MSIs are just memory writes */
13801378
case IOMMU_CAP_NOEXEC:
13811379
return true;
13821380
default:

drivers/iommu/arm-smmu.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1374,8 +1374,6 @@ static bool arm_smmu_capable(enum iommu_cap cap)
13741374
* requests.
13751375
*/
13761376
return true;
1377-
case IOMMU_CAP_INTR_REMAP:
1378-
return true; /* MSIs are just memory writes */
13791377
case IOMMU_CAP_NOEXEC:
13801378
return true;
13811379
default:

0 commit comments

Comments
 (0)