Re: [PATCH 08/14] irqchip/riscv-aplic, hotplug: Update name & callbacks to match their hotplug states
From: Srivatsa S. Bhat
Date: Fri Dec 04 2026 - 12:58:26 EST
Hi Thomas,
On Fri, Dec 04, 2026 at 05:47:06PM +0100, Thomas Gleixner wrote:
> On Fri, Dec 04 2026 at 00:46, Srivatsa S. Bhat wrote:
> > 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")
>
> That's a function name change. What is this actually fixing?
Agreed, this change doesn't need a Fixes tag. I got the same feedback from
Prasanna and Rafael as well for a few other patches in this series. I'm planning
to drop all the Fixes tags from this series in v2 (I'll wait a few days before
posting v2 to see if there is any other feedback to incorporate).
Thank you!
Regards,
Srivatsa