[PATCH v4 5/6] riscv: Fix ptdump when KASAN is enabled

Björn Töpel bjorn at kernel.org
Fri Feb 17 06:55:46 PST 2023


Alexandre Ghiti <alexghiti at rivosinc.com> writes:

> The KASAN shadow region was moved next to the kernel mapping but the
> ptdump code was not updated and it appears to break the dump of the kernel
> page table, so fix this by moving the KASAN shadow region in ptdump.
>
> Fixes: f7ae02333d13 ("riscv: Move KASAN mapping next to the kernel mapping")
> Signed-off-by: Alexandre Ghiti <alexghiti at rivosinc.com>

Tested-by: Björn Töpel <bjorn at rivosinc.com>
Reviewed-by: Björn Töpel <bjorn at rivosinc.com>



More information about the linux-riscv mailing list