diff options
author | Joerg Roedel <[email protected]> | 2020-04-29 15:36:46 +0200 |
---|---|---|
committer | Joerg Roedel <[email protected]> | 2020-05-05 14:36:12 +0200 |
commit | 6e1aa2049154d7462968c968b20f985859308267 (patch) | |
tree | 307df724ba130b7613541c1fb8fc1035efb43980 /tools/perf/scripts/python/arm-cs-trace-disasm.py | |
parent | a6a4c7e2c5b8b981d1c546a393ff21f2112468c3 (diff) |
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 <[email protected]>
Tested-by: Marek Szyprowski <[email protected]>
Acked-by: Marek Szyprowski <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/arm-cs-trace-disasm.py')
0 files changed, 0 insertions, 0 deletions