diff options
author | 2024-02-27 16:19:16 +0100 | |
---|---|---|
committer | 2024-03-04 18:12:37 +0100 | |
commit | 428080c9b19bfda37c478cd626dbd3851db1aff9 (patch) | |
tree | 699df109a9062adc27d062d89d79fff4c626a347 /arch/x86/mm | |
parent | x86/sme: Move early SME kernel encryption handling into .head.text (diff) | |
download | linux-428080c9b19bfda37c478cd626dbd3851db1aff9.tar.gz linux-428080c9b19bfda37c478cd626dbd3851db1aff9.tar.bz2 linux-428080c9b19bfda37c478cd626dbd3851db1aff9.zip |
x86/sev: Move early startup code into .head.text section
In preparation for implementing rigorous build time checks to enforce
that only code that can support it will be called from the early 1:1
mapping of memory, move SEV init code that is called in this manner to
the .head.text section.
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Tested-by: Tom Lendacky <thomas.lendacky@amd.com>
Link: https://lore.kernel.org/r/20240227151907.387873-19-ardb+git@google.com
Diffstat (limited to 'arch/x86/mm')
0 files changed, 0 insertions, 0 deletions