Skip to content

Commit 640c503

Browse files
Song Shuaipalmer-dabbelt
authored andcommitted
Documentation: kdump: Add va_kernel_pa_offset for RISCV64
RISC-V Linux exports "va_kernel_pa_offset" in vmcoreinfo to help Crash-utility translate the kernel virtual address correctly. Here adds the definition of "va_kernel_pa_offset". Fixes: 3335068 ("riscv: Use PUD/P4D/PGD pages for the linear mapping") Link: https://lore.kernel.org/linux-riscv/20230724040649.220279-1-suagrfillet@gmail.com/ Signed-off-by: Song Shuai <suagrfillet@gmail.com> Reviewed-by: Alexandre Ghiti <alexghiti@rivosinc.com> Link: https://lore.kernel.org/r/20230724100917.309061-2-suagrfillet@gmail.com Cc: stable@vger.kernel.org Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
1 parent fbe7d19 commit 640c503

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Documentation/admin-guide/kdump/vmcoreinfo.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -624,3 +624,9 @@ Used to get the correct ranges:
624624
* VMALLOC_START ~ VMALLOC_END : vmalloc() / ioremap() space.
625625
* VMEMMAP_START ~ VMEMMAP_END : vmemmap space, used for struct page array.
626626
* KERNEL_LINK_ADDR : start address of Kernel link and BPF
627+
628+
va_kernel_pa_offset
629+
-------------------
630+
631+
Indicates the offset between the kernel virtual and physical mappings.
632+
Used to translate virtual to physical addresses.

0 commit comments

Comments
 (0)