aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorYi Liu <[email protected]>2024-12-04 12:29:23 +0000
committerJoerg Roedel <[email protected]>2024-12-18 08:39:35 +0000
commit1fbf73425f5169e2d183b2ca67bfe2f1019d11c0 (patch)
tree9a1adab7c00d6547ecfdfdfc4990d99fbeab56e9 /net/switchdev/switchdev.c
parentiommu: Prevent pasid attach if no ops->remove_dev_pasid (diff)
downloadkernel-1fbf73425f5169e2d183b2ca67bfe2f1019d11c0.tar.gz
kernel-1fbf73425f5169e2d183b2ca67bfe2f1019d11c0.zip
iommu: Consolidate the ops->remove_dev_pasid usage into a helper
Add a wrapper for the ops->remove_dev_pasid, this consolidates the iommu_ops fetching and callback invoking. It is also a preparation for starting the transition from using remove_dev_pasid op to detach pasid to the way using blocked_domain to detach pasid. Reviewed-by: Vasant Hegde <[email protected]> Reviewed-by: Kevin Tian <[email protected]> Reviewed-by: Jason Gunthorpe <[email protected]> Reviewed-by: Lu Baolu <[email protected]> Signed-off-by: Yi Liu <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions