[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <171136612274.10875.5644483747839154488.tip-bot2@tip-bot2>
Date: Mon, 25 Mar 2024 11:28:42 -0000
From: "tip-bot2 for Uros Bizjak" <tip-bot2@...utronix.de>
To: linux-tip-commits@...r.kernel.org
Cc: kernel test robot <oliver.sang@...el.com>, Uros Bizjak <ubizjak@...il.com>,
Ingo Molnar <mingo@...nel.org>,
Linus Torvalds <torvalds@...ux-foundation.org>, x86@...nel.org,
linux-kernel@...r.kernel.org
Subject: [tip: x86/urgent] x86/percpu: Disable named address spaces for KCSAN
The following commit has been merged into the x86/urgent branch of tip:
Commit-ID: b6540de9b5c867b4c8bc31225db181cc017d8cc7
Gitweb: https://git.kernel.org/tip/b6540de9b5c867b4c8bc31225db181cc017d8cc7
Author: Uros Bizjak <ubizjak@...il.com>
AuthorDate: Mon, 25 Mar 2024 12:01:09 +01:00
Committer: Ingo Molnar <mingo@...nel.org>
CommitterDate: Mon, 25 Mar 2024 12:17:01 +01:00
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@...el.com>
Signed-off-by: Uros Bizjak <ubizjak@...il.com>
Signed-off-by: Ingo Molnar <mingo@...nel.org>
Cc: Linus Torvalds <torvalds@...ux-foundation.org>
Link: https://lore.kernel.org/r/20240325110128.615933-1-ubizjak@gmail.com
---
arch/x86/Kconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 39886ba..4fff6ed 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -2439,6 +2439,8 @@ config USE_X86_SEG_SUPPORT
# with named address spaces - see GCC PR sanitizer/111736.
#
depends on !KASAN
+ # -fsanitize=thread (KCSAN) is also incompatible.
+ depends on !KCSAN
config CC_HAS_SLS
def_bool $(cc-option,-mharden-sls=all)
Powered by blists - more mailing lists