From: Paul Mackerras <paulus@ozlabs.org>
To: linuxppc-dev@ozlabs.org
Cc: Daniel Axtens <dja@axtens.net>
Subject: [PATCH v2 6/6] Documentation/kasan: Update details of KASAN on powerpc
Date: Wed, 18 May 2022 20:07:46 +1000 [thread overview]
Message-ID: <YoTFctxWJIkI9yGy@cleo> (raw)
In-Reply-To: <YoTEb2BaH3MDkH+2@cleo>
From: Daniel Axtens <dja@axtens.net>
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
---
Documentation/dev-tools/kasan.rst | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/Documentation/dev-tools/kasan.rst b/Documentation/dev-tools/kasan.rst
index 8089c559d339..448995c11bee 100644
--- a/Documentation/dev-tools/kasan.rst
+++ b/Documentation/dev-tools/kasan.rst
@@ -36,7 +36,9 @@ Both software KASAN modes work with SLUB and SLAB memory allocators,
while the hardware tag-based KASAN currently only supports SLUB.
Currently, generic KASAN is supported for the x86_64, arm, arm64, xtensa, s390,
-and riscv architectures, and tag-based KASAN modes are supported only for arm64.
+and riscv architectures. It is also supported on powerpc for 32-bit kernels and
+for 64-bit kernels running under the Radix MMU. Tag-based KASAN modes are
+supported only for arm64.
Usage
-----
@@ -351,6 +353,9 @@ With ``CONFIG_KASAN_VMALLOC``, KASAN can cover vmalloc space at the
cost of greater memory usage. Currently, this is supported on x86,
riscv, s390, and powerpc.
+It is optional, except on 64-bit powerpc kernels, and on 32-bit
+powerpc kernels with module support, where it is required.
+
This works by hooking into vmalloc and vmap and dynamically
allocating real shadow memory to back the mappings.
--
2.35.3
next prev parent reply other threads:[~2022-05-18 10:10 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-18 10:03 [PATCH v2 0/6] KASAN support for 64-bit Book 3S powerpc Paul Mackerras
2022-05-18 10:04 ` [PATCH v2 1/6] kasan: Document support on 32-bit powerpc Paul Mackerras
2022-05-18 10:04 ` [PATCH v2 2/6] powerpc/mm/kasan: rename kasan_init_32.c to init_32.c Paul Mackerras
2022-05-18 10:05 ` [PATCH v2 3/6] powerpc: Book3S 64-bit outline-only KASAN support Paul Mackerras
2022-06-02 15:18 ` Guenter Roeck
2022-05-18 10:06 ` [PATCH v2 4/6] powerpc/kasan: Don't instrument non-maskable or raw interrupts Paul Mackerras
2022-05-18 10:07 ` [PATCH v2 5/6] powerpc/kasan: Disable address sanitization in kexec paths Paul Mackerras
2022-05-18 10:07 ` Paul Mackerras [this message]
2022-11-14 12:49 ` [PATCH v2 6/6] Documentation/kasan: Update details of KASAN on powerpc Christophe Leroy
2022-05-18 13:29 ` [PATCH v2 0/6] KASAN support for 64-bit Book 3S powerpc Christophe Leroy
2022-05-24 11:09 ` Michael Ellerman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YoTFctxWJIkI9yGy@cleo \
--to=paulus@ozlabs.org \
--cc=dja@axtens.net \
--cc=linuxppc-dev@ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).