iommu/vt-d: Remove domain_update_iommu_snooping()
authorLu Baolu <baolu.lu@linux.intel.com>
Tue, 10 May 2022 02:34:06 +0000 (10:34 +0800)
committerJoerg Roedel <jroedel@suse.de>
Fri, 13 May 2022 13:14:56 +0000 (15:14 +0200)
commite80552267b63df211c805e8e8c534bfe5909b7e7
tree1f164023144211164eda6b26cabb0957a9d80484
parentfc0051cb95909ab56bd8c929f24d48c9870c3e3a
iommu/vt-d: Remove domain_update_iommu_snooping()

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@linux.intel.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Link: https://lore.kernel.org/r/20220508123525.1973626-1-baolu.lu@linux.intel.com
Link: https://lore.kernel.org/r/20220510023407.2759143-8-baolu.lu@linux.intel.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/intel/iommu.c