Skip to content

Commit a91bcc2

Browse files
committed
Revert "iommu/arm-smmu-v3: Disable detection of ATS and PRI"
This reverts commit b5e8619. Now that ATC invalidation is performed in the correct places and without incurring a locking overhead for non-ATS systems, we can re-enable the corresponding SMMU feature detection. Signed-off-by: Will Deacon <[email protected]>
1 parent cdb8a3c commit a91bcc2

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/iommu/arm-smmu-v3.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3336,13 +3336,11 @@ static int arm_smmu_device_hw_probe(struct arm_smmu_device *smmu)
33363336
}
33373337

33383338
/* Boolean feature flags */
3339-
#if 0 /* ATS invalidation is slow and broken */
33403339
if (IS_ENABLED(CONFIG_PCI_PRI) && reg & IDR0_PRI)
33413340
smmu->features |= ARM_SMMU_FEAT_PRI;
33423341

33433342
if (IS_ENABLED(CONFIG_PCI_ATS) && reg & IDR0_ATS)
33443343
smmu->features |= ARM_SMMU_FEAT_ATS;
3345-
#endif
33463344

33473345
if (reg & IDR0_SEV)
33483346
smmu->features |= ARM_SMMU_FEAT_SEV;

0 commit comments

Comments
 (0)