2023-11-07 08:04:59

by Krzysztof Kozlowski

[permalink] [raw]
Subject: [PATCH] dt-bindings: cache: qcom,llcc: correct QDU1000 reg entries

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 <[email protected]>

---

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


2023-11-07 08:55:49

by Mukesh Ojha

[permalink] [raw]
Subject: Re: [PATCH] dt-bindings: cache: qcom,llcc: correct QDU1000 reg entries



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 <[email protected]>
>
> ---
>
> 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 <[email protected]>

-Mukesh


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

2023-12-08 13:24:15

by Rob Herring (Arm)

[permalink] [raw]
Subject: Re: [PATCH] dt-bindings: cache: qcom,llcc: correct QDU1000 reg entries


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 <[email protected]>
>
> ---
>
> 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!

2024-06-11 10:16:28

by Mukesh Ojha

[permalink] [raw]
Subject: Re: [PATCH] dt-bindings: cache: qcom,llcc: correct QDU1000 reg entries

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 <[email protected]>
> > > >
> > > > ---
> > > >
> > > > 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 <[email protected]>
> >
> > 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