Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp5632201rwi; Tue, 18 Oct 2022 01:44:45 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4MIPO40saf4MYdifJQLK6BX/6lRyfteCfS9M/UTDyKBHO4r6HYpq5xK4UC2auupSJsDgdN X-Received: by 2002:a17:906:fe0b:b0:787:f1d3:2105 with SMTP id wy11-20020a170906fe0b00b00787f1d32105mr1495754ejb.83.1666082685662; Tue, 18 Oct 2022 01:44:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666082685; cv=none; d=google.com; s=arc-20160816; b=PMpt4gDGZYDZkx0Au/VBxVHv65ziPYc2t/ZPYkPHo/Yxna+0jCujOK4c1qFLvNx/QW ywm0C+4PFT9nIQ0nNH4GVrOizZnwbzbncP6pKDHQ8Vek+Ye79VNoshMzdGC6I9NopJPg QaEH9l0bu83IqwfCbNA6yJAkfCqzAO4M+7x/+5J8InJX9TVa1zYIxBqOq/dlG1vQAmSH z3eMe3IMLe71grRfSxGl5zE12QyG/skbfg92/0fsdFl4tBCAnGNjOsEy3xQtFhGwBChd 8IdHBk7kFMsauELUchQLSQ8fiSF5einQ/CCjg/M41T7ruR3sw2/p24rp/btslDj/Coqf fejw== 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=FLWhWUTCtR5mnC7VFIsnKNuT58IJEqoVDOcGwv9OUGk=; b=pdguMfBiRU4p+ylaJVyX+KnscsMZk0WrdiciRLEtvvgtEEg7iu9q1ht2iFM6uiEq3x FrBWBb7x43+BdSbo3mMcFiMHiq9VRIQ1idB4Ige8Ar4gNtrEsUH5HrEbildpq9P5q7Xt xRDDlDXJd3i01mfQXveRnCyJk5kJxdX7Zr4Cd5kTOnF3KLT9rpnFAXRXfI5qetUSdpoj 3KB15q+xmwM6Z4dM3Mz+XSc0SYjdc3xnH2P1hNa9jlSo2IFppS85JqjEQOrTmdX5+hBH 404xX7/+73/GZ10nVksbC7SHk978glVKgaLHCIZ4T3bvGl/FS2JRBvVXi7WLSPxHD0ra r8WA== 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 cs10-20020a170906dc8a00b0078b0865d469si8060488ejc.751.2022.10.18.01.44.20; Tue, 18 Oct 2022 01:44:45 -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 S230397AbiJRISS (ORCPT + 99 others); Tue, 18 Oct 2022 04:18:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58504 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230122AbiJRISP (ORCPT ); Tue, 18 Oct 2022 04:18:15 -0400 Received: from out30-56.freemail.mail.aliyun.com (out30-56.freemail.mail.aliyun.com [115.124.30.56]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E42C39378B; Tue, 18 Oct 2022 01:18:13 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R131e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046051;MF=xianting.tian@linux.alibaba.com;NM=1;PH=DS;RN=24;SR=0;TI=SMTPD_---0VSTz0X5_1666081077; Received: from localhost.localdomain(mailfrom:xianting.tian@linux.alibaba.com fp:SMTPD_---0VSTz0X5_1666081077) by smtp.aliyun-inc.com; Tue, 18 Oct 2022 16:18:07 +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 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, k-hagio-ab@nec.com, hschauhan@nulltrace.org, yixun.lan@gmail.com, Xianting Tian Subject: [PATCH V3 0/2] Support VMCOREINFO export for RISCV64 Date: Tue, 18 Oct 2022 16:17:53 +0800 Message-Id: <20221018081755.6214-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. 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