Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp2452836rdb; Sun, 3 Dec 2023 18:23:40 -0800 (PST) X-Google-Smtp-Source: AGHT+IEZS35eQ94IJPWMI/TVz1xFJConJp1OZfH0BX6UxJdayKL3vKJpmhSD9kiR5aezEaGR0ctE X-Received: by 2002:a17:903:41ce:b0:1d0:9416:efec with SMTP id u14-20020a17090341ce00b001d09416efecmr510938ple.74.1701656619985; Sun, 03 Dec 2023 18:23:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701656619; cv=none; d=google.com; s=arc-20160816; b=z8QN93FDI+N99fB98igit9a7FL0Eg/zdnu42gKH6W43BO3NoTnYlGRxi/3tAgsw+YO bNGMKHNqpfzNz+F663KXp3ABNLMLMqAbRc24/aJbJk5vGJb7lJ7zRAAVSImNSwrJNtFd JbOebg0/BgWU0hIXUh8sBBUa+8g9/1TWYo/aDwWQYMiQvd2AMEvhOy7587p3nuhmET1K igarwuWCHz281i0NlqztyF3m3EPHtVCfiKQKRORaXVkR/xBgcMl+xDRP/p9L6hcykThz hZmKDVG8HunbwDFSAPQeb0xuRCNXepD+BYiIFsUYs03qyZCzf0qqUhBoWgMEAuPs8l/+ jhAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=N3oj/lBQzpBpheCv8g6m9tnnqQ9YL5qzNhLYbMSq4hU=; fh=HAejCrz4htgyq+AHWa8EfdAgsX8pXGw7u/85G1yKZnc=; b=YAeDRWsizgPkDEFa63WE06HtVO+ffmBRFvMLrwX51dVhf+4naLuNsrd9YaDT7U9o4p CddyUClbeguSEyQFMVjqq5PL68lxdn12ZTvswYt7i898g9zlWMWyOPhKAnaU6iIBxu0z 6pMiILAXBekmAlNvQy7i0i/Xnnb5nIkHgmkbKqbyV6R43fTIwphKxnYWCUCP04fWzL0F taYfD0bGhg35vvHaAxtEfWeHx3U4MIuADHM/zyPPZ3nz7Lp2KmFcfEg1gpxMinAvFUsk 7tvuGZKkeCXHLHVgpRUiFIy509kMEKZn8RNxVoQltYzDlmNPMw9pEI3JUXnFafqxPerH xQpw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=SIKrtVdD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id g15-20020a1709029f8f00b001d07ebef61csi2404492plq.502.2023.12.03.18.23.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 03 Dec 2023 18:23:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=SIKrtVdD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id B7B528072440; Sun, 3 Dec 2023 18:23:37 -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 S234331AbjLDCXZ (ORCPT + 99 others); Sun, 3 Dec 2023 21:23:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36074 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229510AbjLDCXY (ORCPT ); Sun, 3 Dec 2023 21:23:24 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6BB0FCB for ; Sun, 3 Dec 2023 18:23:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1701656609; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=N3oj/lBQzpBpheCv8g6m9tnnqQ9YL5qzNhLYbMSq4hU=; b=SIKrtVdDtLNtboFkQnNvawwXMFgLcmNW1wgxoUEyKzNc8j/W7+2PREJSZZGVG4NW9KQFnd /SL00dOdwjEviiaXvC3tn0EJcz7wXTS5X7PtbWGCWE8EE7XHJkjoeQ6RpVnAcGsVBl4V9G ZQootjWlBjvEyGKP0sWpIThDTqR5aUo= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-623-itdX0an8McWg5ZpBNZWuxQ-1; Sun, 03 Dec 2023 21:23:27 -0500 X-MC-Unique: itdX0an8McWg5ZpBNZWuxQ-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 6D4C180F82F; Mon, 4 Dec 2023 02:23:27 +0000 (UTC) Received: from localhost (unknown [10.72.113.121]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 80B4A2026D6E; Mon, 4 Dec 2023 02:23:26 +0000 (UTC) Date: Mon, 4 Dec 2023 10:23:23 +0800 From: Baoquan He To: Randy Dunlap 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 Subject: [PATCH 2/2] riscv, kexec: fix dependency of two items Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.4 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,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]); Sun, 03 Dec 2023 18:23:37 -0800 (PST) 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 --- 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 -- 2.41.0