Received: by 2002:ac0:da4c:0:0:0:0:0 with SMTP id a12csp482686imi; Fri, 22 Jul 2022 03:23:29 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vy2orTOqjus6nAoHDgQnvITnwzkEk8wo6evTfUNX9b78IKYDqP13Ib9c8x7rmPfQx6WcTU X-Received: by 2002:a17:90b:1807:b0:1ef:8aa5:1158 with SMTP id lw7-20020a17090b180700b001ef8aa51158mr16638693pjb.163.1658485408973; Fri, 22 Jul 2022 03:23:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658485408; cv=none; d=google.com; s=arc-20160816; b=Ph3/VT/eYZ/7AZ9fOWfoZAyma93upyzC14LALtgjwXWrgGZPhTC9MJG7RPU3fnwddi i+/pUkmm5INMXMd4IQNVs/IYudrrtvzBPnItkurbqAV7j2M3Lk1vKs5OJZAjFqpkjWfn MQE+vLb+kRQAI6pI6vrI5DJMniAAgpdKZW7BHmXvYGr9h2Sz6kyaPuKV/X7cwh8CvJke 5jRiRYKzOVYwuvqx6Iiqqmv1cHmfNxxDH1e+FyDWJ0/neExDX91qSyxB6XH/FG/Ji733 ytdun5NOm6SxAJs5BcHShLlfAuHzE3FnYvtlkc4zC9cB6GRyNKbHp3qyIRtPk5JPRxwL 5uQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:message-id:in-reply-to :date:references:subject:cc:to:from; bh=KQ1M4lGBRD2rWWA/b6hZxaXZ7t1epWZ20qEqJ8GUg10=; b=DbMspqmr9LcpfPxYBmo1D5Dr0IWlmiWPjOprtwJeLcWbLUa5TYBVF6E0506YpN6MGa O+5d8GlX0kPEJdCb3/eCtfQH0vvaOjlV6AwEbquz/IrHtDshxyrlGEFmtsM7mBtoHEyT XxJetIVjMIh5SIUmPbgnR6LqysDfMiDbdpd5TmT+usEz1Iwt4w8oB9IsYGBfBJYXwsqe g96FOe3jvqxdn/T1QI+PKhxkmlCVRBEYtLzLxWXODLXMHLqqV+y6dWOhhAWil2mMsWus +54q/MVow7WMfsBfr7wMMAKUwArV5Uz5AeMwYEue0BxjbOcQKax2dJXXfTSQQkay4Ebi +wyA== 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 j13-20020a17090ae60d00b001f22e8dd7c6si4679441pjy.128.2022.07.22.03.23.14; Fri, 22 Jul 2022 03:23:28 -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 S230225AbiGVKTM (ORCPT + 99 others); Fri, 22 Jul 2022 06:19:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52840 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234195AbiGVKTJ (ORCPT ); Fri, 22 Jul 2022 06:19:09 -0400 X-Greylist: delayed 487 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Fri, 22 Jul 2022 03:19:06 PDT Received: from mail-out.m-online.net (mail-out.m-online.net [212.18.0.9]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4C3987B1C5 for ; Fri, 22 Jul 2022 03:19:06 -0700 (PDT) Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4Lq4vg2j6Kz1r0nJ; Fri, 22 Jul 2022 12:10:54 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4Lq4vf4FwVz1qqkp; Fri, 22 Jul 2022 12:10:54 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id rbkTNUbe7Ccr; Fri, 22 Jul 2022 12:10:53 +0200 (CEST) X-Auth-Info: 5V4d3Fnr8BDMPb3jkQu0EDJRSLyYFrjOv2Xdf5FYdjjFzWdHQsnOnSqJzPDYV4V9 Received: from igel.home (ppp-46-244-169-212.dynamic.mnet-online.de [46.244.169.212]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Fri, 22 Jul 2022 12:10:53 +0200 (CEST) Received: by igel.home (Postfix, from userid 1000) id 6F9AD2C3A72; Fri, 22 Jul 2022 12:10:52 +0200 (CEST) From: Andreas Schwab To: Xianting Tian Cc: 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, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, crash-utility@redhat.com, huanyi.xj@alibaba-inc.com, heinrich.schuchardt@canonical.com, k-hagio-ab@nec.com, hschauhan@nulltrace.org Subject: Re: [PATCH 4/5] riscv: Add modules to virtual kernel memory layout dump References: <20220717101323.370245-1-xianting.tian@linux.alibaba.com> <20220717101323.370245-5-xianting.tian@linux.alibaba.com> X-Yow: You must be a CUB SCOUT!! Have you made your MONEY-DROP today?? Date: Fri, 22 Jul 2022 12:10:52 +0200 In-Reply-To: <20220717101323.370245-5-xianting.tian@linux.alibaba.com> (Xianting Tian's message of "Sun, 17 Jul 2022 18:13:22 +0800") Message-ID: <87wnc5xxsj.fsf@igel.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1.90 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS 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 Jul 17 2022, Xianting Tian wrote: > diff --git a/arch/riscv/mm/init.c b/arch/riscv/mm/init.c > index d466ec670e1f..2c4a64e97aec 100644 > --- a/arch/riscv/mm/init.c > +++ b/arch/riscv/mm/init.c > @@ -135,6 +135,10 @@ static void __init print_vm_layout(void) > (unsigned long)VMEMMAP_END); > print_ml("vmalloc", (unsigned long)VMALLOC_START, > (unsigned long)VMALLOC_END); > +#ifdef CONFIG_64BIT > + print_ml("modules", (unsigned long)MODULES_VADDR, > + (unsigned long)MODULES_END); #ifdef MODULES_VADDR ? -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."