[PATCH v2 2/2] ARM: entry: Do a dummy read from VMAP shadow
Linus Walleij
linus.walleij at linaro.org
Thu Oct 17 05:55:35 PDT 2024
On Thu, Oct 17, 2024 at 12:20 PM Clement LE GOFFIC
<clement.legoffic at foss.st.com> 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
More information about the linux-arm-kernel
mailing list