Re: [PATCH v10 6/6] powerpc: Book3S 64-bit outline-only KASAN support

2021-02-03 Thread Daniel Axtens
Christophe Leroy writes: > Le 03/02/2021 à 12:59, Daniel Axtens a écrit : >> Implement a limited form of KASAN for Book3S 64-bit machines running under >> the Radix MMU, supporting only outline mode. >> > >> diff --git a/arch/powerpc/kernel/process.c b/arch/powerpc/kernel/process.c >> index a66f

Re: [PATCH v10 6/6] powerpc: Book3S 64-bit outline-only KASAN support

2021-02-03 Thread Christophe Leroy
Le 03/02/2021 à 12:59, Daniel Axtens a écrit : Implement a limited form of KASAN for Book3S 64-bit machines running under the Radix MMU, supporting only outline mode. diff --git a/arch/powerpc/kernel/process.c b/arch/powerpc/kernel/process.c index a66f435dabbf..9a6fd603f0e7 100644 --- a/ar

[PATCH v10 6/6] powerpc: Book3S 64-bit outline-only KASAN support

2021-02-03 Thread Daniel Axtens
Implement a limited form of KASAN for Book3S 64-bit machines running under the Radix MMU, supporting only outline mode. - Enable the compiler instrumentation to check addresses and maintain the shadow region. (This is the guts of KASAN which we can easily reuse.) - Require kasan-vmalloc supp