2023-04-21 22:33:45

by Krzysztof Kozlowski

[permalink] [raw]
Subject: [PATCH] arm64: dts: lg: add missing cache properties

As all level 2 and level 3 caches are unified, add required
cache-unified and cache-level properties to fix warnings like:

lg1312-ref.dtb: l2-cache0: 'cache-level' is a required property

Signed-off-by: Krzysztof Kozlowski <[email protected]>

---

Please take the patch via sub-arch SoC tree.
---
arch/arm64/boot/dts/lg/lg1312.dtsi | 2 ++
arch/arm64/boot/dts/lg/lg1313.dtsi | 2 ++
2 files changed, 4 insertions(+)

diff --git a/arch/arm64/boot/dts/lg/lg1312.dtsi b/arch/arm64/boot/dts/lg/lg1312.dtsi
index 78ae73d0cf36..48ec4ebec0a8 100644
--- a/arch/arm64/boot/dts/lg/lg1312.dtsi
+++ b/arch/arm64/boot/dts/lg/lg1312.dtsi
@@ -48,6 +48,8 @@ cpu3: cpu@3 {
};
L2_0: l2-cache0 {
compatible = "cache";
+ cache-level = <2>;
+ cache-unified;
};
};

diff --git a/arch/arm64/boot/dts/lg/lg1313.dtsi b/arch/arm64/boot/dts/lg/lg1313.dtsi
index 2173316573be..3869460aa5dc 100644
--- a/arch/arm64/boot/dts/lg/lg1313.dtsi
+++ b/arch/arm64/boot/dts/lg/lg1313.dtsi
@@ -48,6 +48,8 @@ cpu3: cpu@3 {
};
L2_0: l2-cache0 {
compatible = "cache";
+ cache-level = <2>;
+ cache-unified;
};
};

--
2.34.1


2023-05-16 16:39:53

by Krzysztof Kozlowski

[permalink] [raw]
Subject: Re: [PATCH] arm64: dts: lg: add missing cache properties

On 22/04/2023 00:32, Krzysztof Kozlowski wrote:
> As all level 2 and level 3 caches are unified, add required
> cache-unified and cache-level properties to fix warnings like:
>
> lg1312-ref.dtb: l2-cache0: 'cache-level' is a required property
>
> Signed-off-by: Krzysztof Kozlowski <[email protected]>
>
> ---
>
> Please take the patch via sub-arch SoC tree.

Ping?

Best regards,
Krzysztof


2023-05-17 01:19:20

by Chanho Min

[permalink] [raw]
Subject: Re: Re: [PATCH] arm64: dts: lg: add missing cache properties

On 17/05/2023 01:31, Krzysztof Kozlowski wrote:
> On 22/04/2023 00:32, Krzysztof Kozlowski wrote:
>> As all level 2 and level 3 caches are unified, add required
>> cache-unified and cache-level properties to fix warnings like:
>>
>> lg1312-ref.dtb: l2-cache0: 'cache-level' is a required property
>>
>> Signed-off-by: Krzysztof Kozlowski <[email protected]>
>>
>> ---
>>
>> Please take the patch via sub-arch SoC tree.
>
> Ping?

Acked-by: Chanho Min <[email protected]>

Thanks,
Chanho


2023-07-13 07:07:38

by Krzysztof Kozlowski

[permalink] [raw]
Subject: Re: [PATCH] arm64: dts: lg: add missing cache properties


On Sat, 22 Apr 2023 00:32:01 +0200, Krzysztof Kozlowski wrote:
> As all level 2 and level 3 caches are unified, add required
> cache-unified and cache-level properties to fix warnings like:
>
> lg1312-ref.dtb: l2-cache0: 'cache-level' is a required property
>
>

This was waiting on the list for long time, so I am picking it up. If someone
else prefers to take it, let me know.

Applied, thanks!

[1/1] arm64: dts: lg: add missing cache properties
https://git.kernel.org/krzk/linux-dt/c/1193001081e98d13c786fe0cae407cb747104cdc

Best regards,
--
Krzysztof Kozlowski <[email protected]>