diff options
author | Ashish Kalra <ashish.kalra@amd.com> | 2024-01-26 07:11:19 +0300 |
---|---|---|
committer | Borislav Petkov (AMD) <bp@alien8.de> | 2024-01-29 22:34:18 +0300 |
commit | f366a8dac1b8fef28a470d4e67b9843ebb8e2a1f (patch) | |
tree | aa462024ab41a438123bd2be9090c497ead9783c /mm | |
parent | a867ad6b340f47b7333b80a54b8507fc2cd80aa4 (diff) | |
download | linux-f366a8dac1b8fef28a470d4e67b9843ebb8e2a1f.tar.xz |
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 <ashish.kalra@amd.com>
Signed-off-by: Michael Roth <michael.roth@amd.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/r/20240126041126.1927228-20-michael.roth@amd.com
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions