[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <176126007537.2563454.16050415911756189258.b4-ty@kernel.org>
Date: Thu, 23 Oct 2025 23:54:35 +0100
From: Nathan Chancellor <nathan@...nel.org>
To: Alexander Potapenko <glider@...gle.com>, Marco Elver <elver@...gle.com>,
Dmitry Vyukov <dvyukov@...gle.com>, Nathan Chancellor <nathan@...nel.org>
Cc: Nicolas Schier <nsc@...nel.org>, Kees Cook <kees@...nel.org>,
kasan-dev@...glegroups.com, linux-kernel@...r.kernel.org,
llvm@...ts.linux.dev, kernel test robot <lkp@...el.com>
Subject: Re: [PATCH] KMSAN: Restore dynamic check for
'-fsanitize=kernel-memory'
On Thu, 23 Oct 2025 21:01:29 +0200, Nathan Chancellor wrote:
> Commit 5ff8c11775c7 ("KMSAN: Remove tautological checks") changed
> CONFIG_HAVE_KMSAN_COMPILER from a dynamic check for
> '-fsanitize=kernel-memory' to just being true for CONFIG_CC_IS_CLANG.
> This missed the fact that not all architectures supported
> '-fsanitize=kernel-memory' at the same time. For example, SystemZ / s390
> gained support for KMSAN in clang-18 [1], so builds with clang-15
> through clang-17 can select KMSAN but they error with:
>
> [...]
Applied, thanks!
[1/1] KMSAN: Restore dynamic check for '-fsanitize=kernel-memory'
https://git.kernel.org/kbuild/c/a16758f0142ab
Best regards,
--
Nathan Chancellor <nathan@...nel.org>
Powered by blists - more mailing lists