diff options
author | Ard Biesheuvel <ardb@kernel.org> | 2025-08-28 12:22:05 +0200 |
---|---|---|
committer | Borislav Petkov (AMD) <bp@alien8.de> | 2025-08-31 12:40:55 +0200 |
commit | c15a4705d59caeb44f4c373cf04e89041309e568 (patch) | |
tree | 0531181fc38c6dcaebb8053a2872de62a93d7ae0 /scripts/gdb/linux/modules.py | |
parent | e2e29752357f32feb69a68e9e6e7361405b3f289 (diff) |
x86/sev: Use MSR protocol for remapping SVSM calling area
As the preceding code comment already indicates, remapping the SVSM
calling area occurs long before the GHCB page is configured, and so
calling svsm_perform_call_protocol() is guaranteed to result in a call
to svsm_perform_msr_protocol().
So just call the latter directly. This allows most of the GHCB based API
infrastructure to be moved out of the startup code in a subsequent
patch.
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Reviewed-by: Borislav Petkov (AMD) <bp@alien8.de>
Reviewed-by: Tom Lendacky <thomas.lendacky@amd.com>
Link: https://lore.kernel.org/20250828102202.1849035-26-ardb+git@google.com
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions