aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/samples
diff options
context:
space:
mode:
authorJoerg Roedel <jroedel@suse.de>2020-04-29 15:36:45 +0200
committerJoerg Roedel <jroedel@suse.de>2020-05-05 14:36:12 +0200
commita6a4c7e2c5b8b981d1c546a393ff21f2112468c3 (patch)
tree45234a90749cf3a5a380f95973a8aede87b5344e /samples
parentiommu/amd: Return -ENODEV in add_device when device is not handled by IOMMU (diff)
downloadwireguard-linux-a6a4c7e2c5b8b981d1c546a393ff21f2112468c3.tar.xz
wireguard-linux-a6a4c7e2c5b8b981d1c546a393ff21f2112468c3.zip
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 'samples')
0 files changed, 0 insertions, 0 deletions