iommu/vt-d: Use dev_iommu_priv_get/set()
authorJoerg Roedel <jroedel@suse.de>
Thu, 25 Jun 2020 13:08:25 +0000 (15:08 +0200)
committerJoerg Roedel <jroedel@suse.de>
Tue, 30 Jun 2020 09:59:48 +0000 (11:59 +0200)
commit01b9d4e21148c89fdbab3d6b3705f9791314b631
tree215c743fd4cafc3e1eadef31342a4f7061eb54a3
parent0f45b04da18305726c18d4b6169c4083f301d91c
iommu/vt-d: Use dev_iommu_priv_get/set()

Remove the use of dev->archdata.iommu and use the private per-device
pointer provided by IOMMU core code instead.

Signed-off-by: Joerg Roedel <jroedel@suse.de>
Reviewed-by: Jerry Snitselaar <jsnitsel@redhat.com>
Reviewed-by: Lu Baolu <baolu.lu@linux.intel.com>
Link: https://lore.kernel.org/r/20200625130836.1916-3-joro@8bytes.org
drivers/gpu/drm/i915/selftests/mock_gem_device.c
drivers/iommu/intel/iommu.c