]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
x86/percpu: Disable named address spaces for KCSAN
authorUros Bizjak <ubizjak@gmail.com>
Mon, 25 Mar 2024 11:01:09 +0000 (12:01 +0100)
committerIngo Molnar <mingo@kernel.org>
Mon, 25 Mar 2024 11:17:01 +0000 (12:17 +0100)
commitb6540de9b5c867b4c8bc31225db181cc017d8cc7
tree976fd9f263be31a7dbf532530d160398eef35a19
parentc567f2948f57bdc03ed03403ae0234085f376b7d
x86/percpu: Disable named address spaces for KCSAN

-fsanitize=thread (KCSAN) is at the moment incompatible
with named address spaces in a similar way as KASAN -
see GCC PR sanitizer/111736:

  https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111736

The patch disables named address spaces with KCSAN.

Reported-by: kernel test robot <oliver.sang@intel.com>
Signed-off-by: Uros Bizjak <ubizjak@gmail.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Link: https://lore.kernel.org/r/20240325110128.615933-1-ubizjak@gmail.com
arch/x86/Kconfig