Re: [PATCH] rwonce: handle KCSAN like KASAN in read_word_at_a_time()
From: Arnd Bergmann
Date: Tue Mar 25 2025 - 12:06:27 EST
On Tue, Mar 25, 2025, at 17:01, Jann Horn wrote:
> Fixes: dfd402a4c4ba ("kcsan: Add Kernel Concurrency Sanitizer infrastructure")
> Signed-off-by: Jann Horn <jannh@xxxxxxxxxx>
Acked-by: Arnd Bergmann <arnd@xxxxxxxx>
> ---
> This is a low-priority fix. I've never actually hit this issue with
> upstream KCSAN.
> (I only noticed it because I... err... hooked up KASAN to the KCSAN
> hooks. Long story.)
>
> I'm not sure if this should go through Arnd's tree (because it's in
> rwonce.h) or Marco's (because it's a KCSAN thing).
> Going through Marco's tree (after getting an Ack from Arnd) might
> work a little better for me, I may or may not have more KCSAN patches
> in the future.
I agree it's easier if Marco takes it through his tree, as this
is something I rarely touch.
If Marco has nothing else pending for 6.15, I can take it though.
Arnd