From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B0E64606A31E for ; Mon, 23 Nov 2026 19:20:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=outgoing.csail.mit.edu header.i=@outgoing.csail.mit.edu header.a=rsa-sha256 header.s=test20231205 header.b=ITlcDb4s Received: from boromir.ozlabs.org (localhost [127.0.0.1]) by lists.ozlabs.org (Postfix) with ESMTP id 4jYG3l5LbHz2y7r; Tue, 24 Nov 2026 06:20:03 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; arc=none smtp.remote-ip=128.30.2.78 ARC-Seal: i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1795461603; cv=none; b=IUrT3rJgr+czQMAmVtIPymr0rAf5nGdlDmrchRHcjGfkXYEX1q8Yq9WNLDxGlrwhSdbF/XZIsFkYjhw4OQYU79CrSnM70RRV3X6s4vcwOvc9hAZrtugPiDbpM+RsIqmg42CLU2KWXsYedcilCPYEc45lCeJGZJl782tFcAd3vmU6wSri5B9ieQL2D0FUSPaLbZMUQJoiJ7AXnBY5Tevi8gt2iC/3V4UGXd7wXTdnUbxFtcR3fZYrpiQIXg5VHZup5FWHJE9WLZx8h0BsJjdjbUI3CWdi7cW2KgV90o9Tcv7dQBcnkVPh0J0IIi8M4E75W45ZTlKTv2xhEHoUFTN5IQ== ARC-Message-Signature: i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1795461603; c=relaxed/relaxed; bh=YbFSS6dJsC7jMPW/wNXp8H44yQ2FcFRYnsa9hFAzYJM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=A3uZOrpeJa18znkb050lEe4ceOzP4Z0ppsUHZQJ5EUMG2mzdWnF6oUwbC0b4Fss+2BPy03gmIUkGd0fND3D1bMK7pijdRVmPLxT6iBeyWuOzeyuOqYodXEQFnvrCy1TDZCAENeMPpBuZ+BCPlbHp+r/wPrhAi2dEsOjoLefbACyeoulwJDb7N/zo8+/fOue/R7PGC+vzVg4zdpW4wvU/2Imu9bbgebXvlxJT3mQ/OW3DF2dxnLWoCE+aOpJAtUuUh+t1cCqvgEMlbSDk8xlHHt3hz1kccLL+JprXNyGrwfOGEN7awaFCXnR0OhvVDotx/uvbnwNj6AT6npBWhFEePQ== ARC-Authentication-Results: i=1; lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=csail.mit.edu; dkim=pass (2048-bit key; unprotected) header.d=outgoing.csail.mit.edu header.i=@outgoing.csail.mit.edu header.a=rsa-sha256 header.s=test20231205 header.b=ITlcDb4s; dkim-atps=neutral; spf=pass (client-ip=128.30.2.78; helo=outgoing2021.csail.mit.edu; envelope-from=srivatsa@csail.mit.edu; receiver=lists.ozlabs.org) smtp.mailfrom=csail.mit.edu Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=csail.mit.edu Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=outgoing.csail.mit.edu header.i=@outgoing.csail.mit.edu header.a=rsa-sha256 header.s=test20231205 header.b=ITlcDb4s; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=csail.mit.edu (client-ip=128.30.2.78; helo=outgoing2021.csail.mit.edu; envelope-from=srivatsa@csail.mit.edu; receiver=lists.ozlabs.org) X-Greylist: delayed 217 seconds by postgrey-1.37 at boromir; Tue, 24 Nov 2026 06:20:01 AEDT Received: from outgoing2021.csail.mit.edu (outgoing2021.csail.mit.edu [128.30.2.78]) (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 lists.ozlabs.org (Postfix) with ESMTPS id 4jYG3j0QyNz2xwP for ; Tue, 24 Nov 2026 06:20:00 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=outgoing.csail.mit.edu; s=test20231205; h=In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=YbFSS6dJsC7jMPW/wNXp8H44yQ2FcFRYnsa9hFAzYJM=; t=1795461601; x=1796325601; b=ITlcDb4s3WHOwe31oBloFc3upXPFyhymT+o+tGIOq6KTr5EEtjVCIbCArhFcQbYGqPtSdxBHuBl cmD5uV4KQibWmLNVga+IPZq0TH7qVkVgriqY6kqSA81Il6LsUOouzy77Zvf90qC8Tmm7nxbWCUJcp IrCbUdqSfAq/zr/FqmfW4zNgbQPrQ0eBlVD+3dS9pFjMudGxLB6jHk8R8KkQLynKCIkj6gXDip3G2 3e2MR1DNP7T6KqAA667in1lDTqaKZ9W2oKnaiaVBzmpVIQ25N9LgzYHPA+bTdBG5E4TwRLApKZZld gF/CdUuMTdy1jHa7bS1CtAlCrOOAlqIYHH6w==; Received: from [49.207.211.146] (helo=csail.mit.edu) by outgoing2021.csail.mit.edu with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1xVZZR-006Yni-DK; Mon, 23 Nov 2026 14:19:21 -0500 Date: Tue, 24 Nov 2026 00:49:07 +0530 From: "Srivatsa S. Bhat" To: "Mike Rapoport (Microsoft)" Cc: Albert Ou , Alexander Gordeev , Andrew Morton , Baoquan He , Borislav Petkov , Catalin Marinas , Dave Hansen , Geert Uytterhoeven , Heiko Carstens , Helge Deller , Huacai Chen , Ingo Molnar , "James E.J. Bottomley" , John Paul Adrian Glaubitz , Madhavan Srinivasan , Palmer Dabbelt , Pasha Tatashin , Paul Walmsley , Pratyush Yadav , Rich Felker , Russell King , Thomas Bogendoerfer , Thomas Gleixner , Vasily Gorbik , Will Deacon , Yoshinori Sato , x86@kernel.org, Alexandre Ghiti , Christian Borntraeger , "Christophe Leroy (CS GROUP)" , Cong Wang , Mark Rutland , Michael Ellerman , Nicholas Piggin , "H. Peter Anvin" , "Ritesh Harjani (IBM)" , Shrikanth Hegde , Sven Schnelle , WANG Xuerui , kexec@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-m68k@lists.linux-m68k.org, linux-mips@vger.kernel.org, linux-parisc@vger.kernel.org, linux-riscv@lists.infradead.org, linux-s390@vger.kernel.org, linux-sh@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, loongarch@lists.linux.dev Subject: Re: [PATCH 2/2] arch, kexec: declare kexec and crash capabilities in Kconfig.kexec Message-ID: References: <20261119-arch-kconfig-v1-0-37c276fe4d26@kernel.org> <20261119-arch-kconfig-v1-2-37c276fe4d26@kernel.org> X-Mailing-List: linuxppc-dev@lists.ozlabs.org List-Id: List-Help: List-Owner: List-Post: List-Archive: , List-Subscribe: , , Precedence: list X-Archived-By: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20261119-arch-kconfig-v1-2-37c276fe4d26@kernel.org> X-Spam-Status: No, score=-8.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_PASS,SPF_PASS autolearn=unavailable autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 On Thu, Nov 19, 2026 at 08:16:58AM +0200, Mike Rapoport (Microsoft) wrote: > The options that let an architecture opt in to kexec and crash dump > features, like ARCH_SUPPORTS_KEXEC or ARCH_SUPPORTS_CRASH_DUMP, are > defined in each architecture's Kconfig as def_bool, and most of them are > copied over several architectures. > > Declare these options once in kernel/Kconfig.kexec next to the options > that depend on them, similarly to how mm/Kconfig does it, and make the > architectures select them instead. > > Selection conditions are preserved, so there is no functional change. > > Acked-by: Baoquan He > Signed-off-by: Mike Rapoport (Microsoft) Reviewed each code movement for correctness and also reasoned through why the ARCH_SELECTS_* entries were left untouched in this series (as they don't yield any consolidation benefits towards Kconfig.kexec). Reviewed-by: Srivatsa S. Bhat (Microsoft) Regards, Srivatsa