riscv: mm: Support kasan for sv57
authorQinglin Pan <panqinglin2020@iscas.ac.cn>
Thu, 27 Jan 2022 02:48:44 +0000 (10:48 +0800)
committerPalmer Dabbelt <palmer@rivosinc.com>
Tue, 15 Feb 2022 00:32:47 +0000 (16:32 -0800)
commit8fbdccd2b17335e1881a23865e98c63fcc345938
treea7828695cb2324acfdd0f2d3abe4d1eb33be041c
parent011f09d1205285b215003a6c65408609ef78abac
riscv: mm: Support kasan for sv57

This patchset add kasan_populate and kasan_shallow_populate for sv57,
and is tested on both qemu and unmatched with CONFIG_KASAN and
CONFIG_KASAN_VMALLOC on.

Signed-off-by: Qinglin Pan <panqinglin2020@iscas.ac.cn>
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/mm/kasan_init.c