Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp8753941rwb; Tue, 13 Dec 2022 10:01:11 -0800 (PST) X-Google-Smtp-Source: AA0mqf7qpViiMAqdXdwRYneY+EjBOdp1/64TTqKYf+q2ZV1hRR0q0n1tcRGs/yb+HFtGBXeL5ZjV X-Received: by 2002:a17:906:40ce:b0:7c0:e4b7:517e with SMTP id a14-20020a17090640ce00b007c0e4b7517emr16282921ejk.16.1670954470980; Tue, 13 Dec 2022 10:01:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670954470; cv=none; d=google.com; s=arc-20160816; b=IaiKfuTa7hd0USS7P4xDzEYUdeFfImHeyWGFQiOUDGdheiA1+eKKS3U/+2a//+c0WX 7zaxlhdoOO+J5uqkQKYfPPWVInULVQdE7t9WcdRI1NZvLISYsDaRVuagg7zKfN2ZITlv 2mYHdJtPYDYOPGXMc61GGpaWQehEDYX3mQnhAiJ30UZH4PQn6cr8Ka+VhvIoJZ5kRotD CC87oreYLemEzcmEAFwqyTo9asYQtIPQfLG95eucK4t9m4ASoA/QWVcERymWQamzTwqy R4CV8QaK9XK3sDqFMTlYADoRYyPnuWy5FCR4Ays+ZbYnfdeeERBz2hjLKp6qbCTUCQbv 9mVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:from:cc:content-transfer-encoding :mime-version:date:message-id:subject:references:in-reply-to :dkim-signature; bh=22ObQGxg+tFUaeC+8ZZZyuwT6ARH/aXdjVJKbHdOy44=; b=B7wClz47wb/P5kK9LExKkxLWR545RQkGRHIWcURSwAVT9iVPDxURnjgQOgt4Ng6pwj 0O1OoBYzuXCqmqrDO0sTHCfYwg9Gsnm1jy2VQDhEDfcY9Ioe/55XrCQdOwezovEOfZaq 4hToTtZXZH+Iw/i6wxfXC/fa7KOuQlNMS9erpWNYx2u1aUWssfGvz8wyjVlCEgqNRe98 w3MxRij5kTO5vUb6pZvg4PGE+wP3SRUlrt1PFdxLjAbijaI2fArRTtz8/v/Eo0R0AN1g 7vGhZNXZisgK3X4x1R/qW59gCBKemIjFAv4mpesRYIBjIS0Lx/evA6puxPgYtXUKVl76 28VA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rivosinc-com.20210112.gappssmtp.com header.s=20210112 header.b=URZsnF5w; 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 c68-20020a509fca000000b0046b76553f5esi10689942edf.329.2022.12.13.10.00.53; Tue, 13 Dec 2022 10:01:10 -0800 (PST) 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; dkim=pass header.i=@rivosinc-com.20210112.gappssmtp.com header.s=20210112 header.b=URZsnF5w; 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 S235932AbiLMRjx (ORCPT + 72 others); Tue, 13 Dec 2022 12:39:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54640 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235629AbiLMRjv (ORCPT ); Tue, 13 Dec 2022 12:39:51 -0500 Received: from mail-pl1-x62f.google.com (mail-pl1-x62f.google.com [IPv6:2607:f8b0:4864:20::62f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B9B00BCA3 for ; Tue, 13 Dec 2022 09:39:50 -0800 (PST) Received: by mail-pl1-x62f.google.com with SMTP id t2so560512ply.2 for ; Tue, 13 Dec 2022 09:39:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rivosinc-com.20210112.gappssmtp.com; s=20210112; h=to:from:cc:content-transfer-encoding:mime-version:date:message-id :subject:references:in-reply-to:from:to:cc:subject:date:message-id :reply-to; bh=22ObQGxg+tFUaeC+8ZZZyuwT6ARH/aXdjVJKbHdOy44=; b=URZsnF5wMVvtSu7sYKk1PLkEIeFVIi7BWgYDjhE1LUeEL67l0ur1pafnT7b4yE0N/t +KpU+8OBbftjRfDvLYMCXqJDGeBssIpZo10KsrzjRQoXFQOya0NMF+LD2j8AMrUJrzW/ ve/E+3HjTFyawNdVDvfRf8XGe0v4CZtV8GRgIgCg1zlZWHfEFlVgEsX7Pct5C6a5wwJ4 bxomtJD/zLE7AFdWuRPg9oVZr36WsZJxXWFabR1xK0iWqmnqh/wZHCYbxbl1CnHgdQJU /X6a8hruLn3TxDjh6tEFVWnqP0doCZD7VCopFnvA93Elx/4jGDdLCMCp3gTd/MfiaGBX 6/Cw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:from:cc:content-transfer-encoding:mime-version:date:message-id :subject:references:in-reply-to:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=22ObQGxg+tFUaeC+8ZZZyuwT6ARH/aXdjVJKbHdOy44=; b=W4o0ThdPIPNCOQj7JiV7u3X2GfV9LMbFPIAh3TfZazVSX1CkPa8W35/1YfIh6EEIoD QJozKKB1105XjaBJTOjC0BqF0pc5y/OYsokdkA3M2ZGJL0J3XMX26vbBDciPFI99gBr1 8fW9cwndLfgrXqYp2g1Arwu/jON679l705lmz4x2vOdxK+wJClKalV8bczMFYCrsQwpt VT3l+E7qEyQIpUPdP+GMF/bszRmlLj2SF5Ezrn77nXN3pG+qC6mulLlOkro/vOsG3ND0 7GOclb/DL3pQFhq1n6GgPesAJ9vPpRYtX/OfBZ0Daw0U0LFYJyWxcj45ppnOdsMwSqvY Xcag== X-Gm-Message-State: ANoB5pmt2CV7QNIrP3Zq9wW4ybCCL2brSYxMCys/fstD0u9MewIrNRLc EG7vkddjqzE2s1cNL4zK2iiAn11MnIq9e4TP X-Received: by 2002:a05:6a20:549e:b0:a3:218a:c761 with SMTP id i30-20020a056a20549e00b000a3218ac761mr31611098pzk.5.1670953190283; Tue, 13 Dec 2022 09:39:50 -0800 (PST) Received: from localhost ([135.180.226.51]) by smtp.gmail.com with ESMTPSA id l5-20020a639845000000b004767bc37e03sm7100779pgo.39.2022.12.13.09.39.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Dec 2022 09:39:49 -0800 (PST) In-Reply-To: <20221207091112.2258674-1-guoren@kernel.org> References: <20221207091112.2258674-1-guoren@kernel.org> Subject: Re: [PATCH] riscv: Fixup compile error with !MMU Message-Id: <167095316650.17956.4201047992243402866.b4-ty@rivosinc.com> Date: Tue, 13 Dec 2022 09:39:26 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Mailer: b4 0.11.0-dev-e660e Cc: Conor Dooley , linux-arch@vger.kernel.org, linux-riscv@lists.infradead.org, Guo Ren , kernel test robot , linux-kernel@vger.kernel.org From: Palmer Dabbelt To: Conor Dooley , guoren@kernel.org, lizhengyu3@huawei.com, liaochang1@huawei.com X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,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 Wed, 7 Dec 2022 04:11:12 -0500, guoren@kernel.org wrote: > From: Guo Ren > > Current nommu_virt_defconfig can't compile: > > 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); > | ^~~~~~~ > > [...] Applied, thanks! [1/1] riscv: Fixup compile error with !MMU https://git.kernel.org/palmer/c/c528ef0888b7 Best regards, -- Palmer Dabbelt