summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/interrupts.py
diff options
context:
space:
mode:
authorArd Biesheuvel <ardb@kernel.org>2025-07-14 10:34:03 +0300
committerBorislav Petkov (AMD) <bp@alien8.de>2025-07-15 11:12:25 +0300
commit6b995d01683feae619aa3263d18a6aa19bface16 (patch)
tree05cd896e9c569dba4836e3f8fb71a9aa6a7d39b0 /scripts/gdb/linux/interrupts.py
parent347e9f5043c89695b01e66b3ed111755afcf1911 (diff)
downloadlinux-6b995d01683feae619aa3263d18a6aa19bface16.tar.xz
x86/sev: Work around broken noinstr on GCC
Forcibly disable KCSAN for the sev-nmi.c source file, which only contains functions annotated as 'noinstr' but is emitted with calls to KCSAN instrumentation nonetheless. E.g., vmlinux.o: error: objtool: __sev_es_nmi_complete+0x58: call to __kcsan_check_access() leaves .noinstr.text section make[2]: *** [/usr/local/google/home/ardb/linux/scripts/Makefile.vmlinux_o:72: vmlinux.o] Error 1 Fixes: a3cbbb4717e1 ("x86/boot: Move SEV startup code into startup/") Reported-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Ard Biesheuvel <ardb@kernel.org> Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Acked-by: Randy Dunlap <rdunlap@infradead.org> Tested-by: Randy Dunlap <rdunlap@infradead.org> Link: https://lore.kernel.org/20250714073402.4107091-2-ardb+git@google.com
Diffstat (limited to 'scripts/gdb/linux/interrupts.py')
0 files changed, 0 insertions, 0 deletions