Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp636422imw; Wed, 13 Jul 2022 05:26:09 -0700 (PDT) X-Google-Smtp-Source: AGRyM1stjBKijd/HEDfMJypf+Yf0MEjNUjQ4Xel3jc6iI4f3cf4zWsxbhu3AzGd3MaaJo3ZXhkj/ X-Received: by 2002:a17:903:191:b0:16c:3d49:b0c8 with SMTP id z17-20020a170903019100b0016c3d49b0c8mr2997809plg.95.1657715169519; Wed, 13 Jul 2022 05:26:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657715169; cv=none; d=google.com; s=arc-20160816; b=XjpuzmGkf2QWnOpvOnryW5EZaEW+am7zYjN1+1+DqlQPzacXWSDXjDKS7vZZEYlLeU we7yrkOMWLDRVqkVLAUaQ7XjB7R9XISwi6gsOBJV27SSx94CjitVVQjoPRBllTtBjezJ HB0JDXOSmwx/jhrc/vzDk/qxLhLqPHBpr/khqRSJxeYoCIeAWuoy6BgKbwOkMu02Nmzh PdGm5IOF6llpQ3munPPzWaNRSxlFL5dH5nXwU+hdyLqDcOPw4w2xgCc0VPf9AhZlLi54 WMCEtumTwhcesEBd8HVogn3OwsxrMiLeuwPZgFTnUh53DEvfWc0qecObSEF8v9oJYfNH ePng== 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=gmgwxlLtOv8mxdlaM2cmEKqxLjlviZ9OY0qGyJe/KeI=; b=dRA4i1lAhpP+3gfxhx3tJMZeAoWJsyUQlrc2vhj7YPb5cgLPMlMmBTJGHvK7jNKXH3 61GQRNnPM6aMKBhvqrsce5VQAJbUGCHZoJ3hKHyPLNZB9+FrVaF8nggGBGn/Vc87R09l u+xl2Ik7Buoxd3AcxLXt+63ycV+4cxm0BK2ma7Scz+ENAJmZLu8C4FSI2l5WDC2+SEWw T/4DTOloT12yIpl2r/feWHj2Qvw3zDoQbdpiRvKPQKbRiiutoQWiHlcDfBVc4/GaX3LZ XWrdtQyjBlMkWoMfwW+DIHc5QGEmTWrKu12NqtbWUFUGoPdAiQjKr7UTINLfIRL3RhcC JhNw== 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 jg18-20020a17090326d200b0016bdbf15191si15305680plb.407.2022.07.13.05.25.57; Wed, 13 Jul 2022 05:26:09 -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 S235679AbiGMLzd (ORCPT + 99 others); Wed, 13 Jul 2022 07:55:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46192 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230472AbiGMLzc (ORCPT ); Wed, 13 Jul 2022 07:55:32 -0400 Received: from out30-132.freemail.mail.aliyun.com (out30-132.freemail.mail.aliyun.com [115.124.30.132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CDCAAF54D7 for ; Wed, 13 Jul 2022 04:55:30 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R831e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046059;MF=xianting.tian@linux.alibaba.com;NM=1;PH=DS;RN=13;SR=0;TI=SMTPD_---0VJDr3B3_1657713325; Received: from localhost(mailfrom:xianting.tian@linux.alibaba.com fp:SMTPD_---0VJDr3B3_1657713325) by smtp.aliyun-inc.com; Wed, 13 Jul 2022 19:55:26 +0800 From: Xianting Tian To: paul.walmsley@sifive.com, palmer@dabbelt.com, aou@eecs.berkeley.edu, alexandre.ghiti@canonical.com, guoren@kernel.org, anup@brainfault.org, mick@ics.forth.gr, rppt@kernel.org, heiko@sntech.de Cc: linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, huanyi.xj@alibaba-inc.com, Xianting Tian Subject: [PATCH 0/2] Improve vmcoreinfo and memory layout dump Date: Wed, 13 Jul 2022 19:55:21 +0800 Message-Id: <20220713115523.357817-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, T_SCC_BODY_TEXT_LINE,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 Xianting Tian (2): RISC-V: Add arch_crash_save_vmcoreinfo support riscv: Add modules to virtual kernel memory layout dump arch/riscv/kernel/Makefile | 1 + arch/riscv/kernel/crash_core.c | 28 ++++++++++++++++++++++++++++ arch/riscv/mm/init.c | 2 ++ 3 files changed, 31 insertions(+) create mode 100644 arch/riscv/kernel/crash_core.c -- 2.17.1