Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp4175716rwo; Tue, 25 Jul 2023 01:38:35 -0700 (PDT) X-Google-Smtp-Source: APBJJlG9XZBT59op65ieKb+hXRuLhGn4+4+z+EexgLGxXd6e7rDWCs96D0xKuoMU7shpWm3oG84D X-Received: by 2002:a05:6830:18ce:b0:6b9:e412:b02b with SMTP id v14-20020a05683018ce00b006b9e412b02bmr11162489ote.2.1690274314879; Tue, 25 Jul 2023 01:38:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690274314; cv=none; d=google.com; s=arc-20160816; b=NAiXIfAx7UmFMHmRrQsqRkQk85wthDBEASCZxNk9a+F3vDqHfUW4pxNNgI6I3o2bcH qja1Z1rCqCWR+qWzb3KYImcIZ17b+lNXEPWVNzbSYLOpOq7eq3tNFJkO3tccNFbx6mg0 //3KXUi3yIR+zpKJ3kSRw2+bgTjvgLD8H+OO+T9dJ8xWB6ml51P7NYrbhE/IH+z7IsHy 93dE/HRtmJAuimR9fBAuI46biIVtzr5WifSQXQrp5EDKjtgIQLDIeQIkNeDiHh9/Mutq wKu8l4leTvi6yii31B5pQ/wxs0GSipf2A459Btnw4S9+UMrK9kjIFgEGSyyoLt5+GLXL XbHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=lQx0JuHvcntA9BRKV/gN/W4c6dI2gmhDRXptY+UyVGM=; fh=dSoTuMaUrj6WO87KTl2eYe7F05zSzFhQ+08A7Xa2has=; b=BX1rH/xzZHEc1BPsFajWDJV7axkMifv8Qi5ZqX5nOP5wLbVdorJweDyufJy05yUM9i rvAW0V03KZ2I7qUZYZiuRm3vO5A1/l5kYdTy9hdwA3Sk/zWYmxqg+4vnzO0ideHcQKLx AMfOWwuZiS7CG72yQpyllE4F69BcoxYnktLzOmyGS75mHtXBq7m1t8VFGxwBxtC7LSjp JapghgbiWJ1V+ZLCIxobaa0DrXeWz8f2Gpdtr/h5mDLLR32wRRdCz0qQ2Vgf1XqYGq2b jz93r927nrsySQ8y2a8U8EQeasO+EJS//0T3acnxSCdl/sLYEAfZsZhurZqT9LC7W8US 6AGg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g10-20020a636b0a000000b00557622a044esi10220603pgc.805.2023.07.25.01.38.22; Tue, 25 Jul 2023 01:38:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230187AbjGYHsg (ORCPT + 99 others); Tue, 25 Jul 2023 03:48:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33698 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232802AbjGYHsc (ORCPT ); Tue, 25 Jul 2023 03:48:32 -0400 Received: from relay9-d.mail.gandi.net (relay9-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::229]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 00EDB113; Tue, 25 Jul 2023 00:48:29 -0700 (PDT) Received: by mail.gandi.net (Postfix) with ESMTPSA id A2380FF80F; Tue, 25 Jul 2023 07:48:22 +0000 (UTC) Message-ID: Date: Tue, 25 Jul 2023 09:48:22 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [RESEND PATCH -fixes 2/2] Documentation: kdump: Add va_kernel_pa_offset for RISCV64 Content-Language: en-US To: Song Shuai , bhe@redhat.com, vgoyal@redhat.com, dyoung@redhat.com, corbet@lwn.net, paul.walmsley@sifive.com, palmer@dabbelt.com, aou@eecs.berkeley.edu, xianting.tian@linux.alibaba.com, anup@brainfault.org, robh@kernel.org, ajones@ventanamicro.com, alexghiti@rivosinc.com, conor.dooley@microchip.com Cc: kexec@lists.infradead.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org References: <20230724100917.309061-1-suagrfillet@gmail.com> <20230724100917.309061-2-suagrfillet@gmail.com> From: Alexandre Ghiti In-Reply-To: <20230724100917.309061-2-suagrfillet@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-GND-Sasl: alex@ghiti.fr X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > --- > 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 Thanks, Alex