Re: [PATCH v2 2/2] ARM: entry: Do a dummy read from VMAP shadow

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Oct 17, 2024 at 2:55 PM Linus Walleij <linus.walleij@xxxxxxxxxx> wrote:
> On Thu, Oct 17, 2024 at 12:20 PM Clement LE GOFFIC
> <clement.legoffic@xxxxxxxxxxx> wrote:
>
> > > +     add     r2, ip, lsr #KASAN_SHADOW_SCALE_SHIFT
> (...)
> > While ARM TRM says that if Rd is the same of Rn then it can be omitted,
> > such syntax causes error on my build.
> > Looking around for such syntax in the kernel, this line should be :
> > add     r2, r2, ip, lsr #KASAN_SHADOW_SCALE_SHIFT
>
> Yeah clearly my compilers allowed it :/
>
> I changed it to the archaic version, will repost as v3.

I think I meant the canonical version.. anglo-saxon is
sometimes not my strong card.

Yours,
Linus Walleij





[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux