diff options
| author | Suravee Suthikulpanit <[email protected]> | 2022-07-26 13:43:48 +0000 |
|---|---|---|
| committer | Joerg Roedel <[email protected]> | 2022-07-29 08:31:06 +0000 |
| commit | 432e5dfc7eb75681b412c2b0cafb8604475e0aba (patch) | |
| tree | 33d5b75312a3017803671a5a74afa352326c4d56 /drivers/fpga/microchip-spi.c | |
| parent | iommu/amd: Simplify and Consolidate Virtual APIC (AVIC) Enablement (diff) | |
| download | kernel-432e5dfc7eb75681b412c2b0cafb8604475e0aba.tar.gz kernel-432e5dfc7eb75681b412c2b0cafb8604475e0aba.zip | |
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 <[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 'drivers/fpga/microchip-spi.c')
0 files changed, 0 insertions, 0 deletions
