From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 C1E90606A322 for ; Fri, 4 Dec 2026 07:31:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=3wd54leh; dkim=fail reason="signature verification failed" (1024-bit key) header.d=linux.microsoft.com header.i=@linux.microsoft.com header.a=rsa-sha256 header.s=default header.b=mwAS1h62 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To:Subject: MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Unsubscribe-Post:List-Owner; bh=4WitdRBiEAE5wUReQwX/klUsNKtYVYqOj99Ll48lBAs=; b=3wd54lehgKge5ft8inEWeQHWFV 3F8CvkfCRDO1jSd6s7DylguhXHWCImcfmtMWHdyOuSY78PMqRw2Df2qJCxgSXuPA+qUf2I1uHVMTo WAOEIiaknroDZAMj2cfoWO0FkXbHboW0JgI9vnDl8TfJjAG+xKcTIKUwlxmDq9fhqsabFlcCTb/rv LaKH0ddK7867pQpv42Ouyvt9E2jROozhk7gDwEAeI/SBWXcspRM22JOHsjx0cuqWponJvrFiudLYU 8Na7ktSBEyTA21AHuKh+OQScaDil43B+DCprDeoASRfWGOEH7bGzWfRVCfgBfC5KoWd6U4TpF8R2Y 6NtOK34A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xZNk6-0000000Gwe5-1Q2E; Fri, 04 Dec 2026 07:30:19 +0000 Received: from linux.microsoft.com ([13.77.154.182]) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xZNis-0000000Gw95-2VLz; Fri, 04 Dec 2026 07:29:30 +0000 Received: from [10.94.176.68] (unknown [52.172.102.222]) by linux.microsoft.com (Postfix) with ESMTPSA id F3A6C20B7172; Thu, 3 Dec 2026 23:28:28 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com F3A6C20B7172 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1796369329; bh=XA/4zv34TtVX3uCLjrUL1vEX1+4MZasDO482phci9s4=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=mwAS1h62O7s4NghAl01ksChAfT+l6ZRdBpci4GxIqHwwl2ohr0LaBmOgWV0zgI3Ck d9w+xCWWSnjLQj4na8u2X1IphE4LZ6hdSS3zvPrkJek1sxewsGimJgHVdbQgxI/+Mg R7iPnFPXJgBadwggLSmn+EZfLemDVNW3YrEiCIIE= Message-ID: Date: Fri, 4 Dec 2026 12:58:28 +0530 X-Archived-By: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 14/14] cpuidle/s390, cpu/hotplug: Update teardown callback to match its hotplug state To: "Srivatsa S. Bhat (Microsoft)" , Jassi Brar , Michal Simek , Saeed Nowshadi , Tanmay Shah , Tejas Patel , Rajan Vaja , Greg Kroah-Hartman , Abhyuday Godhasara , Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexandre Ghiti , Heinrich Schuchardt , Anup Patel , Conor Dooley , Caleb James DeLisle , Daniel Lezcano , Thomas Gleixner , Maxime Coquelin , Alexandre Torgue , Herve Codina , Chris Packham , Markus Stockhausen , Sander Vanheule , Lorenzo Pieralisi , Sudeep Holla , Ulf Hansson , "Rafael J. Wysocki" , Christian Loehle , Anup Patel , Atish Patra , Suzuki K Poulose , Mike Leach , James Clark , Leo Yan , Alexander Shishkin , Yeoreum Yun , Radu Rendec , =?UTF-8?B?QmrDtnJuIFTDtnBlbA==?= , Lee Jones , Pavel Machek , Griffin Kroah-Hartman , Lukasz Luba , Jens Wiklander , Sumit Garg , Etienne Carriere , Andrew Morton , Zqiang , Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Namhyung Kim , Mark Rutland , Jiri Olsa , Ian Rogers , Adrian Hunter , Guo Ren , Mao Han , Mete Durlu , Heiko Carstens , Vasily Gorbik , Alexander Gordeev , Christian Borntraeger , Sven Schnelle Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Palmer Dabbelt , linux-riscv@lists.infradead.org, linux-mips@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-renesas-soc@vger.kernel.org, linux-pm@vger.kernel.org, coresight@lists.linaro.org, linux-leds@vger.kernel.org, op-tee@lists.trustedfirmware.org, linux-perf-users@vger.kernel.org, linux-csky@vger.kernel.org, linux-s390@vger.kernel.org, Saurabh Sengar , Thara Gopinath References: <20261204-fix-cpuhp-state-names-v1-0-32e62361ce1d@csail.mit.edu> <20261204-fix-cpuhp-state-names-v1-14-32e62361ce1d@csail.mit.edu> Content-Language: en-US From: Prasanna Kumar T S M In-Reply-To: <20261204-fix-cpuhp-state-names-v1-14-32e62361ce1d@csail.mit.edu> X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=ham 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20261203_232915_619874_F5D31282 X-CRM114-Status: GOOD ( 18.01 ) X-Spam-Score: -4.4 (----) X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-riscv" On 04-12-2026 00:46, Srivatsa S. Bhat (Microsoft) wrote: > The s390 cpuidle teardown callback is registered at CPUHP_AP_ONLINE_DYN, > which belongs to the ONLINE section. However, its dead suffix suggests > that it runs in the PREPARE section on a control CPU, rather than in the > ONLINE section on the hotplugged CPU. > > Rename s390_cpuidle_cpu_dead() to s390_cpuidle_cpu_offline() to match > the section where it runs. > > No functional change intended. > > Fixes: 01c162e27a05 ("s390/idle: Introduce cpuidle for s390") > Signed-off-by: Srivatsa S. Bhat (Microsoft) > --- > drivers/cpuidle/cpuidle-s390.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/cpuidle/cpuidle-s390.c b/drivers/cpuidle/cpuidle-s390.c > index 1d02a77ebce0..c07a42a7362d 100644 > --- a/drivers/cpuidle/cpuidle-s390.c > +++ b/drivers/cpuidle/cpuidle-s390.c > @@ -55,7 +55,7 @@ static int s390_cpuidle_cpu_online(unsigned int cpu) > return rc; > } > > -static int s390_cpuidle_cpu_dead(unsigned int cpu) > +static int s390_cpuidle_cpu_offline(unsigned int cpu) > { > struct cpuidle_device *dev = &per_cpu(cpuidle_dev, cpu); > > @@ -104,7 +104,7 @@ static int __init s390_cpuidle_init(void) > rc = cpuhp_setup_state_nocalls(CPUHP_AP_ONLINE_DYN, > "cpuidle/s390:online", > s390_cpuidle_cpu_online, > - s390_cpuidle_cpu_dead); > + s390_cpuidle_cpu_offline); > if (rc < 0) { > cpuidle_unregister(&s390_cpuidle_driver); > pr_err("Failed to allocate hotplug state: cpuidle/s390:online\n"); > Looks good to me. Reviewed-by: Prasanna Kumar T S M _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv