Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp965436rwi; Wed, 19 Oct 2022 05:16:06 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5pCDJFFjjUXGf8ekA0mzSeLARDsmCHbtLAnkWo2St0yDLev8exDLpCkMDhNJuo9pr1eiiq X-Received: by 2002:a05:6402:1d4e:b0:45d:27e4:f93a with SMTP id dz14-20020a0564021d4e00b0045d27e4f93amr7074522edb.287.1666181766540; Wed, 19 Oct 2022 05:16:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666181766; cv=none; d=google.com; s=arc-20160816; b=U05Wz0kvfDLWgNBijfQtk719vxwx5HkSkZlJPwPSnt9xOKccBL6ljzdCZzdBUMv4VX I13gSD4cK3wC8nGEt8NegztAWxLckPd3eByckra1Ylxvof4cMw0V3z9yItXJ0oLGYqCn JfPZps3mfwdaPRKjo3lQ4vGh9kQGMi/afBh7XOEZXI1ABmA3ek3Amh8RjVO8pZZll3/a cYaeddHHzmzGmaxpsO0J8THy+Xe7/FLgT81J4czerMGVVl7pWxn52+E3KQ4qvMYPW1SY mVbi6NVXw7JTYFFsiaAFv0hnqurLLG7zetrSrQhcK80H++OewyXawVUjPky1VaS366X3 xn+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=x8YFP5Z8/e7becZi6n/DqVqA9pSUpMGP6C3spckSkMg=; b=pDbjbu7N21vZ2qqaX7Jy3z9I/qJnjPSsx+jLz18SyWS9J7LckOzSt8lm7Vits0LkK3 AgXr+d/bFHboP1fzErDYGK5hFkqGXcdTnRuHDPzZKbxyVNDVjGs+lZnJs11bUsQtj90L 5rdzHjo2iQOt22zCG/5sXuRoByQ9P5lPB3dOBZS/LehndaZ6V2+NMqPklvqY6iM0AMPD F1b1iUqa4VSs42CkBDessEMym3CZTL+fcoa2AVnKXpxc8DnQ6d2RXFsWbuLoh04QZPuh EvsQDFz99usflsFYFdjvaoCFY38lUVl0w1ZdVtn0nsAugcQQ3LsHfvT/0WBjiOGXatP8 LhXA== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id eb10-20020a0564020d0a00b0044ecd80f257si15391418edb.603.2022.10.19.05.15.38; Wed, 19 Oct 2022 05:16:06 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232718AbiJSMLX (ORCPT + 99 others); Wed, 19 Oct 2022 08:11:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46790 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232499AbiJSMKl (ORCPT ); Wed, 19 Oct 2022 08:10:41 -0400 Received: from out30-54.freemail.mail.aliyun.com (out30-54.freemail.mail.aliyun.com [115.124.30.54]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 73B9810F881; Wed, 19 Oct 2022 04:45:56 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R121e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046060;MF=xianting.tian@linux.alibaba.com;NM=1;PH=DS;RN=25;SR=0;TI=SMTPD_---0VSaNslb_1666175784; Received: from localhost.localdomain(mailfrom:xianting.tian@linux.alibaba.com fp:SMTPD_---0VSaNslb_1666175784) by smtp.aliyun-inc.com; Wed, 19 Oct 2022 18:36:34 +0800 From: Xianting Tian To: paul.walmsley@sifive.com, palmer@dabbelt.com, aou@eecs.berkeley.edu, anup@brainfault.org, heiko@sntech.de, guoren@kernel.org, mick@ics.forth.gr, alexandre.ghiti@canonical.com, bhe@redhat.com, vgoyal@redhat.com, dyoung@redhat.com, corbet@lwn.net, Conor.Dooley@microchip.com, bagasdotme@gmail.com, k-hagio-ab@nec.com, lijiang@redhat.com Cc: kexec@lists.infradead.org, linux-doc@vger.kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, crash-utility@redhat.com, heinrich.schuchardt@canonical.com, hschauhan@nulltrace.org, yixun.lan@gmail.com, Xianting Tian Subject: [PATCH V4 0/2] Support VMCOREINFO export for RISCV64 Date: Wed, 19 Oct 2022 18:36:21 +0800 Message-Id: <20221019103623.7008-1-xianting.tian@linux.alibaba.com> X-Mailer: git-send-email 2.17.1 X-Spam-Status: No, score=-9.9 required=5.0 tests=BAYES_00, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY,USER_IN_DEF_SPF_WL 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 As disscussed in below patch set, the patch of 'describe VMCOREINFO export in Documentation' need to update according to Bagas's comments. https://lore.kernel.org/linux-riscv/22AAF52E-8CC8-4D11-99CB-88DE4D113444@kernel.org/ As others patches in above patch set already applied, so this patch set only contains below two patches. ------ Changes: Fix commit message in patch 2: use "Document these RISCV64 exports above" instead of "This patch just add the description of VMCOREINFO export for RISCV64." V1 -> V2: Remove unnecessary overline above header text in patch 2. V2 -> V3: Fix commit message in patch 1,2; Use 'space' instead of 'region' for vmemmap description in patch 2. V3 -> V4: Remove unnecessary kernel space export: KASAN_SHADOW_START ~ KASAN_SHADOW_END, ADDRESS_SPACE_END Xianting Tian (2): RISC-V: Add arch_crash_save_vmcoreinfo support Documentation: kdump: describe VMCOREINFO export for RISCV64 .../admin-guide/kdump/vmcoreinfo.rst | 30 ++++++++++++++++++ arch/riscv/kernel/Makefile | 1 + arch/riscv/kernel/crash_core.c | 29 +++++++++++++++++ 3 files changed, 61 insertions(+) create mode 100644 arch/riscv/kernel/crash_core.c -- 2.17.1