Re: [PATCH v2 0/6] KASAN support for 64-bit Book 3S powerpc
From: Michael Ellerman <hidden>
Date: 2022-05-24 11:26:46
On Wed, 18 May 2022 20:03:27 +1000, Paul Mackerras wrote:
This patch series implements KASAN on 64-bit POWER with radix MMU, such as POWER9 or POWER10. Daniel Axtens posted previous versions of these patches, but is no longer working on KASAN, and I have been asked to get them ready for inclusion. Because of various technical difficulties, mostly around the need to allow for code that runs in real mode, we only support "outline" mode (as opposed to "inline" mode), where the compiler adds a call to a checking procedure before every store to memory. [...]
Patches 1-5 applied to powerpc/next.
[1/6] kasan: Document support on 32-bit powerpc
https://git.kernel.org/powerpc/c/60e832def18de7a0753393034c6ae459b3bee70a
[2/6] powerpc/mm/kasan: rename kasan_init_32.c to init_32.c
https://git.kernel.org/powerpc/c/f08aed52412c860f68e30da148da58ad8e40a43b
[3/6] powerpc: Book3S 64-bit outline-only KASAN support
https://git.kernel.org/powerpc/c/41b7a347bf1491e7300563bb224432608b41f62a
[4/6] powerpc/kasan: Don't instrument non-maskable or raw interrupts
https://git.kernel.org/powerpc/c/5352090a999570c6e8a701bcb755fd91e8c5a2cd
[5/6] powerpc/kasan: Disable address sanitization in kexec paths
https://git.kernel.org/powerpc/c/2ab2d5794f14c08676690bf0859f16cc768bb3a4
cheers