diff options
| author | Ard Biesheuvel <[email protected]> | 2025-07-14 07:34:03 +0000 |
|---|---|---|
| committer | Borislav Petkov (AMD) <[email protected]> | 2025-07-15 08:12:25 +0000 |
| commit | 6b995d01683feae619aa3263d18a6aa19bface16 (patch) | |
| tree | 05cd896e9c569dba4836e3f8fb71a9aa6a7d39b0 /fs/btrfs/tree-mod-log.c | |
| parent | Linux 6.16-rc6 (diff) | |
| download | kernel-6b995d01683feae619aa3263d18a6aa19bface16.tar.gz kernel-6b995d01683feae619aa3263d18a6aa19bface16.zip | |
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 <[email protected]>
Signed-off-by: Ard Biesheuvel <[email protected]>
Signed-off-by: Borislav Petkov (AMD) <[email protected]>
Acked-by: Randy Dunlap <[email protected]>
Tested-by: Randy Dunlap <[email protected]>
Link: https://lore.kernel.org/[email protected]
Diffstat (limited to 'fs/btrfs/tree-mod-log.c')
0 files changed, 0 insertions, 0 deletions
