From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=13.77.154.182 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796369330; b=qS2RwzH1+u9EUAsjRCl05ZzZwXi1OA5qBwo34hMkDGICRLegAXUbFBKR4A+E2hFEcPr4 WaljU9YoVcUmJTgfrJDPAD5IOMjdGxppkh/j1DGyuou8ci9negj8SvrO5D2taFuGFuHZY T7feQU47FqcO+z569HY9oyObKs89UkDoIUuJ2VI67EkP1X5MVfT5xMVO9wJTE0cL44BPX 4pU5DZpXfY2V5g0isdQPmWhOCl9sqMmTLuqwHLkV3RFFusR5lPgSu35Vt4bdIbtxbTmEH pO0q8olOzd0tkCIyH5FcIVgudwJuKkId9dLfykXoTMcThVh8ry17s8rDy26az25ukUQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796369330; h=DMARC-Filter:Received:DKIM-Filter:DKIM-Signature:Message-ID:Date: MIME-Version:User-Agent:Subject:To:Cc:References:Content-Language: From:In-Reply-To:Content-Type:Content-Transfer-Encoding:X-Spam-Status: X-Spam-Checker-Version; bh=XA/4zv34TtVX3uCLjrUL1vEX1+4MZasDO482phci9s4=; b=IRg6xDzdlIF6Ua6l6id1TAhhrGSfiUaCljfLVjlKOawlic4Z+ghVu+I6Xx5tMIRsy+/+ 8e8pDWA7WIpHzCjn0Jazl+9qqOaRd+c+bVC30EqIBlOnSkQ19X2n/NXPZmMkyfztBg1oS 4et7U11dAjxylVtODaF89BuSZAR0cPuBfoWeTmWsxCl5oycH/gdCxqOajAty5GXCrtcjl /ZPF2A2eaLeb0cb7KVXgTAp/euxAa9ILmVmwJjfktxJ1AWee/O8mfO10xvwiFhjRqzD8q FroWnjdYJ7bkpD5UodktYt2DpNXYq/oDKVfTdxf+p+8+UCIu222GW66Rz7elUyoz+3g== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=linux.microsoft.com; spf=pass smtp.mailfrom=linux.microsoft.com; dkim=pass header.d=linux.microsoft.com header.i=@linux.microsoft.com header.a=rsa-sha256 header.s=default header.b=mwAS1h62; arc=none smtp.remote-ip=13.77.154.182 Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8FD1E606A322; Fri, 4 Dec 2026 07:28:50 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 8FD1E606A322 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.microsoft.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.microsoft.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.microsoft.com header.i=@linux.microsoft.com header.a=rsa-sha256 header.s=default header.b=mwAS1h62 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-Mailing-List: linux-mips@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list 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> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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