aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorSuravee Suthikulpanit <[email protected]>2022-08-25 06:39:35 +0000
committerJoerg Roedel <[email protected]>2022-09-07 16:12:34 +0200
commitbe1af02b277417be735d8513195e5ba1bc3c3a3d (patch)
treedb5c40d13bc8297329d8dd6d16f8bd3fffb5ad75 /lib/mpi/mpi-sub-ui.c
parent43312b710b11a085ec81eb7d1878f8858045ae2b (diff)
iommu/amd: Update sanity check when enable PRI/ATS for IOMMU v1 table
Currently, PPR/ATS can be enabled only if the domain is type identity mapping. However, when allowing the IOMMU v2 page table to be used for DMA-API, the check is no longer valid. Update the sanity check to only apply for when using AMD_IOMMU_V1 page table mode. Signed-off-by: Suravee Suthikulpanit <[email protected]> Signed-off-by: Vasant Hegde <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions