aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorLu Baolu <[email protected]>2023-01-10 10:54:04 +0800
committerJoerg Roedel <[email protected]>2023-01-13 16:39:14 +0100
commit1b932ceddd19de1cdf2a86f1fca77c37dad758cc (patch)
tree386e13de2bfa6c04917c0261e6331d9c5aa0f741 /tools/perf/scripts/python
parentb7bfaa761d760e72a969d116517eaa12e404c262 (diff)
iommu: Remove detach_dev callbacks
The iommu core calls the driver's detach_dev domain op callback only when a device is finished assigning to user space and iommu_group_release_dma_owner() is called to return the device to the kernel, where iommu core wants to set the default domain to the device but the driver didn't provide one. In other words, if any iommu driver provides default domain support, the .detach_dev callback will never be called. This removes the detach_dev callbacks in those IOMMU drivers that support default domain. Reviewed-by: Jason Gunthorpe <[email protected]> Reviewed-by: Sven Peter <[email protected]> # apple-dart Acked-by: Chunyan Zhang <[email protected]> # sprd Reviewed-by: Vasant Hegde <[email protected]> # amd Signed-off-by: Lu Baolu <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions