Re: [PATCH 3/3] [RFC] powerpc: Book3S 64-bit outline-only KASAN support

2022-05-17 Thread Christophe Leroy
Le 17/05/2022 à 09:31, Paul Mackerras a écrit : > On Sun, May 15, 2022 at 07:33:52AM +, Christophe Leroy wrote: >> >> >> Le 11/05/2022 à 09:28, Paul Mackerras a écrit : >>> From: Daniel Axtens >>> >>> Implement a limited form of KASAN for Book3S 64-bit machines running under >>> the Radix MM

Re: [PATCH 3/3] [RFC] powerpc: Book3S 64-bit outline-only KASAN support

2022-05-17 Thread Paul Mackerras
On Sun, May 15, 2022 at 07:33:52AM +, Christophe Leroy wrote: > > > Le 11/05/2022 à 09:28, Paul Mackerras a écrit : > > From: Daniel Axtens > > > > Implement a limited form of KASAN for Book3S 64-bit machines running under > > the Radix MMU, supporting only outline mode. [snip] > > diff -

Re: [PATCH 3/3] [RFC] powerpc: Book3S 64-bit outline-only KASAN support

2022-05-15 Thread Christophe Leroy
Le 11/05/2022 à 09:28, Paul Mackerras a écrit : > From: 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 regio

[PATCH 3/3] [RFC] powerpc: Book3S 64-bit outline-only KASAN support

2022-05-11 Thread Paul Mackerras
From: 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.) - Requ