diff options
author | Lu Baolu <[email protected]> | 2024-09-02 10:27:19 +0800 |
---|---|---|
committer | Joerg Roedel <[email protected]> | 2024-09-02 18:14:59 +0200 |
commit | ccb02b27bb50c0f5a8f6fd745aecf4ac4beda73f (patch) | |
tree | 334be94af5ea6f895006e7d45811e9d9514fdbba /tools/testing/selftests/bpf/progs/test_autoload.c | |
parent | 3cf74230c139f208b7fb313ae0054386eee31a81 (diff) |
iommu/vt-d: Move PCI PASID enablement to probe path
Currently, PCI PASID is enabled alongside PCI ATS when an iommu domain is
attached to the device and disabled when the device transitions to block
translation mode. This approach is inappropriate as PCI PASID is a device
feature independent of the type of the attached domain.
Enable PCI PASID during the IOMMU device probe and disables it during the
release path.
Suggested-by: Yi Liu <[email protected]>
Signed-off-by: Lu Baolu <[email protected]>
Reviewed-by: Yi Liu <[email protected]>
Tested-by: Yi Liu <[email protected]>
Reviewed-by: Jason Gunthorpe <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions