diff options
author | 2023-05-11 01:42:04 -0300 | |
---|---|---|
committer | 2023-05-23 08:15:53 +0200 | |
commit | d257344c661950986e6129407f7169f54e0bb4cf (patch) | |
tree | 2add8b09ec079106511c09306c1eb612b2ce88d2 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | iommu: Use __iommu_group_set_domain() in iommu_change_dev_def_domain() (diff) | |
download | wireguard-linux-d257344c661950986e6129407f7169f54e0bb4cf.tar.xz wireguard-linux-d257344c661950986e6129407f7169f54e0bb4cf.zip |
iommu: Replace __iommu_group_dma_first_attach() with set_domain
Reorganize the attach_deferred logic to set dev->iommu->attach_deferred
immediately during probe and then have __iommu_device_set_domain() check
it and not attach the default_domain.
This is to prepare for removing the group->domain set from
iommu_group_alloc_default_domain() by calling __iommu_group_set_domain()
to set the group->domain.
Reviewed-by: Lu Baolu <baolu.lu@linux.intel.com>
Tested-by: Heiko Stuebner <heiko@sntech.de>
Tested-by: Niklas Schnelle <schnelle@linux.ibm.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/6-v5-1b99ae392328+44574-iommu_err_unwind_jgg@nvidia.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions