Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp9702923rwd; Wed, 21 Jun 2023 10:39:38 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7g8dEDeCs9LwamFFPkG4CDzUmp6YytKxm0L5R7DFm7GC2gBlfZE3bYD77/K6IspiSWLOdP X-Received: by 2002:a17:90a:db49:b0:25e:a1c0:af23 with SMTP id u9-20020a17090adb4900b0025ea1c0af23mr12281212pjx.38.1687369178244; Wed, 21 Jun 2023 10:39:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687369178; cv=none; d=google.com; s=arc-20160816; b=k0BBPXBGZNyhSmqzRHCy109H4pmAmiPcuCbP5Fwm0/y3h6quO8gYxw/PZ9EgkizfYQ UCkf91/piqMV17aXppK5Rfik1re11oks7JyIPE9h4aIiS2l+EfjahOFRVcjopOIP0+hH eXmxaWhXA8Ib1YAMIAp0/e5rCQXpVnZCbzoA94UmUYcTrQ1wRYuXjCF9EfbRz2Rlfy3v aFpw4Hh5cROYeM4sKzzJWYcnvH+U6g6tPKcZWy5juj/BZ9r6ERImnmN8NNXQkCUWGuuX x/eZi79lul1ScCFgqyMGe3NwWgh4u8dIoZco31yMSQ4d7qU5HVtopunSiqX4663MAHBV b9+g== 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:reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=+1r2YxJG3VdcRo/EJFRU7cb6enhR0tYbhLixR8FLzss=; b=Fo/g68uxE49MsW9/dbwqO+3KhmNBNx9KyU5FTofLr0gzJsJjaTaHEIS2BYLD6myFty w6FNoh7UFPZU7PvbJt3Z+5ZmgdHZd6uvZn10yCIxqk//c2J9TTeoRs5968AcSTwWl089 t+F2KTNYhbL9QfY5no1W2xuE1JgSeQXnfdq5Vb6CIttWeozpOJiga2xKnedsQDULJWsf VqYkc/YjVQPqhMY/nfxB3qS3p29fRUei18+6otKriliEGWduhneQQd8LE2wRuYgmFjqo Wdvw0+sncmlOoDnO3LvHHqOsFRwkxb89nsEGPvtpla8bdFqa9/qcDpCtJzJkqxUf8wfo Ca4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ZyW7hIwO; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 29-20020a17090a019d00b0025339314a7bsi1809177pjc.79.2023.06.21.10.39.26; Wed, 21 Jun 2023 10:39:38 -0700 (PDT) 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=@kernel.org header.s=k20201202 header.b=ZyW7hIwO; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229765AbjFUQvW (ORCPT + 99 others); Wed, 21 Jun 2023 12:51:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40170 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229802AbjFUQvG (ORCPT ); Wed, 21 Jun 2023 12:51:06 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D18E51BE1; Wed, 21 Jun 2023 09:50:54 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 3F422615F7; Wed, 21 Jun 2023 16:50:54 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 96030C433C8; Wed, 21 Jun 2023 16:50:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1687366253; bh=nRDgHtA8hqej023ToUhLoZFNoVkS+qHIHVfPG/sX2HM=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To:From; b=ZyW7hIwOiMuVBWbNLKkUGG4I9ld9sU+55M4ZDtjpb54AQkZkjrW2BAQpUQDsBScUV 3PuViCowDv3Bh65idoeIVGTOkyHEoIL1b2dC7j3xNY75mpWFddVIKrc+1BtooEGsEG e/W29ML5aWligBRBGCkUt8zz0q42K8B1DFB8acM9a3AodCf3X2UrAc7M5tj+QzaIJ3 BNU9X9pGdKljGOCb/rjllAVrKb5Q0YONOpcuvdetSA7nDoLJjqbTznsYdA3e/pOQr+ ICEH22H0gKf07QhrEh2lPU2+jAbQ9m6lwbXYETYMIVq5QZlLXIOlJBhglEsFLf9vur hkWXTdIwRXM4w== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id 241B6CE3A04; Wed, 21 Jun 2023 09:50:53 -0700 (PDT) Date: Wed, 21 Jun 2023 09:50:53 -0700 From: "Paul E. McKenney" To: Thomas Gleixner Cc: LKML , x86@kernel.org, David Woodhouse , Andrew Cooper , Brian Gerst , Arjan van de Veen , Paolo Bonzini , Tom Lendacky , Sean Christopherson , Oleksandr Natalenko , Paul Menzel , "Guilherme G. Piccoli" , Piotr Gorski , David Woodhouse , Usama Arif , Juergen Gross , Boris Ostrovsky , xen-devel@lists.xenproject.org, Russell King , Arnd Bergmann , linux-arm-kernel@lists.infradead.org, Catalin Marinas , Will Deacon , Guo Ren , linux-csky@vger.kernel.org, Thomas Bogendoerfer , linux-mips@vger.kernel.org, "James E.J. Bottomley" , Helge Deller , linux-parisc@vger.kernel.org, Paul Walmsley , Palmer Dabbelt , linux-riscv@lists.infradead.org, Mark Rutland , Sabin Rapan Subject: Re: [patch 05/37] x86/topology: Remove CPU0 hotplug option Message-ID: Reply-To: paulmck@kernel.org References: <20230414225551.858160935@linutronix.de> <20230414232309.510911744@linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230414232309.510911744@linutronix.de> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 Sat, Apr 15, 2023 at 01:44:21AM +0200, Thomas Gleixner wrote: > This was introduced together with commit e1c467e69040 ("x86, hotplug: Wake > up CPU0 via NMI instead of INIT, SIPI, SIPI") to eventually support > physical hotplug of CPU0: > > "We'll change this code in the future to wake up hard offlined CPU0 if > real platform and request are available." > > 11 years later this has not happened and physical hotplug is not officially > supported. Remove the cruft. > > Signed-off-by: Thomas Gleixner > --- > Documentation/admin-guide/kernel-parameters.txt | 14 --- > Documentation/core-api/cpu_hotplug.rst | 13 --- > arch/x86/Kconfig | 43 ---------- > arch/x86/include/asm/cpu.h | 3 > arch/x86/kernel/topology.c | 98 ------------------------ > arch/x86/power/cpu.c | 37 --------- > 6 files changed, 6 insertions(+), 202 deletions(-) [ . . . ] > --- a/arch/x86/Kconfig > +++ b/arch/x86/Kconfig > @@ -2294,49 +2294,6 @@ config HOTPLUG_CPU > def_bool y > depends on SMP > > -config BOOTPARAM_HOTPLUG_CPU0 Removing this requires also removing its use in rcutorture. I have therefore queued the commit below in -rcu, but please feel free to take it along with the BOOTPARAM_HOTPLUG_CPU0-removal patch. Just please let me know if you do. (Yes, I finally got back to testing -next. Why do you ask?) Thanx, Paul ------------------------------------------------------------------------ commit 95588de780c0e81004b72526aa3e3ef5ce054719 Author: Paul E. McKenney Date: Wed Jun 21 09:44:52 2023 -0700 rcutorture: Remove obsolete BOOTPARAM_HOTPLUG_CPU0 Kconfig option Now that the BOOTPARAM_HOTPLUG_CPU0 Kconfig option is in the process of being removed, it is time to remove rcutorture's use of it. Link: https://lore.kernel.org/lkml/20230414232309.510911744@linutronix.de/ Signed-off-by: Paul E. McKenney Cc: Thomas Gleixner Cc: diff --git a/tools/testing/selftests/rcutorture/configs/rcu/TREE01 b/tools/testing/selftests/rcutorture/configs/rcu/TREE01 index 04831ef1f9b5..8ae41d5f81a3 100644 --- a/tools/testing/selftests/rcutorture/configs/rcu/TREE01 +++ b/tools/testing/selftests/rcutorture/configs/rcu/TREE01 @@ -15,4 +15,3 @@ CONFIG_DEBUG_LOCK_ALLOC=n CONFIG_RCU_BOOST=n CONFIG_DEBUG_OBJECTS_RCU_HEAD=n CONFIG_RCU_EXPERT=y -CONFIG_BOOTPARAM_HOTPLUG_CPU0=y