Linux Perf Users
 help / color / mirror / Atom feed
* [PATCH 00/14] treewide, cpu/hotplug: Align state and callback names with their sections
@ 2026-12-03 19:16 Srivatsa S. Bhat (Microsoft)
  2026-12-03 19:16 ` [PATCH 01/14] mailbox/zynqmp, cpu/hotplug: Update name & callbacks to match their hotplug states Srivatsa S. Bhat (Microsoft)
                   ` (14 more replies)
  0 siblings, 15 replies; 20+ messages in thread
From: Srivatsa S. Bhat (Microsoft) @ 2026-12-03 19:16 UTC (permalink / raw)
  To: 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, Björn Töpel, 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, linux-arm-kernel, Palmer Dabbelt, linux-riscv,
	linux-mips, linux-stm32, linux-renesas-soc, linux-pm, coresight,
	linux-leds, op-tee, linux-perf-users, linux-csky, linux-s390,
	Srivatsa S. Bhat, Prasanna Kumar T S M, Saurabh Sengar,
	Thara Gopinath

CPU hotplug state names should identify the section in which their
callbacks execute. Documentation/core-api/cpu_hotplug.rst distinguishes
PREPARE callbacks on a control CPU, STARTING callbacks on the hotplugged
CPU with interrupts disabled, and ONLINE callbacks in that CPU's hotplug
thread with interrupts and preemption enabled.

Currently, several CPU hotplug state registrations use name suffixes
that are mismatched from the sections where their callbacks actually
run. For example, the ZynqMP IPI mailbox driver registers
CPUHP_AP_ONLINE_DYN callbacks under "mailbox/sgi:starting". Hence, such
names can be misleading (ex: as viewed from
/sys/devices/system/cpu/hotplug/states) about the callbacks' execution
context. Callback function names can be similarly misleading even when
the registered state-name strings match with their hotplug state and
section.

This series corrects state-name strings and related callback identifiers
across the tree to fix mismatched instances.

No functional change is intended, apart from the renamed strings and
symbols appearing in sysfs output and instrumentation.

Thank you very much!

---
Srivatsa S. Bhat (Microsoft) (14):
      mailbox/zynqmp, cpu/hotplug: Update name & callbacks to match their hotplug states
      soc/xilinx, cpu/hotplug: Update name & callbacks to match their hotplug states
      riscv, cpu/hotplug: Update name & callbacks to match their hotplug states
      clocksource/drivers, hotplug: Update name & callbacks to match their hotplug states
      cpuidle, cpu/hotplug: Update name & callbacks to match their hotplug states
      firmware/arm_ffa, cpu/hotplug: Update name to match the hotplug state
      coresight, cpu/hotplug: Update name & callbacks to match their hotplug states
      irqchip/riscv-aplic, hotplug: Update name & callbacks to match their hotplug states
      leds/trigger/cpu, hotplug: Update name & callbacks to match their hotplug states
      powercap/dtpm_cpu, hotplug: Update name & callback to match the hotplug state
      optee, cpu/hotplug: Update name to match the CPU hotplug state
      debugobjects, cpu/hotplug: Update name & callback to match the hotplug state
      csky, cpu/hotplug: Update name & callbacks to match their hotplug state
      cpuidle/s390, cpu/hotplug: Update teardown callback to match its hotplug state

 arch/csky/kernel/perf_event.c                | 10 +++++-----
 arch/riscv/kernel/cpu.c                      |  6 +++---
 drivers/clocksource/timer-econet-en751221.c  |  6 +++---
 drivers/clocksource/timer-nxp-pit.c          |  6 +++---
 drivers/clocksource/timer-nxp-stm.c          |  6 +++---
 drivers/clocksource/timer-rtl-otto.c         |  2 +-
 drivers/clocksource/timer-rzn1.c             | 10 +++++-----
 drivers/cpuidle/cpuidle-psci.c               | 10 +++++-----
 drivers/cpuidle/cpuidle-riscv-sbi.c          | 10 +++++-----
 drivers/cpuidle/cpuidle-s390.c               |  4 ++--
 drivers/firmware/arm_ffa/driver.c            |  2 +-
 drivers/hwtracing/coresight/coresight-core.c |  6 +++---
 drivers/irqchip/irq-riscv-aplic-direct.c     | 10 +++++-----
 drivers/leds/trigger/ledtrig-cpu.c           |  8 ++++----
 drivers/mailbox/zynqmp-ipi-mailbox.c         |  8 ++++----
 drivers/powercap/dtpm_cpu.c                  |  6 +++---
 drivers/soc/xilinx/xlnx_event_manager.c      |  8 ++++----
 drivers/tee/optee/smc_abi.c                  |  2 +-
 lib/debugobjects.c                           |  6 +++---
 19 files changed, 63 insertions(+), 63 deletions(-)
---
base-commit: 9437ee8b6cf607e883b36e44bd755968daaebd48
change-id: 20261204-fix-cpuhp-state-names-5bba2ba2ba7b

Regards,
Srivatsa


^ permalink raw reply	[flat|nested] 20+ messages in thread

* [PATCH 01/14] mailbox/zynqmp, cpu/hotplug: Update name & callbacks to match their hotplug states
  2026-12-03 19:16 [PATCH 00/14] treewide, cpu/hotplug: Align state and callback names with their sections Srivatsa S. Bhat (Microsoft)
@ 2026-12-03 19:16 ` Srivatsa S. Bhat (Microsoft)
  2026-12-03 19:16 ` [PATCH 02/14] soc/xilinx, " Srivatsa S. Bhat (Microsoft)
                   ` (13 subsequent siblings)
  14 siblings, 0 replies; 20+ messages in thread
From: Srivatsa S. Bhat (Microsoft) @ 2026-12-03 19:16 UTC (permalink / raw)
  To: 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, Björn Töpel, 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, linux-arm-kernel, Palmer Dabbelt, linux-riscv,
	linux-mips, linux-stm32, linux-renesas-soc, linux-pm, coresight,
	linux-leds, op-tee, linux-perf-users, linux-csky, linux-s390,
	Srivatsa S. Bhat, Prasanna Kumar T S M, Saurabh Sengar,
	Thara Gopinath

The SGI setup registers its CPU hotplug callbacks at
CPUHP_AP_ONLINE_DYN, but names the state "mailbox/sgi:starting".
This is misleading because the 'starting' suffix denotes the earlier,
interrupts-disabled STARTING section, and not the ONLINE section.

Rename it to "mailbox/sgi:online", 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: 6ffb1635341b ("mailbox: zynqmp: handle SGI for shared IPI")
Signed-off-by: Srivatsa S. Bhat (Microsoft) <srivatsa@csail.mit.edu>
---
 drivers/mailbox/zynqmp-ipi-mailbox.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/mailbox/zynqmp-ipi-mailbox.c b/drivers/mailbox/zynqmp-ipi-mailbox.c
index 2b81bedf0653..5492c2e49f6d 100644
--- a/drivers/mailbox/zynqmp-ipi-mailbox.c
+++ b/drivers/mailbox/zynqmp-ipi-mailbox.c
@@ -775,7 +775,7 @@ static int versal_ipi_setup(struct zynqmp_ipi_mbox *ipi_mbox,
 	return 0;
 }
 
-static int xlnx_mbox_cpuhp_start(unsigned int cpu)
+static int xlnx_mbox_cpu_online(unsigned int cpu)
 {
 	struct zynqmp_ipi_pdata *pdata;
 
@@ -786,7 +786,7 @@ static int xlnx_mbox_cpuhp_start(unsigned int cpu)
 	return 0;
 }
 
-static int xlnx_mbox_cpuhp_down(unsigned int cpu)
+static int xlnx_mbox_cpu_offline(unsigned int cpu)
 {
 	struct zynqmp_ipi_pdata *pdata;
 
@@ -863,8 +863,8 @@ static int xlnx_mbox_init_sgi(struct platform_device *pdev,
 	irq_set_status_flags(pdata->virq_sgi, IRQ_PER_CPU);
 
 	/* Setup function for the CPU hot-plug cases */
-	cpuhp_setup_state(CPUHP_AP_ONLINE_DYN, "mailbox/sgi:starting",
-			  xlnx_mbox_cpuhp_start, xlnx_mbox_cpuhp_down);
+	cpuhp_setup_state(CPUHP_AP_ONLINE_DYN, "mailbox/sgi:online",
+			  xlnx_mbox_cpu_online, xlnx_mbox_cpu_offline);
 
 	return ret;
 }

-- 
2.43.0


^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [PATCH 02/14] soc/xilinx, cpu/hotplug: Update name & callbacks to match their hotplug states
  2026-12-03 19:16 [PATCH 00/14] treewide, cpu/hotplug: Align state and callback names with their sections Srivatsa S. Bhat (Microsoft)
  2026-12-03 19:16 ` [PATCH 01/14] mailbox/zynqmp, cpu/hotplug: Update name & callbacks to match their hotplug states Srivatsa S. Bhat (Microsoft)
@ 2026-12-03 19:16 ` Srivatsa S. Bhat (Microsoft)
  2026-12-03 19:16 ` [PATCH 03/14] riscv, " Srivatsa S. Bhat (Microsoft)
                   ` (12 subsequent siblings)
  14 siblings, 0 replies; 20+ messages in thread
From: Srivatsa S. Bhat (Microsoft) @ 2026-12-03 19:16 UTC (permalink / raw)
  To: 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, Björn Töpel, 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, linux-arm-kernel, Palmer Dabbelt, linux-riscv,
	linux-mips, linux-stm32, linux-renesas-soc, linux-pm, coresight,
	linux-leds, op-tee, linux-perf-users, linux-csky, linux-s390,
	Srivatsa S. Bhat, Prasanna Kumar T S M, Saurabh Sengar,
	Thara Gopinath

The event manager registers its SGI callbacks at CPUHP_AP_ONLINE_DYN,
but names the state "soc/event:starting". This is misleading because the
'starting' suffix denotes the earlier, interrupts-disabled STARTING
section, and not the ONLINE section.

Rename it to "soc/event:online", 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: c7fdb2404f66 ("drivers: soc: xilinx: add xilinx event management driver")
Signed-off-by: Srivatsa S. Bhat (Microsoft) <srivatsa@csail.mit.edu>
---
 drivers/soc/xilinx/xlnx_event_manager.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/soc/xilinx/xlnx_event_manager.c b/drivers/soc/xilinx/xlnx_event_manager.c
index f733dc42b3b1..41ea6774a851 100644
--- a/drivers/soc/xilinx/xlnx_event_manager.c
+++ b/drivers/soc/xilinx/xlnx_event_manager.c
@@ -550,14 +550,14 @@ static irqreturn_t xlnx_event_handler(int irq, void *dev_id)
 	return IRQ_HANDLED;
 }
 
-static int xlnx_event_cpuhp_start(unsigned int cpu)
+static int xlnx_event_cpu_online(unsigned int cpu)
 {
 	enable_percpu_irq(virq_sgi, IRQ_TYPE_NONE);
 
 	return 0;
 }
 
-static int xlnx_event_cpuhp_down(unsigned int cpu)
+static int xlnx_event_cpu_offline(unsigned int cpu)
 {
 	disable_percpu_irq(virq_sgi);
 
@@ -660,8 +660,8 @@ static int xlnx_event_manager_probe(struct platform_device *pdev)
 	}
 
 	/* Setup function for the CPU hot-plug cases */
-	cpuhp_setup_state(CPUHP_AP_ONLINE_DYN, "soc/event:starting",
-			  xlnx_event_cpuhp_start, xlnx_event_cpuhp_down);
+	cpuhp_setup_state(CPUHP_AP_ONLINE_DYN, "soc/event:online",
+			  xlnx_event_cpu_online, xlnx_event_cpu_offline);
 
 	ret = zynqmp_pm_register_sgi(sgi_num, 0);
 	if (ret) {

-- 
2.43.0


^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [PATCH 03/14] riscv, cpu/hotplug: Update name & callbacks to match their hotplug states
  2026-12-03 19:16 [PATCH 00/14] treewide, cpu/hotplug: Align state and callback names with their sections Srivatsa S. Bhat (Microsoft)
  2026-12-03 19:16 ` [PATCH 01/14] mailbox/zynqmp, cpu/hotplug: Update name & callbacks to match their hotplug states Srivatsa S. Bhat (Microsoft)
  2026-12-03 19:16 ` [PATCH 02/14] soc/xilinx, " Srivatsa S. Bhat (Microsoft)
@ 2026-12-03 19:16 ` Srivatsa S. Bhat (Microsoft)
  2026-12-03 19:27   ` sashiko-bot
  2026-12-03 19:16 ` [PATCH 04/14] clocksource/drivers, hotplug: " Srivatsa S. Bhat (Microsoft)
                   ` (11 subsequent siblings)
  14 siblings, 1 reply; 20+ messages in thread
From: Srivatsa S. Bhat (Microsoft) @ 2026-12-03 19:16 UTC (permalink / raw)
  To: 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, Björn Töpel, 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, linux-arm-kernel, Palmer Dabbelt, linux-riscv,
	linux-mips, linux-stm32, linux-renesas-soc, linux-pm, coresight,
	linux-leds, op-tee, linux-perf-users, linux-csky, linux-s390,
	Srivatsa S. Bhat, Prasanna Kumar T S M, Saurabh Sengar,
	Thara Gopinath

The cpuinfo CPU hotplug callback is registered at CPUHP_AP_ONLINE_DYN,
but its state name is "riscv/cpuinfo:starting". This is misleading
because the 'starting' suffix denotes the earlier, interrupts-disabled
STARTING section, and not the ONLINE section.

Rename it to "riscv/cpuinfo:online", 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: 3baca1a4d490 ("RISC-V: Add mvendorid, marchid, and mimpid to /proc/cpuinfo output")
Signed-off-by: Srivatsa S. Bhat (Microsoft) <srivatsa@csail.mit.edu>
---
 arch/riscv/kernel/cpu.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/riscv/kernel/cpu.c b/arch/riscv/kernel/cpu.c
index af84b97af3a1..2eb4bd346f30 100644
--- a/arch/riscv/kernel/cpu.c
+++ b/arch/riscv/kernel/cpu.c
@@ -192,7 +192,7 @@ unsigned long riscv_cached_mimpid(unsigned int cpu_id)
 }
 EXPORT_SYMBOL(riscv_cached_mimpid);
 
-static int riscv_cpuinfo_starting(unsigned int cpu)
+static int riscv_cpuinfo_cpu_online(unsigned int cpu)
 {
 	struct riscv_cpuinfo *ci = this_cpu_ptr(&riscv_cpuinfo);
 
@@ -221,8 +221,8 @@ static int __init riscv_cpuinfo_init(void)
 {
 	int ret;
 
-	ret = cpuhp_setup_state(CPUHP_AP_ONLINE_DYN, "riscv/cpuinfo:starting",
-				riscv_cpuinfo_starting, NULL);
+	ret = cpuhp_setup_state(CPUHP_AP_ONLINE_DYN, "riscv/cpuinfo:online",
+				riscv_cpuinfo_cpu_online, NULL);
 	if (ret < 0) {
 		pr_err("cpuinfo: failed to register hotplug callbacks.\n");
 		return ret;

-- 
2.43.0


^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [PATCH 04/14] clocksource/drivers, hotplug: Update name & callbacks to match their hotplug states
  2026-12-03 19:16 [PATCH 00/14] treewide, cpu/hotplug: Align state and callback names with their sections Srivatsa S. Bhat (Microsoft)
                   ` (2 preceding siblings ...)
  2026-12-03 19:16 ` [PATCH 03/14] riscv, " Srivatsa S. Bhat (Microsoft)
@ 2026-12-03 19:16 ` Srivatsa S. Bhat (Microsoft)
  2026-12-03 19:40   ` sashiko-bot
  2026-12-03 19:16 ` [PATCH 05/14] cpuidle, cpu/hotplug: " Srivatsa S. Bhat (Microsoft)
                   ` (10 subsequent siblings)
  14 siblings, 1 reply; 20+ messages in thread
From: Srivatsa S. Bhat (Microsoft) @ 2026-12-03 19:16 UTC (permalink / raw)
  To: 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, Björn Töpel, 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, linux-arm-kernel, Palmer Dabbelt, linux-riscv,
	linux-mips, linux-stm32, linux-renesas-soc, linux-pm, coresight,
	linux-leds, op-tee, linux-perf-users, linux-csky, linux-s390,
	Srivatsa S. Bhat, Prasanna Kumar T S M, Saurabh Sengar,
	Thara Gopinath

The EcoNet, NXP PIT, NXP STM and Renesas RZ/N1 timer drivers register
CPUHP_AP_ONLINE_DYN states but name them using the ':starting' suffix.
Conversely, the Realtek Otto timer labels
CPUHP_AP_REALTEK_TIMER_STARTING with an ':online' suffix.

Use ':online' for the ONLINE states and ':starting' for the STARTING
state, as documented in Documentation/core-api/cpu_hotplug.rst. This
makes the hotplug state names describe the actual callback execution
sections.

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: 3b4c33ac87d0 ("clocksource/drivers: Add EcoNet Timer HPT driver")
Fixes: bee33f22d7c3 ("clocksource/drivers/nxp-pit: Add NXP Automotive s32g2 / s32g3 support")
Fixes: cec32ac75827 ("clocksource/drivers/nxp-timer: Add the System Timer Module for the s32gx platforms")
Fixes: 4bdc3eaa102b ("clocksource/drivers/realtek: Add timer driver for rtl-otto platforms")
Fixes: 435167b4f301 ("clocksource/drivers: Add support for the Renesas RZ/N1 timers")
Signed-off-by: Srivatsa S. Bhat (Microsoft) <srivatsa@csail.mit.edu>
---
 drivers/clocksource/timer-econet-en751221.c |  6 +++---
 drivers/clocksource/timer-nxp-pit.c         |  6 +++---
 drivers/clocksource/timer-nxp-stm.c         |  6 +++---
 drivers/clocksource/timer-rtl-otto.c        |  2 +-
 drivers/clocksource/timer-rzn1.c            | 10 +++++-----
 5 files changed, 15 insertions(+), 15 deletions(-)

diff --git a/drivers/clocksource/timer-econet-en751221.c b/drivers/clocksource/timer-econet-en751221.c
index 1859335345b5..9faa54becba2 100644
--- a/drivers/clocksource/timer-econet-en751221.c
+++ b/drivers/clocksource/timer-econet-en751221.c
@@ -93,7 +93,7 @@ static int cevt_set_next_event(ulong delta, struct clock_event_device *dev)
 	return 0;
 }
 
-static int cevt_init_cpu(uint cpu)
+static int cevt_cpu_online(uint cpu)
 {
 	struct clock_event_device *cd = &per_cpu(econet_timer_pcpu, cpu);
 	u32 reg;
@@ -159,8 +159,8 @@ static int __init cevt_init(struct device_node *np)
 	}
 
 	cpuhp_setup_state(CPUHP_AP_ONLINE_DYN,
-			  "clockevents/econet/timer:starting",
-			  cevt_init_cpu, NULL);
+			  "clockevents/econet/timer:online",
+			  cevt_cpu_online, NULL);
 	return 0;
 
 err_unmap_irq:
diff --git a/drivers/clocksource/timer-nxp-pit.c b/drivers/clocksource/timer-nxp-pit.c
index 2f70d1d5e21b..e446f5fe691e 100644
--- a/drivers/clocksource/timer-nxp-pit.c
+++ b/drivers/clocksource/timer-nxp-pit.c
@@ -240,7 +240,7 @@ static void pit_clockevent_per_cpu_exit(struct pit_timer *pit, unsigned int cpu)
 	per_cpu(pit_timers, cpu) = NULL;
 }
 
-static int pit_clockevent_starting_cpu(unsigned int cpu)
+static int pit_clockevent_cpu_online(unsigned int cpu)
 {
 	struct pit_timer *pit = per_cpu(pit_timers, cpu);
 	int ret;
@@ -326,8 +326,8 @@ static int pit_timer_init(struct device_node *np)
 	pit_instances++;
 
 	if (pit_instances == max_pit_instances) {
-		ret = cpuhp_setup_state(CPUHP_AP_ONLINE_DYN, "PIT timer:starting",
-					pit_clockevent_starting_cpu, NULL);
+		ret = cpuhp_setup_state(CPUHP_AP_ONLINE_DYN, "PIT timer:online",
+					pit_clockevent_cpu_online, NULL);
 		if (ret < 0) {
 			pit_clockevent_per_cpu_exit(pit, pit_instances);
 			goto out_pit_clocksource_unregister;
diff --git a/drivers/clocksource/timer-nxp-stm.c b/drivers/clocksource/timer-nxp-stm.c
index ca6c0df0e548..043c0dfec021 100644
--- a/drivers/clocksource/timer-nxp-stm.c
+++ b/drivers/clocksource/timer-nxp-stm.c
@@ -324,7 +324,7 @@ static int nxp_stm_clockevent_per_cpu_init(struct device *dev, struct stm_timer
 	return 0;
 }
 
-static int nxp_stm_clockevent_starting_cpu(unsigned int cpu)
+static int nxp_stm_clockevent_cpu_online(unsigned int cpu)
 {
 	struct stm_timer *stm_timer = per_cpu(stm_timers, cpu);
 	int ret;
@@ -467,8 +467,8 @@ static int nxp_stm_timer_probe(struct platform_device *pdev)
 	 * initialization by registering the clockevents
 	 */
 	if (stm_instances == num_possible_cpus()) {
-		ret = cpuhp_setup_state(CPUHP_AP_ONLINE_DYN, "STM timer:starting",
-					nxp_stm_clockevent_starting_cpu, NULL);
+		ret = cpuhp_setup_state(CPUHP_AP_ONLINE_DYN, "STM timer:online",
+					nxp_stm_clockevent_cpu_online, NULL);
 		if (ret < 0)
 			return ret;
 	}
diff --git a/drivers/clocksource/timer-rtl-otto.c b/drivers/clocksource/timer-rtl-otto.c
index 0d1b9a01a94c..6522f548de07 100644
--- a/drivers/clocksource/timer-rtl-otto.c
+++ b/drivers/clocksource/timer-rtl-otto.c
@@ -286,7 +286,7 @@ static int __init rttm_probe(struct device_node *np)
 		pr_err(" setup of timer %d as clocksource failed", clkidx);
 
 	return cpuhp_setup_state(CPUHP_AP_REALTEK_TIMER_STARTING,
-				"timer/realtek:online",
+				"timer/realtek:starting",
 				rttm_cpu_starting, NULL);
 rollback:
 	pr_err("timer registration failed\n");
diff --git a/drivers/clocksource/timer-rzn1.c b/drivers/clocksource/timer-rzn1.c
index 918e80ce5c62..1f6ad647c7aa 100644
--- a/drivers/clocksource/timer-rzn1.c
+++ b/drivers/clocksource/timer-rzn1.c
@@ -176,7 +176,7 @@ static struct clocksource rzn1_clocksource = {
 /* Timers table where 16-bit timers will be assigned per-cpu */
 static struct rzn1_timer *rzn1_tab_timers;
 
-static int rzn1_local_timer_starting_cpu(unsigned int cpu)
+static int rzn1_local_timer_cpu_online(unsigned int cpu)
 {
 	struct rzn1_timer *timer;
 
@@ -200,7 +200,7 @@ static int rzn1_local_timer_starting_cpu(unsigned int cpu)
 	return 0;
 }
 
-static int rzn1_local_timer_dying_cpu(unsigned int cpu)
+static int rzn1_local_timer_cpu_offline(unsigned int cpu)
 {
 	struct rzn1_timer *timer;
 
@@ -366,9 +366,9 @@ static int rzn1_timer_probe_first(struct platform_device *pdev,
 	 */
 	rzn1_tab_timers = tab_timers;
 	ret = cpuhp_setup_state(CPUHP_AP_ONLINE_DYN,
-				"clockevents/rzn1/global_timer:starting",
-				rzn1_local_timer_starting_cpu,
-				rzn1_local_timer_dying_cpu);
+				"clockevents/rzn1/global_timer:online",
+				rzn1_local_timer_cpu_online,
+				rzn1_local_timer_cpu_offline);
 	if (ret < 0)
 		return dev_err_probe(dev, ret, "Setup CPU hotplug state failed\n");
 

-- 
2.43.0


^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [PATCH 05/14] cpuidle, cpu/hotplug: Update name & callbacks to match their hotplug states
  2026-12-03 19:16 [PATCH 00/14] treewide, cpu/hotplug: Align state and callback names with their sections Srivatsa S. Bhat (Microsoft)
                   ` (3 preceding siblings ...)
  2026-12-03 19:16 ` [PATCH 04/14] clocksource/drivers, hotplug: " Srivatsa S. Bhat (Microsoft)
@ 2026-12-03 19:16 ` Srivatsa S. Bhat (Microsoft)
  2026-12-03 19:16 ` [PATCH 06/14] firmware/arm_ffa, cpu/hotplug: Update name to match the hotplug state Srivatsa S. Bhat (Microsoft)
                   ` (9 subsequent siblings)
  14 siblings, 0 replies; 20+ messages in thread
From: Srivatsa S. Bhat (Microsoft) @ 2026-12-03 19:16 UTC (permalink / raw)
  To: 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, Björn Töpel, 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, linux-arm-kernel, Palmer Dabbelt, linux-riscv,
	linux-mips, linux-stm32, linux-renesas-soc, linux-pm, coresight,
	linux-leds, op-tee, linux-perf-users, linux-csky, linux-s390,
	Srivatsa S. Bhat, Prasanna Kumar T S M, Saurabh Sengar,
	Thara Gopinath

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")
Signed-off-by: Srivatsa S. Bhat (Microsoft) <srivatsa@csail.mit.edu>
---
 drivers/cpuidle/cpuidle-psci.c      | 10 +++++-----
 drivers/cpuidle/cpuidle-riscv-sbi.c | 10 +++++-----
 2 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/drivers/cpuidle/cpuidle-psci.c b/drivers/cpuidle/cpuidle-psci.c
index 3c48876aef85..fbb349a53591 100644
--- a/drivers/cpuidle/cpuidle-psci.c
+++ b/drivers/cpuidle/cpuidle-psci.c
@@ -119,7 +119,7 @@ static int psci_enter_s2idle_domain_idle_state(struct cpuidle_device *dev,
 	return __psci_enter_domain_idle_state(dev, drv, idx, true);
 }
 
-static int psci_idle_cpuhp_up(unsigned int cpu)
+static int psci_idle_cpu_starting(unsigned int cpu)
 {
 	struct device *pd_dev = __this_cpu_read(psci_cpuidle_data.dev);
 
@@ -133,7 +133,7 @@ static int psci_idle_cpuhp_up(unsigned int cpu)
 	return 0;
 }
 
-static int psci_idle_cpuhp_down(unsigned int cpu)
+static int psci_idle_cpu_dying(unsigned int cpu)
 {
 	struct device *pd_dev = __this_cpu_read(psci_cpuidle_data.dev);
 
@@ -208,9 +208,9 @@ static void psci_idle_init_cpuhp(void)
 	int err;
 
 	err = cpuhp_setup_state_nocalls(CPUHP_AP_CPU_PM_STARTING,
-					"cpuidle/psci:online",
-					psci_idle_cpuhp_up,
-					psci_idle_cpuhp_down);
+					"cpuidle/psci:starting",
+					psci_idle_cpu_starting,
+					psci_idle_cpu_dying);
 	if (err)
 		pr_warn("Failed %d while setup cpuhp state\n", err);
 }
diff --git a/drivers/cpuidle/cpuidle-riscv-sbi.c b/drivers/cpuidle/cpuidle-riscv-sbi.c
index eacffd4c02fe..94e9c54ebdd6 100644
--- a/drivers/cpuidle/cpuidle-riscv-sbi.c
+++ b/drivers/cpuidle/cpuidle-riscv-sbi.c
@@ -144,7 +144,7 @@ static int sbi_enter_s2idle_domain_idle_state(struct cpuidle_device *dev,
 	return __sbi_enter_domain_idle_state(dev, drv, idx, true);
 }
 
-static int sbi_cpuidle_cpuhp_up(unsigned int cpu)
+static int sbi_cpuidle_cpu_starting(unsigned int cpu)
 {
 	struct device *pd_dev = __this_cpu_read(sbi_cpuidle_data.dev);
 
@@ -154,7 +154,7 @@ static int sbi_cpuidle_cpuhp_up(unsigned int cpu)
 	return 0;
 }
 
-static int sbi_cpuidle_cpuhp_down(unsigned int cpu)
+static int sbi_cpuidle_cpu_dying(unsigned int cpu)
 {
 	struct device *pd_dev = __this_cpu_read(sbi_cpuidle_data.dev);
 
@@ -175,9 +175,9 @@ static void sbi_idle_init_cpuhp(void)
 		return;
 
 	err = cpuhp_setup_state_nocalls(CPUHP_AP_CPU_PM_STARTING,
-					"cpuidle/sbi:online",
-					sbi_cpuidle_cpuhp_up,
-					sbi_cpuidle_cpuhp_down);
+					"cpuidle/sbi:starting",
+					sbi_cpuidle_cpu_starting,
+					sbi_cpuidle_cpu_dying);
 	if (err)
 		pr_warn("Failed %d while setup cpuhp state\n", err);
 }

-- 
2.43.0


^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [PATCH 06/14] firmware/arm_ffa, cpu/hotplug: Update name to match the hotplug state
  2026-12-03 19:16 [PATCH 00/14] treewide, cpu/hotplug: Align state and callback names with their sections Srivatsa S. Bhat (Microsoft)
                   ` (4 preceding siblings ...)
  2026-12-03 19:16 ` [PATCH 05/14] cpuidle, cpu/hotplug: " Srivatsa S. Bhat (Microsoft)
@ 2026-12-03 19:16 ` Srivatsa S. Bhat (Microsoft)
  2026-12-03 19:16 ` [PATCH 07/14] coresight, cpu/hotplug: Update name & callbacks to match their hotplug states Srivatsa S. Bhat (Microsoft)
                   ` (8 subsequent siblings)
  14 siblings, 0 replies; 20+ messages in thread
From: Srivatsa S. Bhat (Microsoft) @ 2026-12-03 19:16 UTC (permalink / raw)
  To: 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, Björn Töpel, 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, linux-arm-kernel, Palmer Dabbelt, linux-riscv,
	linux-mips, linux-stm32, linux-renesas-soc, linux-pm, coresight,
	linux-leds, op-tee, linux-perf-users, linux-csky, linux-s390,
	Srivatsa S. Bhat, Prasanna Kumar T S M, Saurabh Sengar,
	Thara Gopinath

The per-CPU interrupt callbacks are registered at CPUHP_AP_ONLINE_DYN,
but the state is named "ffa/pcpu-irq:starting". This is misleading
because the 'starting' suffix denotes the earlier, interrupts-disabled
STARTING section, and not the ONLINE section.

Rename it to "ffa/pcpu-irq:online", following the naming convention
documented in Documentation/core-api/cpu_hotplug.rst.

No functional change intended, except for the update to the name string,
which gets reflected in sysfs output and instrumentation.

Fixes: 897e9e60c016 ("firmware: arm_ffa: Initial support for scheduler receiver interrupt")
Signed-off-by: Srivatsa S. Bhat (Microsoft) <srivatsa@csail.mit.edu>
---
 drivers/firmware/arm_ffa/driver.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/firmware/arm_ffa/driver.c b/drivers/firmware/arm_ffa/driver.c
index ae8cc3a2ba2e..47429830afa3 100644
--- a/drivers/firmware/arm_ffa/driver.c
+++ b/drivers/firmware/arm_ffa/driver.c
@@ -2048,7 +2048,7 @@ static int ffa_init_pcpu_irq(void)
 	if (!drv_info->notif_pcpu_wq)
 		return -EINVAL;
 
-	ret = cpuhp_setup_state(CPUHP_AP_ONLINE_DYN, "ffa/pcpu-irq:starting",
+	ret = cpuhp_setup_state(CPUHP_AP_ONLINE_DYN, "ffa/pcpu-irq:online",
 				ffa_cpuhp_pcpu_irq_enable,
 				ffa_cpuhp_pcpu_irq_disable);
 

-- 
2.43.0


^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [PATCH 07/14] coresight, cpu/hotplug: Update name & callbacks to match their hotplug states
  2026-12-03 19:16 [PATCH 00/14] treewide, cpu/hotplug: Align state and callback names with their sections Srivatsa S. Bhat (Microsoft)
                   ` (5 preceding siblings ...)
  2026-12-03 19:16 ` [PATCH 06/14] firmware/arm_ffa, cpu/hotplug: Update name to match the hotplug state Srivatsa S. Bhat (Microsoft)
@ 2026-12-03 19:16 ` Srivatsa S. Bhat (Microsoft)
  2026-12-03 19:16 ` [PATCH 08/14] irqchip/riscv-aplic, hotplug: " Srivatsa S. Bhat (Microsoft)
                   ` (7 subsequent siblings)
  14 siblings, 0 replies; 20+ messages in thread
From: Srivatsa S. Bhat (Microsoft) @ 2026-12-03 19:16 UTC (permalink / raw)
  To: 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, Björn Töpel, 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, linux-arm-kernel, Palmer Dabbelt, linux-riscv,
	linux-mips, linux-stm32, linux-renesas-soc, linux-pm, coresight,
	linux-leds, op-tee, linux-perf-users, linux-csky, linux-s390,
	Srivatsa S. Bhat, Prasanna Kumar T S M, Saurabh Sengar,
	Thara Gopinath

CPUHP_AP_ARM_CORESIGHT_ONLINE belongs to the ONLINE section, but the
CoreSight state is named "arm/coresight-core:dying". This is misleading
because the 'dying' suffix denotes the teardown-only states in the
earlier, interrupts-disabled STARTING section, and not the ONLINE
section.

Rename it to "arm/coresight-core:offline" (since it only registers a
teardown callback), following the naming convention documented in
Documentation/core-api/cpu_hotplug.rst.

Also, rename the registered CPU hotplug teardown callback to match the
state that it is associated with.

No functional change intended, except for the update to the name string,
which gets reflected in sysfs output and instrumentation.

Fixes: 7105d2aa76d8 ("coresight: Move CPU hotplug callbacks to core layer")
Signed-off-by: Srivatsa S. Bhat (Microsoft) <srivatsa@csail.mit.edu>
---
 drivers/hwtracing/coresight/coresight-core.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/hwtracing/coresight/coresight-core.c b/drivers/hwtracing/coresight/coresight-core.c
index d2f9c1fb77d9..cfddf21e29d8 100644
--- a/drivers/hwtracing/coresight/coresight-core.c
+++ b/drivers/hwtracing/coresight/coresight-core.c
@@ -2014,7 +2014,7 @@ static struct notifier_block coresight_cpu_pm_nb = {
 	.notifier_call = coresight_cpu_pm_notify,
 };
 
-static int coresight_dying_cpu(unsigned int cpu)
+static int coresight_cpu_offline(unsigned int cpu)
 {
 	struct coresight_path *path;
 
@@ -2039,8 +2039,8 @@ static int __init coresight_pm_setup(void)
 		return ret;
 
 	ret = cpuhp_setup_state_nocalls(CPUHP_AP_ARM_CORESIGHT_ONLINE,
-					"arm/coresight-core:dying",
-					NULL, coresight_dying_cpu);
+					"arm/coresight-core:offline",
+					NULL, coresight_cpu_offline);
 	if (ret)
 		cpu_pm_unregister_notifier(&coresight_cpu_pm_nb);
 

-- 
2.43.0


^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [PATCH 08/14] irqchip/riscv-aplic, hotplug: Update name & callbacks to match their hotplug states
  2026-12-03 19:16 [PATCH 00/14] treewide, cpu/hotplug: Align state and callback names with their sections Srivatsa S. Bhat (Microsoft)
                   ` (6 preceding siblings ...)
  2026-12-03 19:16 ` [PATCH 07/14] coresight, cpu/hotplug: Update name & callbacks to match their hotplug states Srivatsa S. Bhat (Microsoft)
@ 2026-12-03 19:16 ` Srivatsa S. Bhat (Microsoft)
  2026-12-03 19:41   ` sashiko-bot
  2026-12-03 19:16 ` [PATCH 09/14] leds/trigger/cpu, " Srivatsa S. Bhat (Microsoft)
                   ` (6 subsequent siblings)
  14 siblings, 1 reply; 20+ messages in thread
From: Srivatsa S. Bhat (Microsoft) @ 2026-12-03 19:16 UTC (permalink / raw)
  To: 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, Björn Töpel, 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, linux-arm-kernel, Palmer Dabbelt, linux-riscv,
	linux-mips, linux-stm32, linux-renesas-soc, linux-pm, coresight,
	linux-leds, op-tee, linux-perf-users, linux-csky, linux-s390,
	Srivatsa S. Bhat, Prasanna Kumar T S M, Saurabh Sengar,
	Thara Gopinath

The APLIC direct-mode driver registers its CPU hotplug callbacks at
CPUHP_AP_ONLINE_DYN, but labels the state "irqchip/riscv/aplic:starting".
This is misleading because the 'starting' suffix denotes the earlier,
interrupts-disabled STARTING section, and not the ONLINE section.

Rename it to "irqchip/riscv/aplic:online", 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: 2333df5ae51e ("irqchip: Add RISC-V advanced PLIC driver for direct-mode")
Signed-off-by: Srivatsa S. Bhat (Microsoft) <srivatsa@csail.mit.edu>
---
 drivers/irqchip/irq-riscv-aplic-direct.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/drivers/irqchip/irq-riscv-aplic-direct.c b/drivers/irqchip/irq-riscv-aplic-direct.c
index bfd11a884316..2b58db452824 100644
--- a/drivers/irqchip/irq-riscv-aplic-direct.c
+++ b/drivers/irqchip/irq-riscv-aplic-direct.c
@@ -181,7 +181,7 @@ void aplic_direct_restore_states(struct aplic_priv *priv)
 		aplic_idc_set_delivery(per_cpu_ptr(&aplic_idcs, cpu), true);
 }
 
-static int aplic_direct_dying_cpu(unsigned int cpu)
+static int aplic_direct_cpu_offline(unsigned int cpu)
 {
 	if (aplic_direct_parent_irq)
 		disable_percpu_irq(aplic_direct_parent_irq);
@@ -189,7 +189,7 @@ static int aplic_direct_dying_cpu(unsigned int cpu)
 	return 0;
 }
 
-static int aplic_direct_starting_cpu(unsigned int cpu)
+static int aplic_direct_cpu_online(unsigned int cpu)
 {
 	if (aplic_direct_parent_irq) {
 		enable_percpu_irq(aplic_direct_parent_irq,
@@ -314,9 +314,9 @@ int aplic_direct_setup(struct device *dev, void __iomem *regs)
 			 * interrupt on all CPUs
 			 */
 			cpuhp_setup_state(CPUHP_AP_ONLINE_DYN,
-					  "irqchip/riscv/aplic:starting",
-					  aplic_direct_starting_cpu,
-					  aplic_direct_dying_cpu);
+					  "irqchip/riscv/aplic:online",
+					  aplic_direct_cpu_online,
+					  aplic_direct_cpu_offline);
 		}
 	}
 

-- 
2.43.0


^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [PATCH 09/14] leds/trigger/cpu, hotplug: Update name & callbacks to match their hotplug states
  2026-12-03 19:16 [PATCH 00/14] treewide, cpu/hotplug: Align state and callback names with their sections Srivatsa S. Bhat (Microsoft)
                   ` (7 preceding siblings ...)
  2026-12-03 19:16 ` [PATCH 08/14] irqchip/riscv-aplic, hotplug: " Srivatsa S. Bhat (Microsoft)
@ 2026-12-03 19:16 ` Srivatsa S. Bhat (Microsoft)
  2026-12-03 19:39   ` sashiko-bot
  2026-12-03 19:16 ` [PATCH 10/14] powercap/dtpm_cpu, hotplug: Update name & callback to match the hotplug state Srivatsa S. Bhat (Microsoft)
                   ` (5 subsequent siblings)
  14 siblings, 1 reply; 20+ messages in thread
From: Srivatsa S. Bhat (Microsoft) @ 2026-12-03 19:16 UTC (permalink / raw)
  To: 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, Björn Töpel, 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, linux-arm-kernel, Palmer Dabbelt, linux-riscv,
	linux-mips, linux-stm32, linux-renesas-soc, linux-pm, coresight,
	linux-leds, op-tee, linux-perf-users, linux-csky, linux-s390,
	Srivatsa S. Bhat, Prasanna Kumar T S M, Saurabh Sengar,
	Thara Gopinath

The CPU LED trigger registers its CPU hotplug callbacks at
CPUHP_AP_ONLINE_DYN, but names the state "leds/trigger:starting".
This is misleading because the 'starting' suffix denotes the earlier,
interrupts-disabled STARTING section, and not the ONLINE section.

Rename it to "leds/trigger:online", 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: 73c1b41e63f0 ("cpu/hotplug: Cleanup state names")
Signed-off-by: Srivatsa S. Bhat (Microsoft) <srivatsa@csail.mit.edu>
---
 drivers/leds/trigger/ledtrig-cpu.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/leds/trigger/ledtrig-cpu.c b/drivers/leds/trigger/ledtrig-cpu.c
index 679323c2ccda..5e3cb6c98843 100644
--- a/drivers/leds/trigger/ledtrig-cpu.c
+++ b/drivers/leds/trigger/ledtrig-cpu.c
@@ -120,13 +120,13 @@ static struct syscore ledtrig_cpu_syscore = {
 	.ops = &ledtrig_cpu_syscore_ops,
 };
 
-static int ledtrig_online_cpu(unsigned int cpu)
+static int ledtrig_cpu_online(unsigned int cpu)
 {
 	ledtrig_cpu(CPU_LED_START);
 	return 0;
 }
 
-static int ledtrig_prepare_down_cpu(unsigned int cpu)
+static int ledtrig_cpu_offline(unsigned int cpu)
 {
 	ledtrig_cpu(CPU_LED_STOP);
 	return 0;
@@ -163,8 +163,8 @@ static int __init ledtrig_cpu_init(void)
 
 	register_syscore(&ledtrig_cpu_syscore);
 
-	ret = cpuhp_setup_state(CPUHP_AP_ONLINE_DYN, "leds/trigger:starting",
-				ledtrig_online_cpu, ledtrig_prepare_down_cpu);
+	ret = cpuhp_setup_state(CPUHP_AP_ONLINE_DYN, "leds/trigger:online",
+				ledtrig_cpu_online, ledtrig_cpu_offline);
 	if (ret < 0)
 		pr_err("CPU hotplug notifier for ledtrig-cpu could not be registered: %d\n",
 		       ret);

-- 
2.43.0


^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [PATCH 10/14] powercap/dtpm_cpu, hotplug: Update name & callback to match the hotplug state
  2026-12-03 19:16 [PATCH 00/14] treewide, cpu/hotplug: Align state and callback names with their sections Srivatsa S. Bhat (Microsoft)
                   ` (8 preceding siblings ...)
  2026-12-03 19:16 ` [PATCH 09/14] leds/trigger/cpu, " Srivatsa S. Bhat (Microsoft)
@ 2026-12-03 19:16 ` Srivatsa S. Bhat (Microsoft)
  2026-12-03 19:16 ` [PATCH 11/14] optee, cpu/hotplug: Update name to match the CPU " Srivatsa S. Bhat (Microsoft)
                   ` (4 subsequent siblings)
  14 siblings, 0 replies; 20+ messages in thread
From: Srivatsa S. Bhat (Microsoft) @ 2026-12-03 19:16 UTC (permalink / raw)
  To: 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, Björn Töpel, 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, linux-arm-kernel, Palmer Dabbelt, linux-riscv,
	linux-mips, linux-stm32, linux-renesas-soc, linux-pm, coresight,
	linux-leds, op-tee, linux-perf-users, linux-csky, linux-s390,
	Srivatsa S. Bhat, Prasanna Kumar T S M, Saurabh Sengar,
	Thara Gopinath

The powercap dtpm_cpu driver registers a CPU hotplug teardown callback
at CPUHP_AP_DTPM_CPU_DEAD, but names the state "dtpm_cpu:offline". This
is misleading because the 'offline' suffix denotes the (teardown-only
state within the) ONLINE section, and not the PREPARE section where this
callback actually runs.

Rename it to "dtpm_cpu:dead", following the naming convention documented
in Documentation/core-api/cpu_hotplug.rst.

Also, rename the registered CPU hotplug teardown callback to match the
state that it is associated with.

No functional change intended, except for the update to the name string,
which gets reflected in sysfs output and instrumentation.

Fixes: 4570ddda4338 ("powercap/drivers/dtpm: Encapsulate even more the code")
Signed-off-by: Srivatsa S. Bhat (Microsoft) <srivatsa@csail.mit.edu>
---
 drivers/powercap/dtpm_cpu.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/powercap/dtpm_cpu.c b/drivers/powercap/dtpm_cpu.c
index 21355db6419d..39dd07bf0380 100644
--- a/drivers/powercap/dtpm_cpu.c
+++ b/drivers/powercap/dtpm_cpu.c
@@ -167,7 +167,7 @@ static struct dtpm_ops dtpm_ops = {
 	.release	 = pd_release,
 };
 
-static int cpuhp_dtpm_cpu_offline(unsigned int cpu)
+static int cpuhp_dtpm_cpu_dead(unsigned int cpu)
 {
 	struct dtpm_cpu *dtpm_cpu;
 
@@ -292,8 +292,8 @@ static int dtpm_cpu_init(void)
 	 * callbacks at different moments when the CPU online mask is
 	 * consistent with the power numbers we want to update.
 	 */
-	ret = cpuhp_setup_state(CPUHP_AP_DTPM_CPU_DEAD, "dtpm_cpu:offline",
-				NULL, cpuhp_dtpm_cpu_offline);
+	ret = cpuhp_setup_state(CPUHP_AP_DTPM_CPU_DEAD, "dtpm_cpu:dead",
+				NULL, cpuhp_dtpm_cpu_dead);
 	if (ret < 0)
 		return ret;
 

-- 
2.43.0


^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [PATCH 11/14] optee, cpu/hotplug: Update name to match the CPU hotplug state
  2026-12-03 19:16 [PATCH 00/14] treewide, cpu/hotplug: Align state and callback names with their sections Srivatsa S. Bhat (Microsoft)
                   ` (9 preceding siblings ...)
  2026-12-03 19:16 ` [PATCH 10/14] powercap/dtpm_cpu, hotplug: Update name & callback to match the hotplug state Srivatsa S. Bhat (Microsoft)
@ 2026-12-03 19:16 ` Srivatsa S. Bhat (Microsoft)
  2026-12-03 19:16 ` [PATCH 12/14] debugobjects, cpu/hotplug: Update name & callback to match the " Srivatsa S. Bhat (Microsoft)
                   ` (3 subsequent siblings)
  14 siblings, 0 replies; 20+ messages in thread
From: Srivatsa S. Bhat (Microsoft) @ 2026-12-03 19:16 UTC (permalink / raw)
  To: 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, Björn Töpel, 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, linux-arm-kernel, Palmer Dabbelt, linux-riscv,
	linux-mips, linux-stm32, linux-renesas-soc, linux-pm, coresight,
	linux-leds, op-tee, linux-perf-users, linux-csky, linux-s390,
	Srivatsa S. Bhat, Prasanna Kumar T S M, Saurabh Sengar,
	Thara Gopinath

The per-CPU notification IRQ callbacks are registered at
CPUHP_AP_ONLINE_DYN, but their state name is
"optee/pcpu-notif:starting". This is misleading because the 'starting'
suffix denotes the earlier, interrupts-disabled STARTING section, and
not the ONLINE section.

Rename it to "optee/pcpu-notif:online", following the naming convention
documented in Documentation/core-api/cpu_hotplug.rst.

No functional change intended, except for the update to the name string,
which gets reflected in sysfs output and instrumentation.

Fixes: b3b4ced12c1b ("optee: add per cpu asynchronous notification")
Signed-off-by: Srivatsa S. Bhat (Microsoft) <srivatsa@csail.mit.edu>
---
 drivers/tee/optee/smc_abi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/tee/optee/smc_abi.c b/drivers/tee/optee/smc_abi.c
index 51624443359b..152f51b526e6 100644
--- a/drivers/tee/optee/smc_abi.c
+++ b/drivers/tee/optee/smc_abi.c
@@ -1153,7 +1153,7 @@ static int init_pcpu_irq(struct optee *optee, u_int irq)
 	optee->smc.notif_irq = irq;
 
 	pcpu_irq_num = irq;
-	rc = cpuhp_setup_state(CPUHP_AP_ONLINE_DYN, "optee/pcpu-notif:starting",
+	rc = cpuhp_setup_state(CPUHP_AP_ONLINE_DYN, "optee/pcpu-notif:online",
 			       optee_cpuhp_enable_pcpu_irq,
 			       optee_cpuhp_disable_pcpu_irq);
 	if (!rc)

-- 
2.43.0


^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [PATCH 12/14] debugobjects, cpu/hotplug: Update name & callback to match the hotplug state
  2026-12-03 19:16 [PATCH 00/14] treewide, cpu/hotplug: Align state and callback names with their sections Srivatsa S. Bhat (Microsoft)
                   ` (10 preceding siblings ...)
  2026-12-03 19:16 ` [PATCH 11/14] optee, cpu/hotplug: Update name to match the CPU " Srivatsa S. Bhat (Microsoft)
@ 2026-12-03 19:16 ` Srivatsa S. Bhat (Microsoft)
  2026-12-03 19:16 ` [PATCH 13/14] csky, cpu/hotplug: Update name & callbacks to match their " Srivatsa S. Bhat (Microsoft)
                   ` (2 subsequent siblings)
  14 siblings, 0 replies; 20+ messages in thread
From: Srivatsa S. Bhat (Microsoft) @ 2026-12-03 19:16 UTC (permalink / raw)
  To: 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, Björn Töpel, 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, linux-arm-kernel, Palmer Dabbelt, linux-riscv,
	linux-mips, linux-stm32, linux-renesas-soc, linux-pm, coresight,
	linux-leds, op-tee, linux-perf-users, linux-csky, linux-s390,
	Srivatsa S. Bhat, Prasanna Kumar T S M, Saurabh Sengar,
	Thara Gopinath

The debugobjects teardown callback is registered at CPUHP_DEBUG_OBJ_DEAD,
but its state name is "object:offline". This is misleading because the
'offline' suffix denotes a teardown-only state in the ONLINE section,
and not the PREPARE section where this callback actually runs.

Rename it to "object:dead", following the naming convention documented
in Documentation/core-api/cpu_hotplug.rst.

Also, rename the registered CPU hotplug teardown callback to match the
state that it is associated with.

No functional change intended, except for the update to the name string,
which gets reflected in sysfs output and instrumentation.

Fixes: 88451f2cd3ce ("debugobjects: Free per CPU pool after CPU unplug")
Signed-off-by: Srivatsa S. Bhat (Microsoft) <srivatsa@csail.mit.edu>
---
 lib/debugobjects.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/lib/debugobjects.c b/lib/debugobjects.c
index 877f7675ba26..723fe9e42b31 100644
--- a/lib/debugobjects.c
+++ b/lib/debugobjects.c
@@ -569,7 +569,7 @@ static void put_objects(struct hlist_head *list)
 }
 
 #ifdef CONFIG_HOTPLUG_CPU
-static int object_cpu_offline(unsigned int cpu)
+static int object_cpu_dead(unsigned int cpu)
 {
 	/* Remote access is safe as the CPU is dead already */
 	struct obj_pool *pcp = per_cpu_ptr(&pool_pcpu, cpu);
@@ -1578,8 +1578,8 @@ void __init debug_objects_mem_init(void)
 	static_branch_enable(&obj_cache_enabled);
 
 #ifdef CONFIG_HOTPLUG_CPU
-	cpuhp_setup_state_nocalls(CPUHP_DEBUG_OBJ_DEAD, "object:offline", NULL,
-				  object_cpu_offline);
+	cpuhp_setup_state_nocalls(CPUHP_DEBUG_OBJ_DEAD, "object:dead", NULL,
+				  object_cpu_dead);
 #endif
 	return;
 }

-- 
2.43.0


^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [PATCH 13/14] csky, cpu/hotplug: Update name & callbacks to match their hotplug state
  2026-12-03 19:16 [PATCH 00/14] treewide, cpu/hotplug: Align state and callback names with their sections Srivatsa S. Bhat (Microsoft)
                   ` (11 preceding siblings ...)
  2026-12-03 19:16 ` [PATCH 12/14] debugobjects, cpu/hotplug: Update name & callback to match the " Srivatsa S. Bhat (Microsoft)
@ 2026-12-03 19:16 ` Srivatsa S. Bhat (Microsoft)
  2026-12-03 19:16 ` [PATCH 14/14] cpuidle/s390, cpu/hotplug: Update teardown callback to match its " Srivatsa S. Bhat (Microsoft)
  2026-12-03 19:52 ` [PATCH 00/14] treewide, cpu/hotplug: Align state and callback names with their sections sashiko-bot
  14 siblings, 0 replies; 20+ messages in thread
From: Srivatsa S. Bhat (Microsoft) @ 2026-12-03 19:16 UTC (permalink / raw)
  To: 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, Björn Töpel, 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, linux-arm-kernel, Palmer Dabbelt, linux-riscv,
	linux-mips, linux-stm32, linux-renesas-soc, linux-pm, coresight,
	linux-leds, op-tee, linux-perf-users, linux-csky, linux-s390,
	Srivatsa S. Bhat, Prasanna Kumar T S M, Saurabh Sengar,
	Thara Gopinath

The C-SKY PMU callbacks are registered at CPUHP_AP_PERF_CSKY_ONLINE, but
their callback function names include "starting" and "dying". This is
misleading because they suggest the earlier, interrupts-disabled
STARTING section, and not the ONLINE section where these callbacks
actually run.

Rename csky_pmu_starting_cpu() to csky_pmu_cpu_online() and
csky_pmu_dying_cpu() to csky_pmu_cpu_offline(), to match the states that
they are associated with.

Also, the state is named "AP_PERF_ONLINE", which is confusing, because
there is another state that is actually CPUHP_AP_PERF_ONLINE, which maps
to "perf:online". So, rename the C-SKY PMU state to "perf/csky:online"
following the naming convention documented in
Documentation/core-api/cpu_hotplug.rst.

No functional change intended, except for the update to the name string,
which gets reflected in sysfs output and instrumentation.

Fixes: f622fbf20596 ("csky: Add pmu interrupt support")
Signed-off-by: Srivatsa S. Bhat (Microsoft) <srivatsa@csail.mit.edu>
---
 arch/csky/kernel/perf_event.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/arch/csky/kernel/perf_event.c b/arch/csky/kernel/perf_event.c
index e0a36acd265b..1f786534832a 100644
--- a/arch/csky/kernel/perf_event.c
+++ b/arch/csky/kernel/perf_event.c
@@ -1277,13 +1277,13 @@ int init_hw_perf_events(void)
 	return 0;
 }
 
-static int csky_pmu_starting_cpu(unsigned int cpu)
+static int csky_pmu_cpu_online(unsigned int cpu)
 {
 	enable_percpu_irq(csky_pmu_irq, 0);
 	return 0;
 }
 
-static int csky_pmu_dying_cpu(unsigned int cpu)
+static int csky_pmu_cpu_offline(unsigned int cpu)
 {
 	disable_percpu_irq(csky_pmu_irq);
 	return 0;
@@ -1318,9 +1318,9 @@ int csky_pmu_device_probe(struct platform_device *pdev,
 		pr_notice("[perf] PMU request irq fail!\n");
 	}
 
-	ret = cpuhp_setup_state(CPUHP_AP_PERF_CSKY_ONLINE, "AP_PERF_ONLINE",
-				csky_pmu_starting_cpu,
-				csky_pmu_dying_cpu);
+	ret = cpuhp_setup_state(CPUHP_AP_PERF_CSKY_ONLINE, "perf/csky:online",
+				csky_pmu_cpu_online,
+				csky_pmu_cpu_offline);
 	if (ret) {
 		csky_pmu_free_irq();
 		free_percpu(csky_pmu.hw_events);

-- 
2.43.0


^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [PATCH 14/14] cpuidle/s390, cpu/hotplug: Update teardown callback to match its hotplug state
  2026-12-03 19:16 [PATCH 00/14] treewide, cpu/hotplug: Align state and callback names with their sections Srivatsa S. Bhat (Microsoft)
                   ` (12 preceding siblings ...)
  2026-12-03 19:16 ` [PATCH 13/14] csky, cpu/hotplug: Update name & callbacks to match their " Srivatsa S. Bhat (Microsoft)
@ 2026-12-03 19:16 ` Srivatsa S. Bhat (Microsoft)
  2026-12-03 19:52 ` [PATCH 00/14] treewide, cpu/hotplug: Align state and callback names with their sections sashiko-bot
  14 siblings, 0 replies; 20+ messages in thread
From: Srivatsa S. Bhat (Microsoft) @ 2026-12-03 19:16 UTC (permalink / raw)
  To: 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, Björn Töpel, 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, linux-arm-kernel, Palmer Dabbelt, linux-riscv,
	linux-mips, linux-stm32, linux-renesas-soc, linux-pm, coresight,
	linux-leds, op-tee, linux-perf-users, linux-csky, linux-s390,
	Srivatsa S. Bhat, Prasanna Kumar T S M, Saurabh Sengar,
	Thara Gopinath

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) <srivatsa@csail.mit.edu>
---
 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");

-- 
2.43.0


^ permalink raw reply related	[flat|nested] 20+ messages in thread

* Re: [PATCH 03/14] riscv, cpu/hotplug: Update name & callbacks to match their hotplug states
  2026-12-03 19:16 ` [PATCH 03/14] riscv, " Srivatsa S. Bhat (Microsoft)
@ 2026-12-03 19:27   ` sashiko-bot
  0 siblings, 0 replies; 20+ messages in thread
From: sashiko-bot @ 2026-12-03 19:27 UTC (permalink / raw)
  To: Srivatsa S. Bhat (Microsoft)
  Cc: linux-leds, linux-perf-users, linux-s390, lee, wsa+renesas,
	Heiko Carstens, Vasily Gorbik, Alexander Gordeev,
	Christian Borntraeger

Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] riscv: commit message misstates renamed states and teardown
  callback
--

commit c376107876d2c44cf7593c0dce47478cef621aa0
Author: Srivatsa S. Bhat (Microsoft) <srivatsa@csail.mit.edu>

> riscv, cpu/hotplug: Update name & callbacks to match their hotplug states
>
> The cpuinfo CPU hotplug callback is registered at CPUHP_AP_ONLINE_DYN,
> but its state name is "riscv/cpuinfo:starting". This is misleading
> because the 'starting' suffix denotes the earlier, interrupts-disabled
> STARTING section, and not the ONLINE section.
>
> Rename it to "riscv/cpuinfo:online", 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: 3baca1a4d490 ("RISC-V: Add mvendorid, marchid, and mimpid to /proc/cpuinfo output")
> Signed-off-by: Srivatsa S. Bhat (Microsoft) <srivatsa@csail.mit.edu>

[Severity: Low]
The subject refers to callbacks and hotplug states in the plural, and the
body mentions renaming startup and teardown callbacks.  riscv_cpuinfo_init()
only registers one state (CPUHP_AP_ONLINE_DYN) with a single startup
callback (riscv_cpuinfo_cpu_online()) and NULL for teardown.

Should the subject and commit message use singular wording and drop the
reference to a teardown callback?

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261204-fix-cpuhp-state-names-v1-0-32e62361ce1d@csail.mit.edu?part=3

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [PATCH 09/14] leds/trigger/cpu, hotplug: Update name & callbacks to match their hotplug states
  2026-12-03 19:16 ` [PATCH 09/14] leds/trigger/cpu, " Srivatsa S. Bhat (Microsoft)
@ 2026-12-03 19:39   ` sashiko-bot
  0 siblings, 0 replies; 20+ messages in thread
From: sashiko-bot @ 2026-12-03 19:39 UTC (permalink / raw)
  To: Srivatsa S. Bhat (Microsoft)
  Cc: linux-leds, linux-perf-users, linux-s390, lee, wsa+renesas,
	Heiko Carstens, Vasily Gorbik, Alexander Gordeev,
	Christian Borntraeger

Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] leds: trigger: commit subject prefix violates LEDs subsystem
  convention
--

commit 6fdef4e7fcd3b602b782e9db5ff4cace2851daea
Author: Srivatsa S. Bhat (Microsoft) <srivatsa@csail.mit.edu>

leds/trigger/cpu, hotplug: Update name & callbacks to match their hotplug states

This commit renames the CPU hotplug state name in
drivers/leds/trigger/ledtrig-cpu.c from "leds/trigger:starting" to
"leds/trigger:online" and renames its online and offline callbacks to match.

> leds/trigger/cpu, hotplug: Update name & callbacks to match their hotplug states

[Severity: Low]
This isn't a bug, but the subject prefix does not follow the LEDs subsystem
convention of "leds: <driver>: <Capitalized description>".  Since this patch
only modifies drivers/leds/trigger/ledtrig-cpu.c, should the prefix be
"leds: trigger: ledtrig-cpu:" (as in commit c10074a1e580 ("leds: trigger:
ledtrig-cpu: Fix incorrectly documented param 'ledevt'")) or
"leds: trigger: cpu:"?

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261204-fix-cpuhp-state-names-v1-0-32e62361ce1d@csail.mit.edu?part=9

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [PATCH 04/14] clocksource/drivers, hotplug: Update name & callbacks to match their hotplug states
  2026-12-03 19:16 ` [PATCH 04/14] clocksource/drivers, hotplug: " Srivatsa S. Bhat (Microsoft)
@ 2026-12-03 19:40   ` sashiko-bot
  0 siblings, 0 replies; 20+ messages in thread
From: sashiko-bot @ 2026-12-03 19:40 UTC (permalink / raw)
  To: Srivatsa S. Bhat (Microsoft)
  Cc: linux-leds, linux-perf-users, linux-s390, lee, wsa+renesas,
	Heiko Carstens, Vasily Gorbik, Alexander Gordeev,
	Christian Borntraeger

Thank you for your contribution! Sashiko AI review found no new issues
in this patch, but noticed 1 related pre-existing issue it does not
introduce:
- [High] clocksource/timer-econet-en751221: ignored cpuhp result in
  cevt_init() [1]
--

commit 18ae82e54708e9062467e26a7f153381b8d80f67
Author: Srivatsa S. Bhat (Microsoft) <srivatsa@csail.mit.edu>

clocksource/drivers, hotplug: Update name & callbacks to match their hotplug states

This commit updates CPU hotplug state names and callback function names
across five clocksource drivers so they match the hotplug sections they
register in.

> diff --git a/drivers/clocksource/timer-econet-en751221.c b/drivers/clocksource/timer-econet-en751221.c
> index 1859335345b59..9faa54becba2c 100644
> --- a/drivers/clocksource/timer-econet-en751221.c
> +++ b/drivers/clocksource/timer-econet-en751221.c

[ ... ]

> @@ -159,8 +159,8 @@ static int __init cevt_init(struct device_node *np)
>  	}
>  
>  	cpuhp_setup_state(CPUHP_AP_ONLINE_DYN,
> -			  "clockevents/econet/timer:starting",
> -			  cevt_init_cpu, NULL);
> +			  "clockevents/econet/timer:online",
> +			  cevt_cpu_online, NULL);
>  	return 0;
>  
>  err_unmap_irq:

[Severity: High]
This problem wasn't introduced by this patch, but shouldn't cevt_init()
check the return value of cpuhp_setup_state() [1] instead of
unconditionally returning 0?

If dynamic hotplug state allocation fails (for example with -ENOSPC),
timer_init() treats setup as successful while the per-CPU clock event
devices remain unregistered, leaving the system without timer interrupts.

[1] https://sashiko.dev/#/bug/linux-177c0c89-c176-4f16-b096-f118bb8fca1c

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261204-fix-cpuhp-state-names-v1-0-32e62361ce1d@csail.mit.edu?part=4

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [PATCH 08/14] irqchip/riscv-aplic, hotplug: Update name & callbacks to match their hotplug states
  2026-12-03 19:16 ` [PATCH 08/14] irqchip/riscv-aplic, hotplug: " Srivatsa S. Bhat (Microsoft)
@ 2026-12-03 19:41   ` sashiko-bot
  0 siblings, 0 replies; 20+ messages in thread
From: sashiko-bot @ 2026-12-03 19:41 UTC (permalink / raw)
  To: Srivatsa S. Bhat (Microsoft)
  Cc: linux-leds, linux-perf-users, linux-s390, lee, wsa+renesas,
	Heiko Carstens, Vasily Gorbik, Alexander Gordeev,
	Christian Borntraeger

Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [High] irqchip/riscv-aplic: wrong-direction fix retains
  CPUHP_AP_ONLINE_DYN
--

commit 84983784b738af0974edc8b4024cb97a57bc84bd
Author: Srivatsa S. Bhat (Microsoft) <srivatsa@csail.mit.edu>

irqchip/riscv-aplic, hotplug: Update name & callbacks to match their hotplug states

This commit renames the RISC-V APLIC direct-mode CPU hotplug state and
callbacks to match their current registration at CPUHP_AP_ONLINE_DYN.

> diff --git a/drivers/irqchip/irq-riscv-aplic-direct.c b/drivers/irqchip/irq-riscv-aplic-direct.c
> index bfd11a8843164..2b58db452824e 100644
> --- a/drivers/irqchip/irq-riscv-aplic-direct.c
> +++ b/drivers/irqchip/irq-riscv-aplic-direct.c
> @@ -181,7 +181,7 @@ void aplic_direct_restore_states(struct aplic_priv *priv)
>  		aplic_idc_set_delivery(per_cpu_ptr(&aplic_idcs, cpu), true);
>  }
>  
> -static int aplic_direct_dying_cpu(unsigned int cpu)
> +static int aplic_direct_cpu_offline(unsigned int cpu)
>  {
>  	if (aplic_direct_parent_irq)
>  		disable_percpu_irq(aplic_direct_parent_irq);
> @@ -189,7 +189,7 @@ static int aplic_direct_dying_cpu(unsigned int cpu)
>  	return 0;
>  }
>  
> -static int aplic_direct_starting_cpu(unsigned int cpu)
> +static int aplic_direct_cpu_online(unsigned int cpu)
>  {
>  	if (aplic_direct_parent_irq) {
>  		enable_percpu_irq(aplic_direct_parent_irq,
> @@ -314,9 +314,9 @@ int aplic_direct_setup(struct device *dev, void __iomem *regs)
>  			 * interrupt on all CPUs
>  			 */
>  			cpuhp_setup_state(CPUHP_AP_ONLINE_DYN,
> -					  "irqchip/riscv/aplic:starting",
> -					  aplic_direct_starting_cpu,
> -					  aplic_direct_dying_cpu);
> +					  "irqchip/riscv/aplic:online",
> +					  aplic_direct_cpu_online,
> +					  aplic_direct_cpu_offline);
>  		}
>  	}

[Severity: High]
Should the state/name mismatch from 2333df5ae51e ("irqchip: Add RISC-V
advanced PLIC driver for direct-mode") be fixed by moving registration to
a static starting state instead of keeping CPUHP_AP_ONLINE_DYN?

On CPU offline, aplic_direct_cpu_offline() masks RV_IRQ_EXT at
CPUHP_AP_ONLINE_DYN while wired APLIC interrupts still target the CPU.
Migration only runs later at CPUHP_TEARDOWN_CPU (__cpu_disable() ->
irq_migrate_all_off_this_cpu()), risking I/O stalls or hotplug deadlocks.

Symmetrically, on CPU online, smp_callin() marks the CPU online and
CPUHP_AP_IRQ_AFFINITY_ONLINE can route APLIC interrupts to it before
aplic_direct_cpu_online() unmasks RV_IRQ_EXT at CPUHP_AP_ONLINE_DYN.

Adding a static CPUHP_AP_IRQ_RISCV_APLIC_STARTING state (as in
irq-sifive-plic.c, irq-riscv-imsic-early.c, and irq-aclint-sswi.c) would
fix the ordering and avoid consuming a CPUHP_AP_ONLINE_DYN slot whose
return value is ignored.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261204-fix-cpuhp-state-names-v1-0-32e62361ce1d@csail.mit.edu?part=8

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [PATCH 00/14] treewide, cpu/hotplug: Align state and callback names with their sections
  2026-12-03 19:16 [PATCH 00/14] treewide, cpu/hotplug: Align state and callback names with their sections Srivatsa S. Bhat (Microsoft)
                   ` (13 preceding siblings ...)
  2026-12-03 19:16 ` [PATCH 14/14] cpuidle/s390, cpu/hotplug: Update teardown callback to match its " Srivatsa S. Bhat (Microsoft)
@ 2026-12-03 19:52 ` sashiko-bot
  14 siblings, 0 replies; 20+ messages in thread
From: sashiko-bot @ 2026-12-03 19:52 UTC (permalink / raw)
  To: Srivatsa S. Bhat (Microsoft)
  Cc: linux-leds, linux-perf-users, linux-s390, lee, Heiko Carstens,
	Vasily Gorbik, Alexander Gordeev, Christian Borntraeger

Sashiko has finished reviewing this 14-patch series:

- Patches 1, 2, 5-7, and 10-14: no issues found.
- Patch 3 ("riscv, cpu/hotplug: Update name & callbacks to match..."): 1
  potential issue (1 Low)
- Patch 4 ("clocksource/drivers, hotplug: Update name & callback..."): 1
  related pre-existing bug noted
- Patch 8 ("irqchip/riscv-aplic, hotplug: Update name & callback..."): 1
  potential issue (1 High)
- Patch 9 ("leds/trigger/cpu, hotplug: Update name & callbacks t..."): 1
  potential issue (1 Low)

Detailed reviews have been sent as separate replies to patches 3, 4, 8,
and 9.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261204-fix-cpuhp-state-names-v1-0-32e62361ce1d@csail.mit.edu

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2026-12-03 19:52 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-03 19:16 [PATCH 00/14] treewide, cpu/hotplug: Align state and callback names with their sections Srivatsa S. Bhat (Microsoft)
2026-12-03 19:16 ` [PATCH 01/14] mailbox/zynqmp, cpu/hotplug: Update name & callbacks to match their hotplug states Srivatsa S. Bhat (Microsoft)
2026-12-03 19:16 ` [PATCH 02/14] soc/xilinx, " Srivatsa S. Bhat (Microsoft)
2026-12-03 19:16 ` [PATCH 03/14] riscv, " Srivatsa S. Bhat (Microsoft)
2026-12-03 19:27   ` sashiko-bot
2026-12-03 19:16 ` [PATCH 04/14] clocksource/drivers, hotplug: " Srivatsa S. Bhat (Microsoft)
2026-12-03 19:40   ` sashiko-bot
2026-12-03 19:16 ` [PATCH 05/14] cpuidle, cpu/hotplug: " Srivatsa S. Bhat (Microsoft)
2026-12-03 19:16 ` [PATCH 06/14] firmware/arm_ffa, cpu/hotplug: Update name to match the hotplug state Srivatsa S. Bhat (Microsoft)
2026-12-03 19:16 ` [PATCH 07/14] coresight, cpu/hotplug: Update name & callbacks to match their hotplug states Srivatsa S. Bhat (Microsoft)
2026-12-03 19:16 ` [PATCH 08/14] irqchip/riscv-aplic, hotplug: " Srivatsa S. Bhat (Microsoft)
2026-12-03 19:41   ` sashiko-bot
2026-12-03 19:16 ` [PATCH 09/14] leds/trigger/cpu, " Srivatsa S. Bhat (Microsoft)
2026-12-03 19:39   ` sashiko-bot
2026-12-03 19:16 ` [PATCH 10/14] powercap/dtpm_cpu, hotplug: Update name & callback to match the hotplug state Srivatsa S. Bhat (Microsoft)
2026-12-03 19:16 ` [PATCH 11/14] optee, cpu/hotplug: Update name to match the CPU " Srivatsa S. Bhat (Microsoft)
2026-12-03 19:16 ` [PATCH 12/14] debugobjects, cpu/hotplug: Update name & callback to match the " Srivatsa S. Bhat (Microsoft)
2026-12-03 19:16 ` [PATCH 13/14] csky, cpu/hotplug: Update name & callbacks to match their " Srivatsa S. Bhat (Microsoft)
2026-12-03 19:16 ` [PATCH 14/14] cpuidle/s390, cpu/hotplug: Update teardown callback to match its " Srivatsa S. Bhat (Microsoft)
2026-12-03 19:52 ` [PATCH 00/14] treewide, cpu/hotplug: Align state and callback names with their sections sashiko-bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox