summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/gecko.py
diff options
context:
space:
mode:
authorArd Biesheuvel <ardb@kernel.org>2025-01-07 16:18:27 +0100
committerBorislav Petkov (AMD) <bp@alien8.de>2025-01-14 19:10:32 +0100
commitcf4ca80650908628bf1c0c29e3fd236b1915d789 (patch)
tree0049a6e2821abd6950126e2ffca34888b9cb3bba /tools/perf/scripts/python/gecko.py
parent7c61a3d8f7a8cf0f0cbdc8459dd86782ba7285f1 (diff)
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/202501072244.zZrx9864-lkp@intel.com/ Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Ard Biesheuvel <ardb@kernel.org> Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Acked-by: Tom Lendacky <thomas.lendacky@amd.com> Link: https://lore.kernel.org/r/20250107151826.820147-2-ardb+git@google.com
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions