[PATCH 06/14] firmware/arm_ffa, cpu/hotplug: Update name to match the hotplug state

From: Srivatsa S. Bhat (Microsoft)

Date: Thu Dec 03 2026 - 14:19:03 EST


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@xxxxxxxxxxxxx>
---
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