x86/percpu: Re-enable named address spaces with KASAN for GCC 13.3+
authorUros Bizjak <ubizjak@gmail.com>
Wed, 20 Mar 2024 12:45:49 +0000 (13:45 +0100)
committerIngo Molnar <mingo@kernel.org>
Wed, 20 Mar 2024 13:22:56 +0000 (14:22 +0100)
commitf61f02d1ff788ae5ad485ef8edd88d9c93557994
tree0618bc674abad08b78030d42ee7a1814e42aa93f
parentce99b9c8daff3352a2ae0c72acf44e0663095fea
x86/percpu: Re-enable named address spaces with KASAN for GCC 13.3+

Commit:

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

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

GCC 13.3 has fixed this issue (GCC PR sanitizer/111736) so the
support for named address spaces can be re-enabled with KASAN
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: Andy Lutomirski <luto@kernel.org>
Cc: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Ard Biesheuvel <ardb@kernel.org>
Cc: Jakub Jelinek <jakub@redhat.com>
Cc: Nick Desaulniers <ndesaulniers@google.com>
Cc: Sean Christopherson <seanjc@google.com>
Link: https://lore.kernel.org/r/20240320124603.566923-1-ubizjak@gmail.com
arch/x86/Kconfig