aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_autoload.c
diff options
context:
space:
mode:
authorYi Liu <[email protected]>2024-09-08 04:42:55 -0700
committerJason Gunthorpe <[email protected]>2024-09-11 20:14:07 -0300
commitd9dfb5e6225a0a99e08dc2a538b0c30a5a9a460c (patch)
tree2e0e332c5d74a34df9233993e19b81669e342224 /tools/testing/selftests/bpf/progs/test_autoload.c
parent8f6887349b2f829a4121c518aeb064fc922714e4 (diff)
iommufd: Avoid duplicated __iommu_group_set_core_domain() call
For the fault-capable hwpts, the iommufd_hwpt_detach_device() calls both iommufd_fault_domain_detach_dev() and iommu_detach_group(). This would have duplicated __iommu_group_set_core_domain() call since both functions call it in the end. This looks no harm as the __iommu_group_set_core_domain() returns if the new domain equals to the existing one. But it makes sense to avoid such duplicated calls in caller side. Link: https://patch.msgid.link/r/[email protected] Signed-off-by: Yi Liu <[email protected]> Reviewed-by: Lu Baolu <[email protected]> Reviewed-by: Kevin Tian <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions