]> git.ipfire.org Git - thirdparty/linux.git/commit
mm: add VM_SHADOW_STACK definition for riscv
authorDeepak Gupta <debug@rivosinc.com>
Mon, 26 Jan 2026 04:09:52 +0000 (21:09 -0700)
committerPaul Walmsley <pjw@kernel.org>
Mon, 26 Jan 2026 04:09:52 +0000 (21:09 -0700)
commit98036587a475f371005e42d3fff9feb9cf713880
treeb49b4cc3c1ab24b9f96e34dbcd0a5b09fe9cd144
parent3127718ad9552c9ca90e6eab37cd504c6806bfe4
mm: add VM_SHADOW_STACK definition for riscv

VM_HIGH_ARCH_5 is used for riscv.

Reviewed-by: Zong Li <zong.li@sifive.com>
Reviewed-by: Alexandre Ghiti <alexghiti@rivosinc.com>
Acked-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Deepak Gupta <debug@rivosinc.com>
Tested-by: Andreas Korb <andreas.korb@aisec.fraunhofer.de> # QEMU, custom CVA6
Tested-by: Valentin Haudiquet <valentin.haudiquet@canonical.com>
Link: https://patch.msgid.link/20251112-v5_user_cfi_series-v23-1-b55691eacf4f@rivosinc.com
[pjw@kernel.org: clarify subject; update to apply]
Signed-off-by: Paul Walmsley <pjw@kernel.org>
include/linux/mm.h