[PATCH v2 1/6] kasan: Document support on 32-bit powerpc

Paul Mackerras paulus at ozlabs.org
Wed May 18 20:04:12 AEST 2022


From: Daniel Axtens <dja at axtens.net>

KASAN is supported on 32-bit powerpc and the docs should reflect this.

Suggested-by: Christophe Leroy <christophe.leroy at csgroup.eu>
Reviewed-by: Christophe Leroy <christophe.leroy at csgroup.eu>
Signed-off-by: Daniel Axtens <dja at axtens.net>
Signed-off-by: Paul Mackerras <paulus at ozlabs.org>
---
 Documentation/powerpc/kasan.txt | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 Documentation/powerpc/kasan.txt

diff --git a/Documentation/powerpc/kasan.txt b/Documentation/powerpc/kasan.txt
new file mode 100644
index 000000000000..26bb0e8bb18c
--- /dev/null
+++ b/Documentation/powerpc/kasan.txt
@@ -0,0 +1,12 @@
+KASAN is supported on powerpc on 32-bit only.
+
+32 bit support
+==============
+
+KASAN is supported on both hash and nohash MMUs on 32-bit.
+
+The shadow area sits at the top of the kernel virtual memory space above the
+fixmap area and occupies one eighth of the total kernel virtual memory space.
+
+Instrumentation of the vmalloc area is optional, unless built with modules,
+in which case it is required.
-- 
2.35.3



More information about the Linuxppc-dev mailing list