aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/async_stack_depth.c
diff options
context:
space:
mode:
authorSong Shuai <[email protected]>2023-07-24 18:09:16 +0800
committerPalmer Dabbelt <[email protected]>2023-08-02 13:50:31 -0700
commitfbe7d19d2b7fcbd38905ba9f691be8f245c6faa6 (patch)
treecd9d9db79b166e9edc6ed1af95f004b8487a81ac /tools/testing/selftests/bpf/progs/async_stack_depth.c
parent568701fee36652a7660ed667a3980c945d8051e0 (diff)
riscv: Export va_kernel_pa_offset in vmcoreinfo
Since RISC-V Linux v6.4, the commit 3335068f8721 ("riscv: Use PUD/P4D/PGD pages for the linear mapping") changes phys_ram_base from the physical start of the kernel to the actual start of the DRAM. The Crash-utility's VTOP() still uses phys_ram_base and kernel_map.virt_addr to translate kernel virtual address, that failed the Crash with Linux v6.4 [1]. Export kernel_map.va_kernel_pa_offset in vmcoreinfo to help Crash translate the kernel virtual address correctly. Fixes: 3335068f8721 ("riscv: Use PUD/P4D/PGD pages for the linear mapping") Link: https://lore.kernel.org/linux-riscv/[email protected]/ [1] Signed-off-by: Song Shuai <[email protected]> Reviewed-by: Xianting TianĀ  <[email protected]> Reviewed-by: Alexandre Ghiti <[email protected]> Link: https://lore.kernel.org/r/[email protected] Cc: [email protected] Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/async_stack_depth.c')
0 files changed, 0 insertions, 0 deletions