Re: [PATCH] arm/kasan:fix the arry size of kasan_early_shadow_pte

From: Ard Biesheuvel
Date: Tue Jan 12 2021 - 04:06:30 EST


On Tue, 12 Jan 2021 at 07:19, Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> wrote:
>
> On Sun, 10 Jan 2021 13:03:49 +0100 Linus Walleij <linus.walleij@xxxxxxxxxx> wrote:
>
> > On Sun, Jan 10, 2021 at 11:21 AM hailong <hailongliiu@xxxxxxxx> wrote:
> >
> > > >> +#ifndef PTE_HWTABLE_PTRS
> > > >> +#define PTE_HWTABLE_PTRS 0
> > > >> +#endif
> > > >
> > > >Can this even happen? We have either pgtable-2level.h or
> > > >pgtable-3level.h, both of which define PTE_HWTABLE_PTRS.
> > > >
> > >
> > > I guess not for arm. But I'm not sure for other ARCHs.
> >
> > Oh it's a generic include. Sorry for the confusion.
> >
> > All good then!
> >
>
> This code is 2+ years old. Do we think it warrants a cc:stable?
>

Not needed - ARM only gained Kasan support this cycle, and this patch
does not affect any other architectures