The capability audit code was introduced by commit <ad3d19029979>
"iommu/vt-d: Audit IOMMU Capabilities and add helper functions", aiming
to verify the consistency of capabilities across all IOMMUs for supported
features.
Nowadays, all the kAPIs of the iommu subsystem have evolved to be device
oriented, in preparation for supporting heterogeneous IOMMU architectures.
There is no longer a need to require capability consistence among IOMMUs
for any feature.
Remove the iommu cap audit code to make the driver align with the design
in the iommu core.
Signed-off-by: Lu Baolu<baolu.lu@xxxxxxxxxxxxxxx>
---
drivers/iommu/intel/Makefile | 2 +-
drivers/iommu/intel/cap_audit.c | 217 ----------------------------
drivers/iommu/intel/cap_audit.h | 131 -----------------
drivers/iommu/intel/iommu.c | 9 --
drivers/iommu/intel/irq_remapping.c | 8 -
5 files changed, 1 insertion(+), 366 deletions(-)
delete mode 100644 drivers/iommu/intel/cap_audit.c
delete mode 100644 drivers/iommu/intel/cap_audit.h