]> git.baikalelectronics.ru Git - kernel.git/commit
iommu/vt-d: Remove finding domain in dmar_insert_one_dev_info()
authorLu Baolu <baolu.lu@linux.intel.com>
Tue, 1 Mar 2022 02:01:49 +0000 (10:01 +0800)
committerJoerg Roedel <jroedel@suse.de>
Fri, 4 Mar 2022 15:46:30 +0000 (16:46 +0100)
commitc4556669dc8591e865c99fd8d8c56cbda9b31511
treecc357c1d6fa3a50abd3981c33d4ea037502282ab
parentb6cdefc832b7a9c5884bca2614ebb5fa8f9c60c0
iommu/vt-d: Remove finding domain in dmar_insert_one_dev_info()

The Intel IOMMU driver has already converted to use default domain
framework in iommu core. There's no need to find a domain for the
device in the domain attaching path. Cleanup that code.

Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/20220214025704.3184654-1-baolu.lu@linux.intel.com
Link: https://lore.kernel.org/r/20220301020159.633356-3-baolu.lu@linux.intel.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/intel/iommu.c