Re: [PATCH v2 6/6] of: of_cpu_phandle_to_id to support SMT threads

From: Krzysztof Kozlowski
Date: Sun May 04 2025 - 13:52:45 EST


On 04/05/2025 19:51, Krzysztof Kozlowski wrote:
>> In the CPU map, there are two cases that only one occurs at at time.
>> 1) "cpu" = <phandle>
>> 2) "cpus" = <phandle> <index>
>>
>> The first case addresses non-SMTs and the second case addresses SMTs
>> that the variable must be cpu(s) with an index where we later look up
>> the reg array with that.
>>
>> core0 {
>> thread0 {
>> cpus = <&cpu0 0>;
>
> Not so sure, dtschema says only one item is allowed in the phandle and I
> do not see here binding change.
>
> Although this wasn't even sent to me, so I'll just ignore your patchset.

Ah, there was no binding in the patchset, so that's why I did not get
it. Makes sense now, but question about missing binding change stays.

Best regards,
Krzysztof