diff options
author | Joerg Roedel <jroedel@suse.de> | 2020-04-29 16:36:45 +0300 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2020-05-05 15:36:12 +0300 |
commit | a6a4c7e2c5b8b981d1c546a393ff21f2112468c3 (patch) | |
tree | 45234a90749cf3a5a380f95973a8aede87b5344e /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 57bd2c24ba1673bd47828f6ac5eaaa6292a03582 (diff) | |
download | linux-a6a4c7e2c5b8b981d1c546a393ff21f2112468c3.tar.xz |
iommu: Add probe_device() and release_device() call-backs
Add call-backs to 'struct iommu_ops' as an alternative to the
add_device() and remove_device() call-backs, which will be removed when
all drivers are converted.
The new call-backs will not setup IOMMU groups and domains anymore,
so also add a probe_finalize() call-back where the IOMMU driver can do
per-device setup work which require the device to be set up with a
group and a domain.
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-8-joro@8bytes.org
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions