diff options
| author | 2026-03-24 10:12:57 -0600 | |
|---|---|---|
| committer | 2026-03-29 12:15:17 +0200 | |
| commit | b65546b14d273dde2a56c0313da36a6aeb5c3f32 (patch) | |
| tree | 721bedc686386ea4bdfebda59250b60ffc003f0b /include/linux/bcma/ssh:/git@git.zx2c4.com | |
| parent | x86/sev: Create snp_prepare() (diff) | |
x86/sev: Create snp_shutdown()
After SNP_SHUTDOWN, two things should be done:
1. clear the RMP table
2. disable MFDM to prevent the FW_WARN in k8_check_syscfg_dram_mod_en() in
the event of a kexec
Create and export to the CCP driver a function that does them.
Also change the MFDM helper to allow for disabling the bit, since the SNP x86
shutdown path needs to disable MFDM.
The comment for k8_check_syscfg_dram_mod_en() notes, the "BIOS" is supposed
clear it, or the kernel in the case of module unload and shutdown followed by
kexec.
Signed-off-by: Tycho Andersen (AMD) <tycho@kernel.org>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Reviewed-by: Tom Lendacky <thomas.lendacky@amd.com>
Link: https://patch.msgid.link/20260324161301.1353976-4-tycho@kernel.org
Diffstat (limited to 'include/linux/bcma/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
