diff options
| author | Suravee Suthikulpanit <[email protected]> | 2023-09-21 09:21:44 +0000 |
|---|---|---|
| committer | Joerg Roedel <[email protected]> | 2023-09-25 10:39:05 +0000 |
| commit | 739eb25514c90aa8ea053ed4d2b971f531e63ded (patch) | |
| tree | a3c4714f9728d71af64032b9515104a4c9379e1f /tools/testing/selftests/bpf/prog_tests/autoload.c | |
| parent | iommu/amd: Rename ats related variables (diff) | |
| download | kernel-739eb25514c90aa8ea053ed4d2b971f531e63ded.tar.gz kernel-739eb25514c90aa8ea053ed4d2b971f531e63ded.zip | |
iommu/amd: Introduce iommu_dev_data.ppr
For AMD IOMMU, the PPR feature is needed to support IO page fault (IOPF).
PPR is enabled per PCI end-point device, and is configured by the PPR bit
in the IOMMU device table entry (i.e DTE[PPR]).
Introducing struct iommu_dev_data.ppr track PPR setting for each device.
Also iommu_dev_data.ppr will be set only when IOMMU supports PPR. Hence
remove redundant feature support check in set_dte_entry().
Signed-off-by: Suravee Suthikulpanit <[email protected]>
Co-developed-by: Vasant Hegde <[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
