RE: [PATCH 1/1] iommu/vt-d: Remove iommu cap audit

From: Tian, Kevin
Date: Tue Dec 17 2024 - 02:39:46 EST


> From: Lu Baolu <baolu.lu@xxxxxxxxxxxxxxx>
> Sent: Monday, December 16, 2024 3:18 PM
>
> 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>

Reviewed-by: Kevin Tian <kevin.tian@xxxxxxxxx>