From: sashiko-bot@kernel.org
To: "Caleb James DeLisle" <cjd@cjdns.fr>
Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH RESEND v12 3/5] clocksource/timer-econet-en751221: Disable IRQ until cevt registered
Date: Fri, 04 Dec 2026 22:39:40 +0000 [thread overview]
Message-ID: <sashiko-outbox-250767@kernel.org> (raw)
In-Reply-To: <20261204222334.1085123-4-cjd@cjdns.fr>
Thank you for your contribution! Sashiko AI review found 2 potential
issues to consider:
- [Low] clocksource: timer-econet-en751221 missing Fixes trailer for
3b4c33ac87d0
- [Low] clocksource: commit message falsely claims clockevents
registration can fail
--
commit 02da027d26bfed25bd73cf8ce9f2c3bb51c4ecd4
Author: Caleb James DeLisle <cjd@cjdns.fr>
> clocksource/timer-econet-en751221: Disable IRQ until cevt registered
>
> Eliminate a race condition where cevt_interrupt may trigger before
> clockevents_config_and_register has been called, and dev->event_handler
> is at that point NULL. Additionally, NULL check dev->event_handler in
> interrupt callback just in case clockevents_config_and_register failed.
[Severity: Low]
Is this explanation for the NULL check accurate?
clockevents_config_and_register() returns void and cannot fail.
dev->event_handler can remain NULL if a higher-rated clockevent device
is already active on the CPU and this device stays detached.
> Signed-off-by: Caleb James DeLisle <cjd@cjdns.fr>
[Severity: Low]
This fixes a bug introduced when the driver was added. Should this
include:
Fixes: 3b4c33ac87d0 ("clocksource/drivers: Add EcoNet Timer HPT driver")
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261204222334.1085123-1-cjd@cjdns.fr?part=3
next prev parent reply other threads:[~2026-12-04 22:39 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-04 22:23 [PATCH RESEND v12 0/5] clocksource/timer-econet-en751221: Support irq number per timer Caleb James DeLisle
2026-12-04 22:23 ` [PATCH RESEND v12 1/5] dt-bindings: timer: econet: Update EN751627 for multi-IRQ Caleb James DeLisle
2026-12-04 22:35 ` sashiko-bot
2026-12-04 22:23 ` [PATCH RESEND v12 2/5] clocksource/timer-econet-en751221: Init teardown on error if possible Caleb James DeLisle
2026-12-04 22:23 ` [PATCH RESEND v12 3/5] clocksource/timer-econet-en751221: Disable IRQ until cevt registered Caleb James DeLisle
2026-12-04 22:39 ` sashiko-bot [this message]
2026-12-04 22:23 ` [PATCH RESEND v12 4/5] clocksource/timer-econet-en751221: Support EN751627 without percpu IRQ Caleb James DeLisle
2026-12-04 22:47 ` sashiko-bot
2026-12-04 22:23 ` [PATCH RESEND v12 5/5] clocksource/timer-econet-en751221: Do not use NR_CPUS for resource array size Caleb James DeLisle
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-250767@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=cjd@cjdns.fr \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=robh@kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
/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