diff options
| author | Ard Biesheuvel <[email protected]> | 2025-01-07 15:18:27 +0000 |
|---|---|---|
| committer | Borislav Petkov (AMD) <[email protected]> | 2025-01-14 18:10:32 +0000 |
| commit | cf4ca80650908628bf1c0c29e3fd236b1915d789 (patch) | |
| tree | 0049a6e2821abd6950126e2ffca34888b9cb3bba /drivers/platform/x86/intel/pmt/class.c | |
| parent | x86/kexec: Use typedef for relocate_kernel_fn function prototype (diff) | |
| download | kernel-cf4ca80650908628bf1c0c29e3fd236b1915d789.tar.gz kernel-cf4ca80650908628bf1c0c29e3fd236b1915d789.zip | |
x86/sev: Disable ftrace branch profiling in SEV startup code
Ftrace branch profiling inserts absolute references to its metadata at
call sites, and this implies that this kind of instrumentation cannot be
used while executing from the 1:1 mapping of memory.
Therefore, disable ftrace branch profiling in the SEV startup routines,
by disabling it for the entire SEV core source file.
Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
Reported-by: kernel test robot <[email protected]>
Signed-off-by: Ard Biesheuvel <[email protected]>
Signed-off-by: Borislav Petkov (AMD) <[email protected]>
Acked-by: Tom Lendacky <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/platform/x86/intel/pmt/class.c')
0 files changed, 0 insertions, 0 deletions
