aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandre Ghiti <alex@ghiti.fr>2021-06-24 14:17:21 +0200
committerPalmer Dabbelt <palmerdabbelt@google.com>2021-07-06 15:21:27 -0700
commit7761e36bc7222d1221242c5f195ee0fd40caea40 (patch)
treed5b2e286ff74335468b832e9d77363cb268900f3
parentriscv: __asm_copy_to-from_user: Optimize unaligned memory access and pipeline stall (diff)
downloadlinux-dev-7761e36bc7222d1221242c5f195ee0fd40caea40.tar.xz
linux-dev-7761e36bc7222d1221242c5f195ee0fd40caea40.zip
riscv: Fix PTDUMP output now BPF region moved back to module region
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>
-rw-r--r--arch/riscv/mm/ptdump.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/riscv/mm/ptdump.c b/arch/riscv/mm/ptdump.c
index ee4e5c1c39c5..830e7de65e3a 100644
--- a/arch/riscv/mm/ptdump.c
+++ b/arch/riscv/mm/ptdump.c
@@ -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},
};