summaryrefslogtreecommitdiff
path: root/arch/x86/purgatory/setup-x86_64.S
diff options
context:
space:
mode:
authorBorislav Petkov (AMD) <bp@alien8.de>2024-11-06 18:21:58 +0100
committerBorislav Petkov (AMD) <bp@alien8.de>2024-11-07 12:10:01 +0100
commit8bca85cc1eb72e21a3544ab32e546a819d8674ca (patch)
tree74ca777aa80c78c9f95fd4469897d777f8bd9daa /arch/x86/purgatory/setup-x86_64.S
parent3074152e56c9b0f9b9c67edfbc08b371db050b6d (diff)
x86/sev: Cleanup vc_handle_msr()
Carve out the MSR_SVSM_CAA into a helper with the suggestion that upcoming future users should do the same. Rename that silly exit_info_1 into what it actually means in this function - whether the MSR access is a read or a write. No functional changes. Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Reviewed-by: Tom Lendacky <thomas.lendacky@amd.com> Reviewed-by: Pankaj Gupta <pankaj.gupta@amd.com> Link: https://lore.kernel.org/r/20241106172647.GAZyum1zngPDwyD2IJ@fat_crate.local
Diffstat (limited to 'arch/x86/purgatory/setup-x86_64.S')
0 files changed, 0 insertions, 0 deletions