Re: KCSAN Support on ARM64 Kernel
From: Marco Elver
Date: Mon Oct 14 2019 - 05:32:11 EST
Hi Sachin,
My plan was to send patches upstream within the month.
Thanks,
-- Marco
On Mon, 14 Oct 2019 at 11:30, <sgrover@xxxxxxxxxxxxxx> wrote:
>
> Hi Marco,
>
> When can we expect upstream of KCSAN on kernel mainline. Any timeline?
>
> Regards,
> Sachin Grover
>
> -----Original Message-----
> From: Marco Elver <elver@xxxxxxxxxx>
> Sent: Monday, 14 October, 2019 2:40 PM
> To: Dmitry Vyukov <dvyukov@xxxxxxxxxx>
> Cc: sgrover@xxxxxxxxxxxxxx; kasan-dev <kasan-dev@xxxxxxxxxxxxxxxx>; LKML <linux-kernel@xxxxxxxxxxxxxxx>; Paul E. McKenney <paulmck@xxxxxxxxxxxxx>; Will Deacon <willdeacon@xxxxxxxxxx>; Andrea Parri <parri.andrea@xxxxxxxxx>; Alan Stern <stern@xxxxxxxxxxxxxxxxxxx>; Mark Rutland <mark.rutland@xxxxxxx>
> Subject: Re: KCSAN Support on ARM64 Kernel
>
> On Mon, 14 Oct 2019 at 10:40, Dmitry Vyukov <dvyukov@xxxxxxxxxx> wrote:
> >
> > On Mon, Oct 14, 2019 at 7:11 AM <sgrover@xxxxxxxxxxxxxx> wrote:
> > >
> > > Hi Dmitry,
> > >
> > > I am from Qualcomm Linux Security Team, just going through KCSAN and found that there was a thread for arm64 support (https://lkml.org/lkml/2019/9/20/804).
> > >
> > > Can you please tell me if KCSAN is supported on ARM64 now? Can I just rebase the KCSAN branch on top of our letâs say android mainline kernel, enable the config and run syzkaller on that for finding race conditions?
> > >
> > > It would be very helpful if you reply, we want to setup this for finding issues on our proprietary modules that are not part of kernel mainline.
> > >
> > > Regards,
> > >
> > > Sachin Grover
> >
> > +more people re KCSAN on ARM64
>
> KCSAN does not yet have ARM64 support. Once it's upstream, I would expect that Mark's patches (from repo linked in LKML thread) will just cleanly apply to enable ARM64 support.
>
> Thanks,
> -- Marco
>