diff options
author | Joerg Roedel <jroedel@suse.de> | 2020-04-29 16:36:46 +0300 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2020-05-05 15:36:12 +0300 |
commit | 6e1aa2049154d7462968c968b20f985859308267 (patch) | |
tree | 307df724ba130b7613541c1fb8fc1035efb43980 /tools/perf/scripts/python | |
parent | a6a4c7e2c5b8b981d1c546a393ff21f2112468c3 (diff) | |
download | linux-6e1aa2049154d7462968c968b20f985859308267.tar.xz |
iommu: Move default domain allocation to iommu_probe_device()
Well, not really. The call to iommu_alloc_default_domain() in
iommu_group_get_for_dev() has to stay around as long as there are
IOMMU drivers using the add/remove_device() call-backs instead of
probe/release_device().
Those drivers expect that iommu_group_get_for_dev() returns the device
attached to a group and the group set up with a default domain (and
the device attached to the groups current domain).
But when all drivers are converted this compatability mess can be
removed.
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Tested-by: Marek Szyprowski <m.szyprowski@samsung.com>
Acked-by: Marek Szyprowski <m.szyprowski@samsung.com>
Link: https://lore.kernel.org/r/20200429133712.31431-9-joro@8bytes.org
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions