From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=128.30.2.78 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796407563; b=43qXXckV7RimhyTH7ZloDAITOuMeWNOftfwyFtYo8YblOwYMf8dd0k8PNCXh8RaVJxtR tuix084PY562OLt7ajuwhoz5xPsJS0y7Hpvh3Dz50aN/XX4OdWeuLEOEFv7W5F59USHIe VA0NqQKsSsgsiQHhDJJnFdxOZ2kLNGDIeFFOh5LsDDfF4/ci2afbf36TkJLocxEvNC+qr 2ItLUpN7ikHYMzJChhF37xDG7rbo+lUdTxjLoKMICI6yGBUj8lsaP85BYen2ANtkuNwrC HDv5w3820CgJh3Q5Rt1/8NMxKf3hsMs4yMlRlz6ud+1eBcD+zswVNAL/zhxIfxsGKmQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796407563; h=DMARC-Filter:DKIM-Signature:Received:Date:From:To:Cc:Subject: Message-ID:References:MIME-Version:Content-Type:Content-Disposition: Content-Transfer-Encoding:In-Reply-To; bh=4J6kqaFQRAHDLxgBiDcQdHmxyz2IOS7NwYtIbrW4dmE=; b=4Ea3zcSotnmYoMWfpmBTfPPBbYpbXOOSl7uVCJSBOXkAFgBil8mJS6Q1TBALM4q+z9oa s/VaDyIAKP4KcR7pB7dCaS6NwuAwXQyN3XwHeToEpTZmF6xpwoUL3hz6OQGPqJBGj0DWB og3RrMbwILgKSFkRQrBWYSFboGfO3ZX7/Gkx4idj+eb4iGbzNoljY2Eh8TH7oTy4wGnkd 9ohRMMQ6aYa4rMRyfVqYqWBibWx5JX7VjX9JzU6GgRIQkt4igHry1oo3bG4rAH54l4w66 UBr3Eu8F1ASwztEar1EeeRjdF0KHGmQS6klQn0s6HQEsY9d9s+1c5/Me9OFZnWIuLtQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=csail.mit.edu; spf=pass smtp.mailfrom=csail.mit.edu; dkim=pass header.d=outgoing.csail.mit.edu header.i=@outgoing.csail.mit.edu header.a=rsa-sha256 header.s=test20231205 header.b="EO/Bbp8t"; arc=none smtp.remote-ip=128.30.2.78 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 ECDHE (prime256v1) server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B4FDE606A68D; Fri, 4 Dec 2026 18:06:02 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org B4FDE606A68D Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=csail.mit.edu Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=csail.mit.edu Authentication-Results: smtp.subspace.kernel.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=EO/Bbp8t 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-Transfer-Encoding:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Sender:Reply-To: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=4J6kqaFQRAHDLxgBiDcQdHmxyz2IOS7NwYtIbrW4dmE=; t=1796407562; x=1797271562; b=EO/Bbp8tTNEr3TjasIIHMDK+chNbV7wuQ80Nc2UseJB9YOjLeL/hLC+XcwOhU 5N3J2lYKQlEplxoEMxBp3paj3hbmxf9TM47du1H22JiGkW/7YK3QneIYWjCacos8KPpzNupTr6AyF PeEfpRS5xzlUiSUAoYnWKxydMS4r33cYLbyCP4tyZljKzIGkHR2wXUaUF/y2Gc1sF+p8nx6HVE3aI zuXLghbUdwRFcjvtdXmPoxHDADdgCWdnrHPtgMVhHI8XQip50RJ4civJgDzwURFn1WcAzuhWNszig D/lHq/OdiGtY24K9vVp1uQHAeM2ftIVy8xq1pvnf0pddiRSPhw==; Received: from [49.207.236.45] (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 1xZXew-006eMe-Q6; Fri, 04 Dec 2026 13:05:27 -0500 Date: Fri, 4 Dec 2026 23:35:05 +0530 From: "Srivatsa S. Bhat" To: "Rafael J. Wysocki (Intel)" Cc: 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 , 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 , 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, Prasanna Kumar T S M , Saurabh Sengar , Thara Gopinath Subject: Re: [PATCH 05/14] cpuidle, cpu/hotplug: Update name & callbacks to match their hotplug states Message-ID: References: <20261204-fix-cpuhp-state-names-v1-0-32e62361ce1d@csail.mit.edu> <20261204-fix-cpuhp-state-names-v1-5-32e62361ce1d@csail.mit.edu> X-Mailing-List: linux-leds@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: On Fri, Dec 04, 2026 at 01:39:39PM +0100, Rafael J. Wysocki (Intel) wrote: > On Thu, Dec 3, 2026 at 8:18 PM Srivatsa S. Bhat (Microsoft) > wrote: > > > > The PSCI and RISC-V SBI idle drivers register their hotplug callbacks at > > CPUHP_AP_CPU_PM_STARTING, but both state names end in ':online'. > > This state belongs to the STARTING section, whose callbacks run with > > interrupts disabled, not to the ONLINE section. > > > > Change both suffixes to ':starting', following the naming convention > > documented in Documentation/core-api/cpu_hotplug.rst. > > > > Also, rename the registered CPU hotplug startup and teardown callbacks > > to match the states that they are associated with. > > > > No functional change intended, except for the update to the name string, > > which gets reflected in sysfs output and instrumentation. > > > > Fixes: 9c6ceecb6541 ("cpuidle: psci: Support CPU hotplug for the hierarchical model") > > Fixes: 6abf32f1d9c5 ("cpuidle: Add RISC-V SBI CPU idle driver") > > These two drivers are maintained by different people, so it would be > good to send separate patches for them unless you want the series to > be routed together. > I see, thank you for the heads-up! I'll split them into separate patches for v2. As for routing the patches, I don't have any preference as such -- all the patches are independent, so they can go through different trees without introducing any dependencies, if that's convenient. Or, @Thomas, if you would like to take the entire series through the tip tree considering these are changes related to CPU hotplug callsites, that would be great too (i.e., if you are ok with the changes proposed, of course! :-)). > > Signed-off-by: Srivatsa S. Bhat (Microsoft) > > --- > > drivers/cpuidle/cpuidle-psci.c | 10 +++++----- > > drivers/cpuidle/cpuidle-riscv-sbi.c | 10 +++++----- > > 2 files changed, 10 insertions(+), 10 deletions(-) > > Regards, Srivatsa