From: Krzysztof Kozlowski <krzk@kernel.org>
To: Alireza Sanaee <alireza.sanaee@huawei.com>
Cc: devicetree@vger.kernel.org, robh@kernel.org,
jonathan.cameron@huawei.com,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, linuxarm@huawei.com,
mark.rutland@arm.com, shameerali.kolothum.thodi@huawei.com
Subject: Re: [PATCH v2 6/6] of: of_cpu_phandle_to_id to support SMT threads
Date: Tue, 6 May 2025 15:36:05 +0200 [thread overview]
Message-ID: <48fd85e7-4940-4bfd-943d-3c9674828a6c@kernel.org> (raw)
In-Reply-To: <20250506143125.00002cae.alireza.sanaee@huawei.com>
On 06/05/2025 15:31, Alireza Sanaee wrote:
>>>>
>>>
>>> Hi Krzysztof,
>>>
>>> There are some existing bindings in which this pattern has been
>>> used, so I don't think I am changing binding really.
>>>
>>> https://www.kernel.org/doc/Documentation/devicetree/bindings/thermal/thermal-zones.yaml#:~:text=cooling%2Ddevice%20%3D%20%3C%26CPU0%203%203%3E%2C%20%3C%26CPU1%203%203%3E%2C
>> I do not understand this - it is not cpus phandle. Please respond to
>> specific comment: how many arguments are allowed by dtschema for cpus?
>
> Hi Krzysztof,
>
> If you mean checking
> here? https://github.com/devicetree-org/dt-schema/blob/e6ea659d2baa30df1ec0fcc4f8354208692489eb/dtschema/schemas/cpu-map.yaml#L110
>
> There is no parameters allowed at this point for cpu phandles in the
> cpu-map tree. Of course, this is different than what's been
> implemented in the patchset.
Hm, ok, I thought you are adding this for cpu-map, but if not, then
where are the bindings for this ABI?
BTW, share your DTS so we can be sure that it is properly validated
against bindings.
Best regards,
Krzysztof
next prev parent reply other threads:[~2025-05-06 13:36 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-02 16:12 [PATCH v2 0/6] DT: Enable sharing resources for " Alireza Sanaee
2025-05-02 16:12 ` [PATCH v2 1/6] of: add infra for finding CPU id from phandle Alireza Sanaee
2025-05-04 17:48 ` Krzysztof Kozlowski
2025-05-06 10:26 ` Alireza Sanaee
2025-05-02 16:12 ` [PATCH v2 2/6] arch_topology: update CPU map to use the new API Alireza Sanaee
2025-05-02 16:12 ` [PATCH v2 3/6] coresight: cti: Use of_cpu_phandle_to_id for grabbing CPU id Alireza Sanaee
2025-05-02 16:12 ` [PATCH v2 4/6] coresight: " Alireza Sanaee
2025-05-02 16:12 ` [PATCH v2 5/6] arm64: of: handle multiple threads in ARM cpu node Alireza Sanaee
2025-05-02 16:13 ` [PATCH v2 6/6] of: of_cpu_phandle_to_id to support SMT threads Alireza Sanaee
2025-05-04 17:51 ` Krzysztof Kozlowski
2025-05-04 17:52 ` Krzysztof Kozlowski
2025-05-06 10:23 ` Alireza Sanaee
2025-05-06 10:56 ` Krzysztof Kozlowski
2025-05-06 13:31 ` Alireza Sanaee
2025-05-06 13:36 ` Krzysztof Kozlowski [this message]
2025-05-06 13:52 ` Alireza Sanaee
2025-05-06 10:25 ` Alireza Sanaee
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=48fd85e7-4940-4bfd-943d-3c9674828a6c@kernel.org \
--to=krzk@kernel.org \
--cc=alireza.sanaee@huawei.com \
--cc=devicetree@vger.kernel.org \
--cc=jonathan.cameron@huawei.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxarm@huawei.com \
--cc=mark.rutland@arm.com \
--cc=robh@kernel.org \
--cc=shameerali.kolothum.thodi@huawei.com \
/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
all inboxes | Powered by JetHome®