summaryrefslogtreecommitdiff
path: root/include/drm/drm_cache.h
diff options
context:
space:
mode:
authorSuravee Suthikulpanit <suravee.suthikulpanit@amd.com>2022-07-26 16:43:48 +0300
committerJoerg Roedel <jroedel@suse.de>2022-07-29 11:31:06 +0300
commit432e5dfc7eb75681b412c2b0cafb8604475e0aba (patch)
tree33d5b75312a3017803671a5a74afa352326c4d56 /include/drm/drm_cache.h
parentc5e1a1eb9279fdb28d47ca2a4493a4c53b7d6a0b (diff)
downloadlinux-432e5dfc7eb75681b412c2b0cafb8604475e0aba.tar.xz
iommu/amd: Add support for AVIC when SNP is enabled
In order to support AVIC on SNP-enabled system, The IOMMU driver needs to check EFR2[SNPAVICSup] and enables the support by setting SNPAVICEn bit in the IOMMU control register (MMIO offset 18h). For detail, please see section "SEV-SNP Guest Virtual APIC Support" of the AMD I/O Virtualization Technology (IOMMU) Specification. (https://www.amd.com/system/files/TechDocs/48882_IOMMU.pdf) Signed-off-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com> Reviewed-by: Jerry Snitselaar <jsnitsel@redhat.com> Link: https://lore.kernel.org/r/20220726134348.6438-3-suravee.suthikulpanit@amd.com Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'include/drm/drm_cache.h')
0 files changed, 0 insertions, 0 deletions