Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp2927191rdb; Mon, 4 Dec 2023 11:14:54 -0800 (PST) X-Google-Smtp-Source: AGHT+IHVaiyBOzMI2/jvLDZQNWNoXbPbTnB5fxRzwOGhmnNj1gef5FDUYB1QSyncxMZSH0aVcnxp X-Received: by 2002:a05:6a20:4422:b0:187:a6ee:9d6f with SMTP id ce34-20020a056a20442200b00187a6ee9d6fmr281610pzb.0.1701717294635; Mon, 04 Dec 2023 11:14:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701717294; cv=none; d=google.com; s=arc-20160816; b=NMj+vXjNuZCnfA70fiYLZs2HULqS8BrasNf/Da14LH5EX/aF8rChW3QBicP5BeLeH9 LdghPSGETe1VdaKKqPp2aEt+gQbzfvcGGkZARz1IFhvKQsBTrcn44bLfdxIhFIMpDSt5 FCddnZwt17YAkJWWrH87soVfs+9SonTGEF0ljgS38rCc5zEriLgd3ox7AA3dC3JzFZqv uOOrH4OWWaifGTeKg+a2vT8cnUIYn8hShKK60/Pc0WN9avL1HFJa9mlFOj6Ot2JtU/iv qz6mOX7+Plf02vEGDKz3VBbGh8HxbvY2QEP1MbLy5y6Tni/dnf7xmDCfrx9j1B7VEaF/ KAWQ== 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=avd9kpVhWVz2B8M8Ybf0Aja5DrFeuHw1R35QMA4ZI+c=; fh=QNAU/5NZxVvp2DlElz/Hms8qzlAVfxtJgUuaY402hro=; b=IPp7u3raHcrTrByvkBZMWSCeAs0eZfRUeFSnXUSFjuI9KkOgU7FwFFdD6mAnfMSNOf 062dd7xMCPw9rl+30VRsi8EBwa4US6WQS+SzzgV4IwHoQN57gP8MDPnAioVGlhmHzjoC LzC2Nnx9AyWKzHNHU3KF1QSEKStwQ+SwjqJ1y5j0pYqDddbsMtdl8rzWKaoWNTnv81t4 oanyJdvy4z7WilbIkSlaTvmZJx5JYogPCxMXvN1dt1YGbhC4GNsIY5hZTtn/e7Ig6KHT /hkQMXMKLDmALt/Wjl0oUV9j6+cqtGrAFuv3moW42qyuG3Y/zCPnrCV7/wW8BKnstN7U JE1A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=fr99GW5c; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id u13-20020a6540cd000000b005be0050a443si7907545pgp.430.2023.12.04.11.14.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Dec 2023 11:14:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=fr99GW5c; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 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 pete.vger.email (Postfix) with ESMTP id EBD8C80BC11F; Mon, 4 Dec 2023 11:14:51 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234862AbjLDTOg (ORCPT + 99 others); Mon, 4 Dec 2023 14:14:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46600 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231462AbjLDTOd (ORCPT ); Mon, 4 Dec 2023 14:14:33 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 958A1187; Mon, 4 Dec 2023 11:14:37 -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=avd9kpVhWVz2B8M8Ybf0Aja5DrFeuHw1R35QMA4ZI+c=; b=fr99GW5caHfSxsY/5+j9x6lnD0 l/95EYHH/31qeCFDn35JABWm/dAXSF0CNShkcWkyDCkYGAFRUmR+y84+2r1y4bw8lkUNYlL+Mzjqs qYzB0IAWXTNSmaEbHmjrcwZQiwoOOObUmEfzfRNvd4DQu2LqpAHlZ7FWjfEa8Lj5O5YJz9BnMr+p2 IO0egqlQgdGtdgK8c6kiCRBj+jd/6duuU9aojp7Nkq5SQed9xM+z4XPSViC7w9YIOyYsyxXfjKJw0 oanG7uyO9tlhDS8lvMuZ/NDhrD19v0pMGU22BOyHIHjOaO5cy9bgG3o5CNcCgGQLu9iE2Ghtyjb+I tR0c9H0g==; 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 1rAEOo-005QO4-2M; Mon, 04 Dec 2023 19:14:34 +0000 Message-ID: <17633619-fde3-4f36-b047-413e79c8116f@infradead.org> Date: Mon, 4 Dec 2023 11:14:34 -0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 2/2] riscv, kexec: fix dependency of two items Content-Language: en-US To: Baoquan He Cc: Stephen Rothwell , akpm@linux-foundation.org, ignat@cloudflare.com, linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, kexec@lists.infradead.org, eric_devolder@yahoo.com References: From: Randy Dunlap In-Reply-To: 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 pete.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 (pete.vger.email [0.0.0.0]); Mon, 04 Dec 2023 11:14:52 -0800 (PST) On 12/3/23 18:23, Baoquan He wrote: > Drop the dependency on MMU from ARCH_SUPPORTS_KEXEC and > ARCH_SUPPORTS_KEXEC_FILE because CONFIG_MMU could be disabled while > people may still want to have KEXEC/KEXEC_FILE functionality. > > Signed-off-by: Baoquan He Tested-by: Randy Dunlap # build-tested Thanks. > --- > arch/riscv/Kconfig | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig > index 95a2a06acc6a..24c1799e2ec4 100644 > --- a/arch/riscv/Kconfig > +++ b/arch/riscv/Kconfig > @@ -685,7 +685,7 @@ config RISCV_BOOT_SPINWAIT > If unsure what to do here, say N. > > config ARCH_SUPPORTS_KEXEC > - def_bool MMU > + def_bool y > > config ARCH_SELECTS_KEXEC > def_bool y > @@ -693,7 +693,7 @@ config ARCH_SELECTS_KEXEC > select HOTPLUG_CPU if SMP > > config ARCH_SUPPORTS_KEXEC_FILE > - def_bool 64BIT && MMU > + def_bool 64BIT > > config ARCH_SELECTS_KEXEC_FILE > def_bool y -- ~Randy