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. Please test at your convenience! Yours, Linus Walleij