x86/percpu: Re-enable named address spaces with sanitizers for GCC 13.3+
authorUros Bizjak <ubizjak@gmail.com>
Tue, 2 Apr 2024 12:19:08 +0000 (14:19 +0200)
committerIngo Molnar <mingo@kernel.org>
Wed, 3 Apr 2024 06:59:15 +0000 (08:59 +0200)
commit9ebe5500d4b25ee4cde04eec59a6764361a60709
tree0b866f4f8066affa1db2a1922466acf33659db38
parenta55c1fdad5f61b4bfe42319694b23671a758cb28
x86/percpu: Re-enable named address spaces with sanitizers for GCC 13.3+

Commit:

  b6540de9b5c8 ("x86/percpu: Disable named address spaces for KASAN")

... disabled support for named address spaces with KCSAN due to
the incompatibility issue between named AS and KCSAN.

GCC 13.3 has fixed this issue (GCC PR sanitizer/111736) so the
support for named address spaces can be re-enabled with sanitizers
for GCC compiler version >= 13.3.

[ Note that the patch considers GCC 14 to be fixed - if somebody is
  using snapshots of the GCC 14 before the fix, they should upgrade. ]

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/20240402121926.78477-1-ubizjak@gmail.com
arch/x86/Kconfig