]> www.infradead.org Git - users/jedix/linux-maple.git/commit
iommu/vt-d: Remove iommu cap audit
authorLu Baolu <baolu.lu@linux.intel.com>
Tue, 7 Jan 2025 02:17:44 +0000 (10:17 +0800)
committerJoerg Roedel <jroedel@suse.de>
Tue, 7 Jan 2025 08:30:51 +0000 (09:30 +0100)
commitc2206299401b23bed9ef87f561d6f85f9351aa84
tree669c59cf68f01ff76f6b0cdc6e9a449c3f13de5e
parentde1dda7e0b60c52204c623f288021b2a22636126
iommu/vt-d: Remove iommu cap audit

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@linux.intel.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Link: https://lore.kernel.org/r/20241216071828.22962-1-baolu.lu@linux.intel.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/intel/Makefile
drivers/iommu/intel/cap_audit.c [deleted file]
drivers/iommu/intel/cap_audit.h [deleted file]
drivers/iommu/intel/iommu.c
drivers/iommu/intel/irq_remapping.c