diff options
author | Suravee Suthikulpanit <suravee.suthikulpanit@amd.com> | 2022-07-13 17:56:51 -0500 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2022-07-15 10:44:03 +0200 |
commit | 30315e71b42603307989d813a620781ff8238f3c (patch) | |
tree | 5986f06cddd5952e4f7c495dbe111361e07ca93f /lib/mpi/mpi-bit.c | |
parent | 8388f7df936bae004026bd718466127f27bbc398 (diff) |
iommu/amd: Do not support IOMMUv2 APIs when SNP is enabled
The IOMMUv2 APIs (for supporting shared virtual memory with PASID)
configures the domain with IOMMU v2 page table, and sets DTE[Mode]=0.
This configuration cannot be supported on SNP-enabled system.
Signed-off-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Link: https://lore.kernel.org/r/20220713225651.20758-10-suravee.suthikulpanit@amd.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions