Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp1289996rdb; Fri, 1 Dec 2023 11:54:02 -0800 (PST) X-Google-Smtp-Source: AGHT+IFdvrB/EPjAQfbgLEuPwwJIqz9V8CcW1SJuJsVRQKdfNA6n7ewvnqh10iJkP4JCZWQ9MqXe X-Received: by 2002:a17:902:ea11:b0:1d0:3f5e:d4c8 with SMTP id s17-20020a170902ea1100b001d03f5ed4c8mr97065plg.30.1701460442601; Fri, 01 Dec 2023 11:54:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701460442; cv=none; d=google.com; s=arc-20160816; b=cQ14EOHH/4e0mMIwmYmt/5wc66NZJVYCjAUk2etrDl3iO9lhMG+PMmZyhBLx7XyeFk pI4oxrqMHNF8rrtqmi1/oyUN5T4FebyfT6PpvISPjHKMXWmrQDMey8oe9/6yS7ktGM3x ycux0w/UJCfM8TkUyDuTfUcYLzdWL1f5jAjK0T4hwY0sUPcsYbncgfJz4IjQa9bcFtle nTcB1KfdBqoMcqCYnGhqsCuPsMOBchYCkg6SHBy3mN5YqqlpZJqIwNKDZM+oAb/UZemw sAaVzGWkmraehZe5Fny7kuz2SEID9OtMusBANWeA5Q2JAtj7jnylL0UWjBSY1ofzoZD4 O3Mw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=XPWnaxPrm0f6elHZEHty0Q05hMlpsHFhw/SaklHOpvc=; fh=rkhSXkbRienNQzzpFHReZbu2PJhWejdfzDp1tIqOo98=; b=nbi9h57su9KRTDsREnPIgM1P2wqYMsrmL2UbEGcsdmHKPJHee7xNG4exrMhlpEkU35 rNdVRFnRal8LderMvybMuedOx9hx4vjKxVO6ugaeX8s7/OUVvNN7hyF4Z/V5g0PCVX9C t4qUKMfPvYEqIABoSnqUu9J2rKK+rTyR95g21Lv86zSjZjM3JcIl0lnfc6ZNtAWep9bG DbdKd+iIUWkc4UxVcTU+hvqqm3XdkK3CnR0VD82Mc6+DlixfWT5KMwh4XPCegX4cTS+k OaLv9qsU+15TvirM9wX0nIvnzIb4Txi9cpSxoOrMKrhbcPm/hTnCfksyrrkNIZ75kwV3 A+MQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=3NU6U5fu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id cb21-20020a056a02071500b005b9b68add8bsi2814013pgb.785.2023.12.01.11.53.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Dec 2023 11:54:02 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=3NU6U5fu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 3AEB48379A5F; Fri, 1 Dec 2023 11:53:51 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1379544AbjLATxh (ORCPT + 99 others); Fri, 1 Dec 2023 14:53:37 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40202 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1379538AbjLATxg (ORCPT ); Fri, 1 Dec 2023 14:53:36 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E77DED54; Fri, 1 Dec 2023 11:53:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Sender:Reply-To:Content-ID:Content-Description; bh=XPWnaxPrm0f6elHZEHty0Q05hMlpsHFhw/SaklHOpvc=; b=3NU6U5fuCupHMo/sgD44cUrAFA /nLb7DQAPa+1nxFgma0kLThjAWE+5Q8mjoKT5jcarJU8KGYsWlqJC/udu4zxEXPqra1sb74XdZpoX 1dRkdOHl5JddfH1nJ+swu9LbzodqcjqCAdMdqlqJxgyZMZk1qdU2hDNBKbjzDvySpwzMhTMAM3wTs +EjhiyVpGNZDKtSdtr8GtoOaTtFCm/Utu5HkKWazHOiJdQosQxmmBrzDtTFbIFXf/nAeD+WUD70sT Mi4KeFjralDl1TGfMuLlIpekKzpUrWGn+QtNoit5AcvMxJRcGvn597ndncNUfEdezZssuwoUPCkik +hDrF4NQ==; Received: from [50.53.46.231] (helo=[192.168.254.15]) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1r99a0-00EXox-2x; Fri, 01 Dec 2023 19:53:40 +0000 Message-ID: Date: Fri, 1 Dec 2023 11:53:37 -0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: linux-next: Tree for Dec 1 (riscv, crash_core) Content-Language: en-US To: Stephen Rothwell , Linux Next Mailing List Cc: Linux Kernel Mailing List , linux-riscv , kexec , Baoquan He References: <20231201133726.4a4413dd@canb.auug.org.au> From: Randy Dunlap In-Reply-To: <20231201133726.4a4413dd@canb.auug.org.au> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Fri, 01 Dec 2023 11:53:51 -0800 (PST) On 11/30/23 18:37, Stephen Rothwell wrote: > Hi all, > > Changes since 20231130: > on riscv 32-bit or 64-bit, with # CONFIG_MMU is not set In file included from ../arch/riscv/kernel/crash_core.c:3: ../arch/riscv/kernel/crash_core.c: In function 'arch_crash_save_vmcoreinfo': ../arch/riscv/kernel/crash_core.c:8:27: error: 'VA_BITS' undeclared (first use in this function) 8 | VMCOREINFO_NUMBER(VA_BITS); | ^~~~~~~ ../include/linux/crash_core.h:78:64: note: in definition of macro 'VMCOREINFO_NUMBER' 78 | vmcoreinfo_append_str("NUMBER(%s)=%ld\n", #name, (long)name) | ^~~~ ../arch/riscv/kernel/crash_core.c:8:27: note: each undeclared identifier is reported only once for each function it appears in 8 | VMCOREINFO_NUMBER(VA_BITS); | ^~~~~~~ ../include/linux/crash_core.h:78:64: note: in definition of macro 'VMCOREINFO_NUMBER' 78 | vmcoreinfo_append_str("NUMBER(%s)=%ld\n", #name, (long)name) | ^~~~ ../arch/riscv/kernel/crash_core.c:12:58: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'int' [-Wformat=] 12 | vmcoreinfo_append_str("NUMBER(VMALLOC_START)=0x%lx\n", VMALLOC_START); | ~~^ | | | long unsigned int | %x ../arch/riscv/kernel/crash_core.c:14:64: error: 'VMEMMAP_START' undeclared (first use in this function) 14 | vmcoreinfo_append_str("NUMBER(VMEMMAP_START)=0x%lx\n", VMEMMAP_START); | ^~~~~~~~~~~~~ ../arch/riscv/kernel/crash_core.c:15:62: error: 'VMEMMAP_END' undeclared (first use in this function); did you mean 'MEMREMAP_ENC'? 15 | vmcoreinfo_append_str("NUMBER(VMEMMAP_END)=0x%lx\n", VMEMMAP_END); | ^~~~~~~~~~~ | MEMREMAP_ENC 64-bit only: ../arch/riscv/kernel/crash_core.c:17:64: error: 'MODULES_VADDR' undeclared (first use in this function) 17 | vmcoreinfo_append_str("NUMBER(MODULES_VADDR)=0x%lx\n", MODULES_VADDR); | ^~~~~~~~~~~~~ ../arch/riscv/kernel/crash_core.c:18:62: error: 'MODULES_END' undeclared (first use in this function) 18 | vmcoreinfo_append_str("NUMBER(MODULES_END)=0x%lx\n", MODULES_END); | ^~~~~~~~~~~ -- ~Randy