From: Krzysztof Kozlowski <krzk@kernel.org>
To: Manikandan Karunakaran Pillai <mpillai@cadence.com>,
"lpieralisi@kernel.org" <lpieralisi@kernel.org>,
"manivannan.sadhasivam@linaro.org"
<manivannan.sadhasivam@linaro.org>,
"bhelgaas@google.com" <bhelgaas@google.com>,
"kw@linux.com" <kw@linux.com>,
"robh@kernel.org" <robh@kernel.org>,
"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"linux-pci@vger.kernel.org" <linux-pci@vger.kernel.org>
Subject: Re: [PATCH 1/6] dt-bindings: pci: cadence: Add property "hpa" for PCIe controllers
Date: Mon, 24 Mar 2025 16:59:21 +0100 [thread overview]
Message-ID: <60af2ed4-91a9-434b-b1f6-a87218aba381@kernel.org> (raw)
In-Reply-To: <CH2PPF4D26F8E1CE4E18E9CC5B8DAF724DCA2A42@CH2PPF4D26F8E1C.namprd07.prod.outlook.com>
On 24/03/2025 10:08, Manikandan Karunakaran Pillai wrote:
> Document the newly added property "hpa" for Cadence PCIe controllers in Documentation/devicetree/bindings/pci/ for Root Port and Endpoint configurations
Drop the path, pointless.
>
Please run scripts/checkpatch.pl on the patches and fix reported
warnings. After that, run also 'scripts/checkpatch.pl --strict' on the
patches and (probably) fix more warnings. Some warnings can be ignored,
especially from --strict run, but the code here looks like it needs a
fix. Feel free to get in touch if the warning is not clear.
<form letter>
Please use scripts/get_maintainers.pl to get a list of necessary people
and lists to CC (and consider --no-git-fallback argument, so you will
not CC people just because they made one commit years ago). It might
happen, that command when run on an older kernel, gives you outdated
entries. Therefore please be sure you base your patches on recent Linux
kernel.
Tools like b4 or scripts/get_maintainer.pl provide you proper list of
people, so fix your workflow. Tools might also fail if you work on some
ancient tree (don't, instead use mainline) or work on fork of kernel
(don't, instead use mainline). Just use b4 and everything should be
fine, although remember about `b4 prep --auto-to-cc` if you added new
patches to the patchset.
</form letter>
> Signed-off-by: Manikandan K Pillai <mpillai@cadence.com>
> ---
> .../devicetree/bindings/pci/cdns,cdns-pcie-ep.yaml | 4 ++++
> .../devicetree/bindings/pci/cdns,cdns-pcie-host.yaml | 7 +++++++
> 2 files changed, 11 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/pci/cdns,cdns-pcie-ep.yaml b/Documentation/devicetree/bindings/pci/cdns,cdns-pcie-ep.yaml
> index 98651ab22103..4e839fa90b23 100644
> --- a/Documentation/devicetree/bindings/pci/cdns,cdns-pcie-ep.yaml
> +++ b/Documentation/devicetree/bindings/pci/cdns,cdns-pcie-ep.yaml
> @@ -24,6 +24,10 @@ properties:
> - const: reg
> - const: mem
>
> + hpa:
> + description: If present PCI controller is high performance architecture
compatible defines this.
> + type: boolean
> +
> required:
> - reg
> - reg-names
> diff --git a/Documentation/devicetree/bindings/pci/cdns,cdns-pcie-host.yaml b/Documentation/devicetree/bindings/pci/cdns,cdns-pcie-host.yaml
> index a8190d9b100f..c219fe15c879 100644
> --- a/Documentation/devicetree/bindings/pci/cdns,cdns-pcie-host.yaml
> +++ b/Documentation/devicetree/bindings/pci/cdns,cdns-pcie-host.yaml
> @@ -9,8 +9,11 @@ title: Cadence PCIe host controller
> maintainers:
> - Tom Joseph <tjoseph@cadence.com>
>
> +select: false
No clue what you wanted to achieve here, no explanation in commit msg
and this makes not much sense.
> +
> allOf:
> - $ref: cdns-pcie-host.yaml#
> + - $ref: cdns-pcie.yaml#
Why?
>
> properties:
> compatible:
> @@ -24,6 +27,10 @@ properties:
> - const: reg
> - const: cfg
>
> + hpa:
Again, compatible defines this.
Anyway, follow standard DT binding rules (see writing bindings, numerous
talks or guides).
Best regards,
Krzysztof
next prev parent reply other threads:[~2025-03-24 15:59 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20250324082335.2566055-1-mpillai@cadence.com>
2025-03-24 9:08 ` [PATCH 1/6] dt-bindings: pci: cadence: Add property "hpa" for PCIe controllers Manikandan Karunakaran Pillai
2025-03-24 15:59 ` Krzysztof Kozlowski [this message]
2025-03-25 3:16 ` Manikandan Karunakaran Pillai
2025-03-25 6:57 ` Krzysztof Kozlowski
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=60af2ed4-91a9-434b-b1f6-a87218aba381@kernel.org \
--to=krzk@kernel.org \
--cc=bhelgaas@google.com \
--cc=devicetree@vger.kernel.org \
--cc=kw@linux.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=lpieralisi@kernel.org \
--cc=manivannan.sadhasivam@linaro.org \
--cc=mpillai@cadence.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox