From: sashiko-bot@kernel.org
To: "Srivatsa S. Bhat (Microsoft)" <srivatsa@csail.mit.edu>
Cc: linux-leds@vger.kernel.org, linux-perf-users@vger.kernel.org,
linux-s390@vger.kernel.org, lee@kernel.org,
wsa+renesas@sang-engineering.com,
"Heiko Carstens" <hca@linux.ibm.com>,
"Vasily Gorbik" <gor@linux.ibm.com>,
"Alexander Gordeev" <agordeev@linux.ibm.com>,
"Christian Borntraeger" <borntraeger@linux.ibm.com>
Subject: Re: [PATCH 03/14] riscv, cpu/hotplug: Update name & callbacks to match their hotplug states
Date: Thu, 03 Dec 2026 19:27:30 +0000 [thread overview]
Message-ID: <sashiko-outbox-248500@kernel.org> (raw)
In-Reply-To: <20261204-fix-cpuhp-state-names-v1-3-32e62361ce1d@csail.mit.edu>
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
next prev parent reply other threads:[~2026-12-03 19:27 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=sashiko-outbox-248500@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=agordeev@linux.ibm.com \
--cc=borntraeger@linux.ibm.com \
--cc=gor@linux.ibm.com \
--cc=hca@linux.ibm.com \
--cc=lee@kernel.org \
--cc=linux-leds@vger.kernel.org \
--cc=linux-perf-users@vger.kernel.org \
--cc=linux-s390@vger.kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
--cc=srivatsa@csail.mit.edu \
--cc=wsa+renesas@sang-engineering.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox