Re: [PATCH 4/5] iommu/vt-d: Remove domain_update_iommu_snooping()

From: Jason Gunthorpe
Date: Mon May 02 2022 - 09:19:09 EST


On Sun, May 01, 2022 at 07:24:33PM +0800, Lu Baolu wrote:
> The IOMMU force snooping capability is not required to be consistent
> among all the IOMMUs anymore. Remove force snooping capability check
> in the IOMMU hot-add path and domain_update_iommu_snooping() becomes
> a dead code now.
>
> Signed-off-by: Lu Baolu <baolu.lu@xxxxxxxxxxxxxxx>
> ---
> drivers/iommu/intel/iommu.c | 34 +---------------------------------
> 1 file changed, 1 insertion(+), 33 deletions(-)

Reviewed-by: Jason Gunthorpe <jgg@xxxxxxxxxx>

Jason