From patchwork Fri Oct 14 13:41:37 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xianting Tian X-Patchwork-Id: 126 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp193904wrs; Fri, 14 Oct 2022 06:53:23 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6A/16gBYLp3o1YaRLEhyi+/SVYP0eyXB8aMPt1dNx4AthxgDer0kzkzzCFFrSKWpkH1ClU X-Received: by 2002:a05:6a00:4214:b0:562:67d0:77e7 with SMTP id cd20-20020a056a00421400b0056267d077e7mr5488316pfb.62.1665755603360; Fri, 14 Oct 2022 06:53:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665755603; cv=none; d=google.com; s=arc-20160816; b=gwzHD7OPm0b6L3CserLR1JYbjfzFjbwYAbaP4AwamOftKyZLumNdSAfoI7ugSNRaAn Y5hlhOqTd5W9TfKKSmy8Xcd1LaTZ8h67l992KATm4wM+xFuZFSmUJii0fExVgg3gJcFZ IC2dVsAWIZuQYolKMBgIlCtG4Er6iNCGZU33GKBkziiLwXMTpwTahtlAxjde+1FbrlA/ krFFOa8C7rKxq9IuQTAZnIGlKfO2Qgi4Lmcll0pWqOhA8Vk3SMEzBSW5I5e0HRqUndpi FrmbshqFdh9bnIEf+goDMr/+ln58j3xGM/mDzsgUjXISUvJq05jcazJsNZneEpQqkn/F flgA== 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=JzbBACAs6x0CoZTk38vEHmT4Wl4T0p4ncWNXXNWjbX8=; b=ZeS6PC+bqnWDLPlQZdz9ULFFVJhCidTWNq2Qr6Q5ZL/Nbc5IXg2+cD07KYjyLdrWcq Fv1PsVVtSATFob22vVXNuCg2n5w+rDGynH6ODAIVeyir4yEcNC7WWdzQKhJ8TCsE+q9+ yQD1WSP0R1hQUpflRODzFxJN4pFBJbgvt0JdyB4jOVOHS8buYI1vCJOHrBfYjQ41f7ei wXCQXKdUREJz725Q3mHNhIc1ue5qQvfq/k5rgq9TF4H4dNvDezYZ/QiI/nY7zLudqTaC sG6NjI9JU2XuEMRqY431Q9fNElVjeNELvHBhf7QpMy6mh7xFrYgm89jG5fBM3r/xqaiF z+bA== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a10-20020a17090a480a00b0020d67a4e6fasi2617741pjh.174.2022.10.14.06.53.10; Fri, 14 Oct 2022 06:53:23 -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 S229782AbiJNNmL (ORCPT + 99 others); Fri, 14 Oct 2022 09:42:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36240 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229749AbiJNNmE (ORCPT ); Fri, 14 Oct 2022 09:42:04 -0400 Received: from out30-133.freemail.mail.aliyun.com (out30-133.freemail.mail.aliyun.com [115.124.30.133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A7BDA1CBAA1; Fri, 14 Oct 2022 06:42:02 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R181e4;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=24;SR=0;TI=SMTPD_---0VS82WXR_1665754904; Received: from localhost.localdomain(mailfrom:xianting.tian@linux.alibaba.com fp:SMTPD_---0VS82WXR_1665754904) by smtp.aliyun-inc.com; Fri, 14 Oct 2022 21:41:56 +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 V2 0/2] Support VMCOREINFO export for RISCV64 Date: Fri, 14 Oct 2022 21:41:37 +0800 Message-Id: <20221014134139.5151-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,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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1746649259526515197?= X-GMAIL-MSGID: =?utf-8?q?1746671347215612886?= 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. 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