diff options
author | Joerg Roedel <[email protected]> | 2020-04-29 15:36:45 +0200 |
---|---|---|
committer | Joerg Roedel <[email protected]> | 2020-05-05 14:36:12 +0200 |
commit | a6a4c7e2c5b8b981d1c546a393ff21f2112468c3 (patch) | |
tree | 45234a90749cf3a5a380f95973a8aede87b5344e /lib/mpi/mpi-mul.c | |
parent | 57bd2c24ba1673bd47828f6ac5eaaa6292a03582 (diff) |
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 <[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 'lib/mpi/mpi-mul.c')
0 files changed, 0 insertions, 0 deletions