From: sashiko-bot@kernel.org
To: "Caleb James DeLisle" <cjd@cjdns.fr>
Cc: robh@kernel.org, devicetree@vger.kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH v6 2/5] dt-bindings: timer: econet: Update EN751627 for multi-IRQ
Date: Thu, 28 May 2026 14:45:35 +0000 [thread overview]
Message-ID: <20260528144536.4BCEA1F000E9@smtp.kernel.org> (raw)
In-Reply-To: <20260528140046.2897674-3-cjd@cjdns.fr>
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [High] The commit modifies the `compatible` property to remove the fallback and strictly require 4 interrupts for the `econet,en751627-timer`, breaking backwards compatibility with existing device trees.
--
commit 4d76d221e102e3fd0badbb607f955a94dc92884a
Author: Caleb James DeLisle <cjd@cjdns.fr>
dt-bindings: timer: econet: Update EN751627 for multi-IRQ
This commit updates the device tree binding for the EN751627 timer. It
modifies the binding to require an individual IRQ number per timer instead
of a single shared percpu IRQ.
> diff --git a/Documentation/devicetree/bindings/timer/econet,en751221-timer.yaml b/Documentation/devicetree/bindings/timer/econet,en751221-timer.yaml
> --- a/Documentation/devicetree/bindings/timer/econet,en751221-timer.yaml
> +++ b/Documentation/devicetree/bindings/timer/econet,en751221-timer.yaml
[ ... ]
> properties:
> compatible:
> - oneOf:
> - - const: econet,en751221-timer
> - - items:
> - - const: econet,en751627-timer
> - - const: econet,en751221-timer
> + enum:
> + - econet,en751221-timer
> + - econet,en751627-timer
[ ... ]
> @@ -52,21 +51,31 @@ allOf:
> items:
> - description: VPE timers 0 and 1
> - description: VPE timers 2 and 3
> + interrupts:
> + description: An interrupt for each timer (one per VPE)
> + minItems: 4
[Severity: High]
Does this change break backwards compatibility with existing device trees?
The previous schema allowed compatible = "econet,en751627-timer",
"econet,en751221-timer" with a single interrupt.
Modifying the compatible property to an enum without the fallback and enforcing
minItems: 4 for interrupts on the en751627-timer means any existing device tree
using the old schema will now fail validation.
Can this cause boot regressions on previously functioning deployed systems if
an updated driver expects 4 interrupts and attempts to index into an
uninitialized IRQ array?
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260528140046.2897674-1-cjd@cjdns.fr?part=2
next prev parent reply other threads:[~2026-05-28 14:45 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-28 14:00 [PATCH v6 0/5] clocksource/timer-econet-en751221: Support irq number per timer Caleb James DeLisle
2026-05-28 14:00 ` [PATCH v6 1/5] clocksource/timer-econet-en751221: fix refcount leak Caleb James DeLisle
2026-05-28 14:00 ` [PATCH v6 2/5] dt-bindings: timer: econet: Update EN751627 for multi-IRQ Caleb James DeLisle
2026-05-28 14:45 ` sashiko-bot [this message]
2026-05-28 15:28 ` Caleb James DeLisle
2026-05-28 14:00 ` [PATCH v6 3/5] clocksource/timer-econet-en751221: Init teardown on error if possible Caleb James DeLisle
2026-05-28 15:23 ` sashiko-bot
2026-05-28 15:46 ` Caleb James DeLisle
2026-05-28 14:00 ` [PATCH v6 4/5] clocksource/timer-econet-en751221: Disable IRQ until cevt registered Caleb James DeLisle
2026-05-28 16:03 ` sashiko-bot
2026-05-28 14:00 ` [PATCH v6 5/5] clocksource/timer-econet-en751221: Support EN751627 without percpu IRQ Caleb James DeLisle
2026-05-28 16:41 ` sashiko-bot
2026-05-29 10:45 ` 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=20260528144536.4BCEA1F000E9@smtp.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