Re: [PATCH v7 4/4] powerpc: Book3S 64-bit "heavyweight" KASAN support

From: Christophe Leroy
Date: Mon Feb 17 2020 - 01:45:53 EST




Le 17/02/2020 Ã 00:08, Michael Neuling a ÃcritÂ:
Daniel.

Can you start this commit message with a simple description of what you are
actually doing? This reads like you've been on a long journey to Mordor and
back, which as a reader of this patch in the long distant future, I don't care
about. I just want to know what you're implementing.

Also I'm struggling to review this as I don't know what software or hardware
mechanisms you are using to perform sanitisation.

KASAN is standard, it's simply using GCC ASAN in kernel mode, ie kernel is built with -fsanitize=kernel-address (https://gcc.gnu.org/onlinedocs/gcc/Instrumentation-Options.html)

You have more details there: https://www.kernel.org/doc/html/latest/dev-tools/kasan.html

Christophe