riscv: Fix PTDUMP output now BPF region moved back to module region
authorAlexandre Ghiti <alex@ghiti.fr>
Thu, 24 Jun 2021 12:17:21 +0000 (14:17 +0200)
committerPalmer Dabbelt <palmerdabbelt@google.com>
Tue, 6 Jul 2021 22:21:27 +0000 (15:21 -0700)
BPF region was moved back to the region below the kernel at the end of
the module region by 3a02764c372c ("riscv: Ensure BPF_JIT_REGION_START
aligned with PMD size"), so reflect this change in kernel page table
output.

Signed-off-by: Alexandre Ghiti <alex@ghiti.fr>
Reviewed-by: Jisheng Zhang <jszhang@kernel.org>
Fixes: 3a02764c372c ("riscv: Ensure BPF_JIT_REGION_START aligned with PMD size")
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
arch/riscv/mm/ptdump.c

index ee4e5c1..830e7de 100644 (file)
@@ -98,8 +98,8 @@ static struct addr_marker address_markers[] = {
        {0, "vmalloc() end"},
        {0, "Linear mapping"},
 #ifdef CONFIG_64BIT
-       {0, "Modules mapping"},
-       {0, "Kernel mapping (kernel, BPF)"},
+       {0, "Modules/BPF mapping"},
+       {0, "Kernel mapping"},
 #endif
        {-1, NULL},
 };