diff options
author | Ard Biesheuvel <ardb@kernel.org> | 2025-08-28 12:22:11 +0200 |
---|---|---|
committer | Borislav Petkov (AMD) <bp@alien8.de> | 2025-09-03 17:58:22 +0200 |
commit | 00d25566761746ba53934ad3a89ea79923a38d01 (patch) | |
tree | 1a653b1b3c4954aa9f6812a7546906ad299516dd /scripts/gdb/linux/pgtable.py | |
parent | d5949ea50c5642ab7e3c4dd6020e23725c079b25 (diff) |
x86/sev: Pass SVSM calling area down to early page state change API
The early page state change API is mostly only used very early, when only the
boot time SVSM calling area is in use. However, this API is also called by the
kexec finishing code, which runs very late, and potentially from a different
CPU (which uses a different calling area).
To avoid pulling the per-CPU SVSM calling area pointers and related SEV state
into the startup code, refactor the page state change API so the SVSM calling
area virtual and physical addresses can be provided by the caller.
No functional change intended.
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/20250828102202.1849035-32-ardb+git@google.com
Diffstat (limited to 'scripts/gdb/linux/pgtable.py')
0 files changed, 0 insertions, 0 deletions