aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/svm/nested.c
diff options
context:
space:
mode:
authorAshish Kalra <[email protected]>2024-01-26 04:11:19 +0000
committerBorislav Petkov (AMD) <[email protected]>2024-01-29 19:34:18 +0000
commitf366a8dac1b8fef28a470d4e67b9843ebb8e2a1f (patch)
treeaa462024ab41a438123bd2be9090c497ead9783c /arch/x86/kvm/svm/nested.c
parentcrypto: ccp: Handle legacy SEV commands when SNP is enabled (diff)
downloadkernel-f366a8dac1b8fef28a470d4e67b9843ebb8e2a1f.tar.gz
kernel-f366a8dac1b8fef28a470d4e67b9843ebb8e2a1f.zip
iommu/amd: Clean up RMP entries for IOMMU pages during SNP shutdown
Add a new IOMMU API interface amd_iommu_snp_disable() to transition IOMMU pages to Hypervisor state from Reclaim state after SNP_SHUTDOWN_EX command. Invoke this API from the CCP driver after SNP_SHUTDOWN_EX command. Signed-off-by: Ashish Kalra <[email protected]> Signed-off-by: Michael Roth <[email protected]> Signed-off-by: Borislav Petkov (AMD) <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'arch/x86/kvm/svm/nested.c')
0 files changed, 0 insertions, 0 deletions