All of lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Inochi Amaoto" <inochiama@gmail.com>
Cc: linux-pci@vger.kernel.org, devicetree@vger.kernel.org,
	conor+dt@kernel.org, robh@kernel.org
Subject: Re: [PATCH v7 5/6] dt-bindings: PCI: spacemit: Introduce Spacemit K3 PCIe host controller
Date: Tue, 29 Sep 2026 08:47:57 +0000	[thread overview]
Message-ID: <20260929084757.AA7DA1F000FF@smtp.kernel.org> (raw)
In-Reply-To: <20260929083755.458238-6-inochiama@gmail.com>

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] dt-bindings: pci: spacemit: K3 incorrectly restricted to 'msi' interrupt
--

commit f1407822dae59764a20613a52957242f9229a513
Author: Inochi Amaoto <inochiama@gmail.com>

dt-bindings: PCI: spacemit: Introduce Spacemit K3 PCIe host controller

Add binding support for the PCIe controller on the SpacemiT K3 SoC.
This controller is almost a standard Synopsys DesignWare PCIe IP,
with some extra link and reset state control.

> diff --git a/Documentation/devicetree/bindings/pci/spacemit,k1-pcie-host.yaml b/Documentation/devicetree/bindings/pci/spacemit,k1-pcie-host.yaml
> index c4c00b5fcdc0c..af32e427c0c5d 100644
> --- a/Documentation/devicetree/bindings/pci/spacemit,k1-pcie-host.yaml
> +++ b/Documentation/devicetree/bindings/pci/spacemit,k1-pcie-host.yaml
[ ... ]
> @@ -66,6 +70,8 @@ properties:
>    interrupt-names:
>      const: msi
>  

[Severity: Medium]
Since this top-level constraint applies to all compatible strings, doesn't it
prevent the K3 variant (which uses an external MSI controller) from defining
its required standard PCIe interrupts?

If a 'spacemit,k3-pcie' device tree node adds standard PCIe host interrupts,
running 'make dt_binding_check' triggers a validation failure because the
global constraints limit the list to exactly one MSI interrupt. A correct
hardware description specifying standard DWC interrupts (e.g., 'aer', 'pme',
'intx') will fail schema validation.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260929083755.458238-1-inochiama@gmail.com?part=5

  reply	other threads:[~2026-09-29  8:48 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-29  8:37 [PATCH v7 0/6] riscv: spacemit: Add PCIe RC controller support for K3 Inochi Amaoto
2026-09-29  8:37 ` Inochi Amaoto
2026-09-29  8:37 ` [PATCH v7 1/6] PCI: spacemit-k1: Add device data support Inochi Amaoto
2026-09-29  8:37   ` Inochi Amaoto
2026-09-29  8:41   ` sashiko-bot
2026-09-30  7:55   ` Andy Shevchenko
2026-09-30  7:55     ` Andy Shevchenko
2026-09-29  8:37 ` [PATCH v7 2/6] PCI: spacemit-k1: Add multiple PHY handles support Inochi Amaoto
2026-09-29  8:37   ` Inochi Amaoto
2026-09-29  8:47   ` sashiko-bot
2026-09-30  7:57   ` Andy Shevchenko
2026-09-30  7:57     ` Andy Shevchenko
2026-09-29  8:37 ` [PATCH v7 3/6] PCI: spacemit-k1: Add device id update helper Inochi Amaoto
2026-09-29  8:37   ` Inochi Amaoto
2026-09-29  8:42   ` sashiko-bot
2026-09-30  7:58   ` Andy Shevchenko
2026-09-30  7:58     ` Andy Shevchenko
2026-09-29  8:37 ` [PATCH v7 4/6] dt-bindings: PCI: snps,dw-pcie: Add msi-parent for MSI handle check Inochi Amaoto
2026-09-29  8:37   ` Inochi Amaoto
2026-09-29  8:42   ` sashiko-bot
2026-09-29  8:37 ` [PATCH v7 5/6] dt-bindings: PCI: spacemit: Introduce Spacemit K3 PCIe host controller Inochi Amaoto
2026-09-29  8:37   ` Inochi Amaoto
2026-09-29  8:47   ` sashiko-bot [this message]
2026-10-06 15:50   ` Rob Herring (Arm)
2026-10-06 15:50     ` Rob Herring (Arm)
2026-09-29  8:37 ` [PATCH v7 6/6] PCI: spacemit-k1: Add Spacemit K3 PCIe host controller support Inochi Amaoto
2026-09-29  8:37   ` Inochi Amaoto
2026-09-29  8:53   ` sashiko-bot
2026-09-30  7:54   ` Andy Shevchenko
2026-09-30  7:54     ` Andy Shevchenko
2026-09-30  9:44     ` Inochi Amaoto
2026-09-30  9:44       ` Inochi Amaoto
2026-09-29 17:00 ` [PATCH v7 0/6] riscv: spacemit: Add PCIe RC controller support for K3 Aurelien Jarno
2026-09-29 17:00   ` Aurelien Jarno

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=20260929084757.AA7DA1F000FF@smtp.kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=inochiama@gmail.com \
    --cc=linux-pci@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 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.