aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/prog_tests/autoload.c
diff options
context:
space:
mode:
authorVasant Hegde <[email protected]>2023-09-21 09:21:46 +0000
committerJoerg Roedel <[email protected]>2023-09-25 10:39:06 +0000
commiteda8c2860ab6799620c6fbb8600d56e32f437a90 (patch)
tree8f971c67a1bb93658218ca750b1b8e55fafe054b /tools/testing/selftests/bpf/prog_tests/autoload.c
parentiommu/amd: Introduce iommu_dev_data.flags to track device capabilities (diff)
downloadkernel-eda8c2860ab6799620c6fbb8600d56e32f437a90.tar.gz
kernel-eda8c2860ab6799620c6fbb8600d56e32f437a90.zip
iommu/amd: Enable device ATS/PASID/PRI capabilities independently
Introduce helper functions to enable/disable device ATS/PASID/PRI capabilities independently along with the new pasid_enabled and pri_enabled variables in struct iommu_dev_data to keep track, which allows attach_device() and detach_device() to be simplified. Co-developed-by: Suravee Suthikulpanit <[email protected]> Signed-off-by: Suravee Suthikulpanit <[email protected]> Signed-off-by: Vasant Hegde <[email protected]> Reviewed-by: Jason Gunthorpe <[email protected]> Reviewed-by: Jerry Snitselaar <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions