[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <cdb56d2f-1e52-46fd-5d89-12b34749e823@ghiti.fr>
Date: Tue, 25 Jul 2023 09:48:22 +0200
From: Alexandre Ghiti <alex@...ti.fr>
To: Song Shuai <suagrfillet@...il.com>, bhe@...hat.com,
vgoyal@...hat.com, dyoung@...hat.com, corbet@....net,
paul.walmsley@...ive.com, palmer@...belt.com,
aou@...s.berkeley.edu, xianting.tian@...ux.alibaba.com,
anup@...infault.org, robh@...nel.org, ajones@...tanamicro.com,
alexghiti@...osinc.com, conor.dooley@...rochip.com
Cc: kexec@...ts.infradead.org, linux-doc@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-riscv@...ts.infradead.org
Subject: Re: [RESEND PATCH -fixes 2/2] Documentation: kdump: Add
va_kernel_pa_offset for RISCV64
On 24/07/2023 12:09, Song Shuai wrote:
> 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@...il.com>
> ---
> Documentation/admin-guide/kdump/vmcoreinfo.rst | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> 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.
You can add:
Reviewed-by: Alexandre Ghiti <alexghiti@...osinc.com>
Thanks,
Alex
Powered by blists - more mailing lists