]> www.infradead.org Git - users/jedix/linux-maple.git/commit
iommu/vt-d: Remove scalable mode context entry setup from attach_dev
authorLu Baolu <baolu.lu@linux.intel.com>
Tue, 5 Mar 2024 12:21:20 +0000 (20:21 +0800)
committerJoerg Roedel <jroedel@suse.de>
Wed, 6 Mar 2024 16:35:59 +0000 (17:35 +0100)
commita016e53843ed8bb9cccb832768e2be9856b0a913
treebd111b8079e15c74e0b1884c5b8804efb07d4c14
parent301f1a80487fd2f51012533792583d4425e8b8c0
iommu/vt-d: Remove scalable mode context entry setup from attach_dev

The scalable mode context entry is now setup in the probe_device path,
eliminating the need to configure it in the attach_dev path. Removes the
redundant code from the attach_dev path to avoid dead code.

Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Link: https://lore.kernel.org/r/20240305013305.204605-5-baolu.lu@linux.intel.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/intel/iommu.c