Devicetree
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: cache: qcom,llcc: correct QDU1000 reg entries
@ 2023-11-07  8:04 Krzysztof Kozlowski
  2023-11-07  8:55 ` Mukesh Ojha
  2023-12-08 13:23 ` Rob Herring
  0 siblings, 2 replies; 6+ messages in thread
From: Krzysztof Kozlowski @ 2023-11-07  8:04 UTC (permalink / raw)
  To: Andy Gross, Bjorn Andersson, Konrad Dybcio, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, linux-arm-msm, devicetree,
	linux-kernel
  Cc: Krzysztof Kozlowski

Qualcomm QDU1000 DTSI comes with one LLCC0 base address as pointed by
dtbs_check:

  qdu1000-idp.dtb: system-cache-controller@19200000: reg-names:2: 'llcc2_base' was expected

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

---

Recent LLCC patches were not tested on QDU1000 thus the LLCC is there
broken.  This patch at least tries to bring some sense according to
DTSI, but I have no clue what is here correct: driver, DTS or bindings.
---
 Documentation/devicetree/bindings/cache/qcom,llcc.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/cache/qcom,llcc.yaml b/Documentation/devicetree/bindings/cache/qcom,llcc.yaml
index 580f9a97ddf7..d610b0be262c 100644
--- a/Documentation/devicetree/bindings/cache/qcom,llcc.yaml
+++ b/Documentation/devicetree/bindings/cache/qcom,llcc.yaml
@@ -64,6 +64,7 @@ allOf:
         compatible:
           contains:
             enum:
+              - qcom,qdu1000-llcc
               - qcom,sc7180-llcc
               - qcom,sm6350-llcc
     then:
@@ -101,7 +102,6 @@ allOf:
         compatible:
           contains:
             enum:
-              - qcom,qdu1000-llcc
               - qcom,sc8180x-llcc
               - qcom,sc8280xp-llcc
     then:
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH] dt-bindings: cache: qcom,llcc: correct QDU1000 reg entries
  2023-11-07  8:04 [PATCH] dt-bindings: cache: qcom,llcc: correct QDU1000 reg entries Krzysztof Kozlowski
@ 2023-11-07  8:55 ` Mukesh Ojha
  2023-11-08 12:26   ` Conor Dooley
  2023-12-08 13:23 ` Rob Herring
  1 sibling, 1 reply; 6+ messages in thread
From: Mukesh Ojha @ 2023-11-07  8:55 UTC (permalink / raw)
  To: Krzysztof Kozlowski, Andy Gross, Bjorn Andersson, Konrad Dybcio,
	Rob Herring, Krzysztof Kozlowski, Conor Dooley, linux-arm-msm,
	devicetree, linux-kernel



On 11/7/2023 1:34 PM, Krzysztof Kozlowski wrote:
> Qualcomm QDU1000 DTSI comes with one LLCC0 base address as pointed by
> dtbs_check:
> 
>    qdu1000-idp.dtb: system-cache-controller@19200000: reg-names:2: 'llcc2_base' was expected
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> 
> ---
> 
> Recent LLCC patches were not tested on QDU1000 thus the LLCC is there
> broken.  This patch at least tries to bring some sense according to
> DTSI, but I have no clue what is here correct: driver, DTS or bindings.
> ---
>   Documentation/devicetree/bindings/cache/qcom,llcc.yaml | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Documentation/devicetree/bindings/cache/qcom,llcc.yaml b/Documentation/devicetree/bindings/cache/qcom,llcc.yaml
> index 580f9a97ddf7..d610b0be262c 100644
> --- a/Documentation/devicetree/bindings/cache/qcom,llcc.yaml
> +++ b/Documentation/devicetree/bindings/cache/qcom,llcc.yaml
> @@ -64,6 +64,7 @@ allOf:
>           compatible:
>             contains:
>               enum:
> +              - qcom,qdu1000-llcc
>                 - qcom,sc7180-llcc
>                 - qcom,sm6350-llcc

Thanks, again.

Acked-by: Mukesh Ojha <quic_mojha@quicinc.com>

-Mukesh


>       then:
> @@ -101,7 +102,6 @@ allOf:
>           compatible:
>             contains:
>               enum:
> -              - qcom,qdu1000-llcc
>                 - qcom,sc8180x-llcc
>                 - qcom,sc8280xp-llcc
>       then:

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] dt-bindings: cache: qcom,llcc: correct QDU1000 reg entries
  2023-11-07  8:55 ` Mukesh Ojha
@ 2023-11-08 12:26   ` Conor Dooley
  2023-11-09  8:40     ` Mukesh Ojha
  0 siblings, 1 reply; 6+ messages in thread
From: Conor Dooley @ 2023-11-08 12:26 UTC (permalink / raw)
  To: Mukesh Ojha
  Cc: Krzysztof Kozlowski, Andy Gross, Bjorn Andersson, Konrad Dybcio,
	Rob Herring, Krzysztof Kozlowski, Conor Dooley, linux-arm-msm,
	devicetree, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 1563 bytes --]

On Tue, Nov 07, 2023 at 02:25:25PM +0530, Mukesh Ojha wrote:
> 
> 
> On 11/7/2023 1:34 PM, Krzysztof Kozlowski wrote:
> > Qualcomm QDU1000 DTSI comes with one LLCC0 base address as pointed by
> > dtbs_check:
> > 
> >    qdu1000-idp.dtb: system-cache-controller@19200000: reg-names:2: 'llcc2_base' was expected
> > 
> > Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> > 
> > ---
> > 
> > Recent LLCC patches were not tested on QDU1000 thus the LLCC is there
> > broken.  This patch at least tries to bring some sense according to
> > DTSI, but I have no clue what is here correct: driver, DTS or bindings.
> > ---
> >   Documentation/devicetree/bindings/cache/qcom,llcc.yaml | 2 +-
> >   1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/Documentation/devicetree/bindings/cache/qcom,llcc.yaml b/Documentation/devicetree/bindings/cache/qcom,llcc.yaml
> > index 580f9a97ddf7..d610b0be262c 100644
> > --- a/Documentation/devicetree/bindings/cache/qcom,llcc.yaml
> > +++ b/Documentation/devicetree/bindings/cache/qcom,llcc.yaml
> > @@ -64,6 +64,7 @@ allOf:
> >           compatible:
> >             contains:
> >               enum:
> > +              - qcom,qdu1000-llcc
> >                 - qcom,sc7180-llcc
> >                 - qcom,sm6350-llcc
> 
> Thanks, again.
> 
> Acked-by: Mukesh Ojha <quic_mojha@quicinc.com>

I'm assuming given your employer, this ack means that there is no
llcc2_base on the qdu1000.

Acked-by: Conor Dooley <conor.dooley@microchip.com>

Cheers,
Conor.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] dt-bindings: cache: qcom,llcc: correct QDU1000 reg entries
  2023-11-08 12:26   ` Conor Dooley
@ 2023-11-09  8:40     ` Mukesh Ojha
  2024-06-11 10:15       ` Mukesh Ojha
  0 siblings, 1 reply; 6+ messages in thread
From: Mukesh Ojha @ 2023-11-09  8:40 UTC (permalink / raw)
  To: Conor Dooley
  Cc: Krzysztof Kozlowski, Andy Gross, Bjorn Andersson, Konrad Dybcio,
	Rob Herring, Krzysztof Kozlowski, Conor Dooley, linux-arm-msm,
	devicetree, linux-kernel



On 11/8/2023 5:56 PM, Conor Dooley wrote:
> On Tue, Nov 07, 2023 at 02:25:25PM +0530, Mukesh Ojha wrote:
>>
>>
>> On 11/7/2023 1:34 PM, Krzysztof Kozlowski wrote:
>>> Qualcomm QDU1000 DTSI comes with one LLCC0 base address as pointed by
>>> dtbs_check:
>>>
>>>     qdu1000-idp.dtb: system-cache-controller@19200000: reg-names:2: 'llcc2_base' was expected
>>>
>>> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
>>>
>>> ---
>>>
>>> Recent LLCC patches were not tested on QDU1000 thus the LLCC is there
>>> broken.  This patch at least tries to bring some sense according to
>>> DTSI, but I have no clue what is here correct: driver, DTS or bindings.
>>> ---
>>>    Documentation/devicetree/bindings/cache/qcom,llcc.yaml | 2 +-
>>>    1 file changed, 1 insertion(+), 1 deletion(-)
>>>
>>> diff --git a/Documentation/devicetree/bindings/cache/qcom,llcc.yaml b/Documentation/devicetree/bindings/cache/qcom,llcc.yaml
>>> index 580f9a97ddf7..d610b0be262c 100644
>>> --- a/Documentation/devicetree/bindings/cache/qcom,llcc.yaml
>>> +++ b/Documentation/devicetree/bindings/cache/qcom,llcc.yaml
>>> @@ -64,6 +64,7 @@ allOf:
>>>            compatible:
>>>              contains:
>>>                enum:
>>> +              - qcom,qdu1000-llcc
>>>                  - qcom,sc7180-llcc
>>>                  - qcom,sm6350-llcc
>>
>> Thanks, again.
>>
>> Acked-by: Mukesh Ojha <quic_mojha@quicinc.com>
> 
> I'm assuming given your employer, this ack means that there is no
> llcc2_base on the qdu1000.

Yes, not even have llcc1 , just llcc0.

-Mukesh
> 
> Acked-by: Conor Dooley <conor.dooley@microchip.com>
> 
> Cheers,
> Conor.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] dt-bindings: cache: qcom,llcc: correct QDU1000 reg entries
  2023-11-07  8:04 [PATCH] dt-bindings: cache: qcom,llcc: correct QDU1000 reg entries Krzysztof Kozlowski
  2023-11-07  8:55 ` Mukesh Ojha
@ 2023-12-08 13:23 ` Rob Herring
  1 sibling, 0 replies; 6+ messages in thread
From: Rob Herring @ 2023-12-08 13:23 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: Krzysztof Kozlowski, Konrad Dybcio, Conor Dooley, linux-kernel,
	Andy Gross, linux-arm-msm, devicetree, Rob Herring,
	Bjorn Andersson


On Tue, 07 Nov 2023 09:04:36 +0100, Krzysztof Kozlowski wrote:
> Qualcomm QDU1000 DTSI comes with one LLCC0 base address as pointed by
> dtbs_check:
> 
>   qdu1000-idp.dtb: system-cache-controller@19200000: reg-names:2: 'llcc2_base' was expected
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> 
> ---
> 
> Recent LLCC patches were not tested on QDU1000 thus the LLCC is there
> broken.  This patch at least tries to bring some sense according to
> DTSI, but I have no clue what is here correct: driver, DTS or bindings.
> ---
>  Documentation/devicetree/bindings/cache/qcom,llcc.yaml | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 

Applied, thanks!


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] dt-bindings: cache: qcom,llcc: correct QDU1000 reg entries
  2023-11-09  8:40     ` Mukesh Ojha
@ 2024-06-11 10:15       ` Mukesh Ojha
  0 siblings, 0 replies; 6+ messages in thread
From: Mukesh Ojha @ 2024-06-11 10:15 UTC (permalink / raw)
  To: Conor Dooley
  Cc: Krzysztof Kozlowski, Andy Gross, Bjorn Andersson, Konrad Dybcio,
	Rob Herring, Krzysztof Kozlowski, Conor Dooley, Komal Bajaj,
	linux-arm-msm, devicetree, linux-kernel

On Thu, Nov 09, 2023 at 02:10:41PM +0530, Mukesh Ojha wrote:
> 
> 
> On 11/8/2023 5:56 PM, Conor Dooley wrote:
> > On Tue, Nov 07, 2023 at 02:25:25PM +0530, Mukesh Ojha wrote:
> > > 
> > > 
> > > On 11/7/2023 1:34 PM, Krzysztof Kozlowski wrote:
> > > > Qualcomm QDU1000 DTSI comes with one LLCC0 base address as pointed by
> > > > dtbs_check:
> > > > 
> > > >     qdu1000-idp.dtb: system-cache-controller@19200000: reg-names:2: 'llcc2_base' was expected
> > > > 
> > > > Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> > > > 
> > > > ---
> > > > 
> > > > Recent LLCC patches were not tested on QDU1000 thus the LLCC is there
> > > > broken.  This patch at least tries to bring some sense according to
> > > > DTSI, but I have no clue what is here correct: driver, DTS or bindings.
> > > > ---
> > > >    Documentation/devicetree/bindings/cache/qcom,llcc.yaml | 2 +-
> > > >    1 file changed, 1 insertion(+), 1 deletion(-)
> > > > 
> > > > diff --git a/Documentation/devicetree/bindings/cache/qcom,llcc.yaml b/Documentation/devicetree/bindings/cache/qcom,llcc.yaml
> > > > index 580f9a97ddf7..d610b0be262c 100644
> > > > --- a/Documentation/devicetree/bindings/cache/qcom,llcc.yaml
> > > > +++ b/Documentation/devicetree/bindings/cache/qcom,llcc.yaml
> > > > @@ -64,6 +64,7 @@ allOf:
> > > >            compatible:
> > > >              contains:
> > > >                enum:
> > > > +              - qcom,qdu1000-llcc
> > > >                  - qcom,sc7180-llcc
> > > >                  - qcom,sm6350-llcc
> > > 
> > > Thanks, again.
> > > 
> > > Acked-by: Mukesh Ojha <quic_mojha@quicinc.com>
> > 
> > I'm assuming given your employer, this ack means that there is no
> > llcc2_base on the qdu1000.
> 
> Yes, not even have llcc1 , just llcc0.

Looks like i saw downstream usage and said LLCC has only one
instance for qdu1000, it looks refactor happened during the
same where each bank need to separately denoted in device tree.
Change was fine a/c to its usage in device tree.
Not an excuse, that is an ignorance from my side while acking
the change.

qdu1000 has 8 banks from llcc0-7 that need to corrected both
in its device tree and in the binding.

@komal will be sending patch for this.

-Mukesh

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-06-11 10:15 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-07  8:04 [PATCH] dt-bindings: cache: qcom,llcc: correct QDU1000 reg entries Krzysztof Kozlowski
2023-11-07  8:55 ` Mukesh Ojha
2023-11-08 12:26   ` Conor Dooley
2023-11-09  8:40     ` Mukesh Ojha
2024-06-11 10:15       ` Mukesh Ojha
2023-12-08 13:23 ` Rob Herring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox