summaryrefslogtreecommitdiffstats
path: root/Documentation/admin-guide/kdump
diff options
context:
space:
mode:
authorSong Shuai <suagrfillet@gmail.com>2023-07-24 18:09:17 +0800
committerPalmer Dabbelt <palmer@rivosinc.com>2023-08-02 13:50:37 -0700
commit640c503d7dbd7d34a62099c933f4db0ed77ccbec (patch)
tree3e0bf93e0354cc62bd9e751fa3eaac0b48f88ba6 /Documentation/admin-guide/kdump
parentfbe7d19d2b7fcbd38905ba9f691be8f245c6faa6 (diff)
downloadlinux-stable-640c503d7dbd7d34a62099c933f4db0ed77ccbec.tar.gz
linux-stable-640c503d7dbd7d34a62099c933f4db0ed77ccbec.tar.bz2
linux-stable-640c503d7dbd7d34a62099c933f4db0ed77ccbec.zip
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: 3335068f8721 ("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>
Diffstat (limited to 'Documentation/admin-guide/kdump')
-rw-r--r--Documentation/admin-guide/kdump/vmcoreinfo.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/admin-guide/kdump/vmcoreinfo.rst b/Documentation/admin-guide/kdump/vmcoreinfo.rst
index c18d94fa6470..f8ebb63b6c5d 100644
--- a/Documentation/admin-guide/kdump/vmcoreinfo.rst
+++ b/Documentation/admin-guide/kdump/vmcoreinfo.rst
@@ -624,3 +624,9 @@ Used to get the correct ranges:
* VMALLOC_START ~ VMALLOC_END : vmalloc() / ioremap() space.
* VMEMMAP_START ~ VMEMMAP_END : vmemmap space, used for struct page array.
* KERNEL_LINK_ADDR : start address of Kernel link and BPF
+
+va_kernel_pa_offset
+-------------------
+
+Indicates the offset between the kernel virtual and physical mappings.
+Used to translate virtual to physical addresses.