Re: [PATCH] powerpc/code-patching: Disable KASAN in __patch_instructions()

2024-02-18 Thread Christophe Leroy
Le 13/02/2024 à 05:36, Benjamin Gray a écrit : > The memset/memcpy functions are by default instrumented by KASAN, which > complains about user memory access when using a poking page in > userspace. > > Using a userspace address is expected though, so don't instrument with > KASAN for this funct

[PATCH] powerpc/code-patching: Disable KASAN in __patch_instructions()

2024-02-12 Thread Benjamin Gray
The memset/memcpy functions are by default instrumented by KASAN, which complains about user memory access when using a poking page in userspace. Using a userspace address is expected though, so don't instrument with KASAN for this function. Signed-off-by: Benjamin Gray --- I tried to replace