From: Gregory CLEMENT <gregory.clement@bootlin.com>
To: Krzysztof Kozlowski <krzk+dt@kernel.org>
Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH v2 1/4] dt-bindings: interrupt-controller: add Mobileye EyeQ5 PCIe MSI controller
Date: Tue, 03 Nov 2026 10:41:56 +0100 [thread overview]
Message-ID: <8733ti2qvv.fsf@BLaptop.bootlin.com> (raw)
In-Reply-To: <sashiko-outbox-193804@kernel.org>
Hello Krzysztof,
> Thank you for your contribution! Sashiko AI review found 2 potential issue(s) to consider:
> - [Medium] dt-bindings: interrupt-controller: eyeq5-msi: drop bogus #interrupt-cells
> - [Low] dt-bindings: interrupt-controller: eyeq5-msi: drop software label property
You do not need to review this version. The remarks above from Sashiko
are correct. I will send a new revision soon. I hope that it will be the
correct one.
Gregory
> --
>
> commit 9aaa3be0c94345e12c3b93b0a3ada8acf3fb0a25
> Author: Gregory CLEMENT <gregory.clement@bootlin.com>
>
> dt-bindings: interrupt-controller: add Mobileye EyeQ5 PCIe MSI controller
>
> This commit adds the devicetree binding schema for the Mobileye EyeQ5
> PCIe MSI controller.
>
>> diff --git a/Documentation/devicetree/bindings/interrupt-controller/mobileye,eyeq5-msi.yaml b/Documentation/devicetree/bindings/interrupt-controller/mobileye,eyeq5-msi.yaml
>> new file mode 100644
>> index 0000000000000..b86698e4f82c7
>> --- /dev/null
>> +++ b/Documentation/devicetree/bindings/interrupt-controller/mobileye,eyeq5-msi.yaml
>> @@ -0,0 +1,90 @@
>
> [ ... ]
>
>> +properties:
>> + compatible:
>> + const: mobileye,eyeq5-msi
>> +
>> + reg:
>> + items:
>> + - description: GCSR block of the PCIe port
>> + - description: MSI vector control block
>> +
>> + interrupts:
>> + maxItems: 1
>> +
>> + interrupt-controller: true
>> +
>> + '#interrupt-cells':
>> + const: 1
>
> [Severity: Medium]
> Should interrupt-controller and '#interrupt-cells' be dropped from
> properties and required in mobileye,eyeq5-msi.yaml?
>
> According to the description, this hardware block only snoops message
> signaled interrupt write transactions from a peripheral port and signals
> its parent interrupt controller when a vector is pending. Consumers
> reference this node exclusively via msi-parent with '#msi-cells' set to 0,
> and it has no wired interrupt inputs.
>
> Consistently, the driver in drivers/irqchip/irq-eyeq5-msi.c only registers
> a parent domain via msi_create_parent_irq_domain() using
> eyeq_msi_domain_ops (.alloc, .free, and .select =
> msi_lib_irq_domain_select) and implements no .translate or .xlate callback
> for wired interrupt specifiers.
>
> Requiring interrupt-controller and '#interrupt-cells' set to 1 exposes an
> undocumented 1-cell interrupt specifier for a controller that cannot serve
> as an interrupt-parent, whereas chaining to a parent interrupt is an
> operating system driver detail (compare with altr,msi-controller.yaml,
> fsl,ls-msi.yaml, and fsl,mu-msi.yaml).
>
>> +
>> + msi-controller: true
>> +
>> + '#msi-cells':
>> + const: 0
>> +
>> + label:
>> + $ref: /schemas/types.yaml#/definitions/string
>> + description: Name of the MSI domain. If omitted, the node name is used.
>
> [Severity: Low]
> Is the label property appropriate for mobileye,eyeq5-msi.yaml?
>
> In devicetree bindings, label is intended for human-identifiable physical
> labels on a board or enclosure (such as external ports, leds, or buttons),
> whereas an irqdomain name and driver fallback behavior are kernel software
> concepts. In drivers/irqchip/irq-eyeq5-msi.c, this property is only used
> to print a boot message in pr_info(), and no other binding under
> Documentation/devicetree/bindings/interrupt-controller/ defines label.
>
> Additionally, if label were ever kept, its string type is already defined
> by core dtschema common properties, making the explicit $ref to
> /schemas/types.yaml#/definitions/string redundant.
>
> --
> Sashiko AI review · https://sashiko.dev/#/patchset/20261102-eyeq5_msi-v2-0-4aa3d3608064@bootlin.com?part=1
--
Grégory CLEMENT, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
next prev parent reply other threads:[~2026-11-03 9:41 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-02 16:50 [PATCH v2 0/4] irqchip: add EyeQ5 PCIe MSI controller Gregory CLEMENT
2026-11-02 16:50 ` [PATCH v2 1/4] dt-bindings: interrupt-controller: add Mobileye " Gregory CLEMENT
2026-11-02 17:09 ` sashiko-bot
2026-11-03 9:41 ` Gregory CLEMENT [this message]
2026-11-02 16:50 ` [PATCH v2 2/4] irqchip: irq-eyeq5-msi: add EyeQ5 PCIe MSI controller driver Gregory CLEMENT
2026-11-02 17:39 ` sashiko-bot
2026-11-02 16:50 ` [PATCH v2 3/4] MIPS: dts: eyeq5: add MSI controllers Gregory CLEMENT
2026-11-02 16:50 ` [PATCH v2 4/4] MAINTAINERS: add EyeQ5 MSI controller entry Gregory CLEMENT
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=8733ti2qvv.fsf@BLaptop.bootlin.com \
--to=gregory.clement@bootlin.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=krzk+dt@kernel.org \
--cc=robh@kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.