Re: [PATCH] kasan: Fix Oops due to missing calls to kasan_arch_is_ready()

2023-01-26 Thread Michael Ellerman
Andrew Morton writes: > On Thu, 26 Jan 2023 08:04:47 +0100 Christophe Leroy > wrote: > >> On powerpc64, you can build a kernel with KASAN as soon as you build it >> with RADIX MMU support. However if the CPU doesn't have RADIX MMU, >> KASAN isn't enabled at init and the following Oops is encount

Re: [PATCH] kasan: Fix Oops due to missing calls to kasan_arch_is_ready()

2023-01-26 Thread Andrey Konovalov
On Thu, Jan 26, 2023 at 8:08 AM Christophe Leroy wrote: > > On powerpc64, you can build a kernel with KASAN as soon as you build it > with RADIX MMU support. However if the CPU doesn't have RADIX MMU, > KASAN isn't enabled at init and the following Oops is encountered. > > [0.00][T0]

Re: [PATCH] kasan: Fix Oops due to missing calls to kasan_arch_is_ready()

2023-01-26 Thread Andrew Morton
On Thu, 26 Jan 2023 08:04:47 +0100 Christophe Leroy wrote: > On powerpc64, you can build a kernel with KASAN as soon as you build it > with RADIX MMU support. However if the CPU doesn't have RADIX MMU, > KASAN isn't enabled at init and the following Oops is encountered. Should we backport to -s

[PATCH] kasan: Fix Oops due to missing calls to kasan_arch_is_ready()

2023-01-25 Thread Christophe Leroy
On powerpc64, you can build a kernel with KASAN as soon as you build it with RADIX MMU support. However if the CPU doesn't have RADIX MMU, KASAN isn't enabled at init and the following Oops is encountered. [0.00][T0] KASAN not enabled as it requires radix! [4.484295][ T26] B