[PATCH] ARM: Do not select HAVE_RUST when KASAN is enabled

Nathan Chancellor nathan at kernel.org
Thu May 14 05:35:39 PDT 2026


On Mon, May 11, 2026 at 11:58:42AM +0200, Miguel Ojeda wrote:
> On Mon, May 11, 2026 at 11:09 AM Nathan Chancellor <nathan at kernel.org> wrote:
> >
> > Sure, I kept it simple for backporting purposes but I don't mind
> > breaking out the dependencies into their own symbol, even though it
> > feels like that could be done when support for the sanitizer is
> > re-enabled, which would truly mirror what you did. No strong opinion
> > though, so I will send a v2 after giving some time for other comments.
> 
> I think it is fine either way, especially for a fix, but up to the
> KASAN/arm maintainers of course.
> 
> Thanks for the patch!
> 
> If KASAN or arm maintainers want to pick it up:
> 
> Acked-by: Miguel Ojeda <ojeda at kernel.org>
> 
> Otherwise I can send it in a fixes PR I will likely need to send later
> this cycle, so please let me know!

FWIW, I think Russell has been away dealing with personal stuff
recently:

  https://lore.kernel.org/aeDSTIS9-TDSihbX@shell.armlinux.org.uk/

So I doubt he would fight you taking it, given that it is Rust related.
I am rather selfishly motivated to have it picked up and merged because
I have to remember to pass KCONFIG_ALLCONFIG=<(echo CONFIG_RUST=n) every
time that I have to test arm allmodconfig. But don't feel rushed to pick
it up if you want to wait for a formal agreement on the path forward.

-- 
Cheers,
Nathan



More information about the linux-arm-kernel mailing list