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

From: Björn Töpel
Date: Fri Feb 17 2023 - 09:56:34 EST


Alexandre Ghiti <alexghiti@xxxxxxxxxxxx> 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@xxxxxxxxxxxx>

Tested-by: Björn Töpel <bjorn@xxxxxxxxxxxx>
Reviewed-by: Björn Töpel <bjorn@xxxxxxxxxxxx>