mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: lg: add missing cache properties
@ 2023-04-21 22:32 Krzysztof Kozlowski
  2023-05-16 16:31 ` Krzysztof Kozlowski
  2023-07-13  6:53 ` Krzysztof Kozlowski
  0 siblings, 2 replies; 4+ messages in thread
From: Krzysztof Kozlowski @ 2023-04-21 22:32 UTC (permalink / raw)
  To: Chanho Min, Rob Herring, Krzysztof Kozlowski, linux-arm-kernel,
	devicetree, linux-kernel
  Cc: Krzysztof Kozlowski

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 <krzysztof.kozlowski@linaro.org>

---

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


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

* Re: [PATCH] arm64: dts: lg: add missing cache properties
  2023-04-21 22:32 [PATCH] arm64: dts: lg: add missing cache properties Krzysztof Kozlowski
@ 2023-05-16 16:31 ` Krzysztof Kozlowski
  2023-05-17  0:17   ` Chanho Min
  2023-07-13  6:53 ` Krzysztof Kozlowski
  1 sibling, 1 reply; 4+ messages in thread
From: Krzysztof Kozlowski @ 2023-05-16 16:31 UTC (permalink / raw)
  To: Chanho Min, Rob Herring, Krzysztof Kozlowski, linux-arm-kernel,
	devicetree, linux-kernel

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 <krzysztof.kozlowski@linaro.org>
> 
> ---
> 
> Please take the patch via sub-arch SoC tree.

Ping?

Best regards,
Krzysztof


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

* Re: Re: [PATCH] arm64: dts: lg: add missing cache properties
  2023-05-16 16:31 ` Krzysztof Kozlowski
@ 2023-05-17  0:17   ` Chanho Min
  0 siblings, 0 replies; 4+ messages in thread
From: Chanho Min @ 2023-05-17  0:17 UTC (permalink / raw)
  To: Krzysztof Kozlowski, Rob Herring, Krzysztof Kozlowski,
	linux-arm-kernel, devicetree, linux-kernel, Lee Gunho
  Cc: Chanho Min

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 <krzysztof.kozlowski@linaro.org>
>>
>> ---
>>
>> Please take the patch via sub-arch SoC tree.
> 
> Ping?

Acked-by: Chanho Min <chanho.min@lge.com>

Thanks,
Chanho


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

* Re: [PATCH] arm64: dts: lg: add missing cache properties
  2023-04-21 22:32 [PATCH] arm64: dts: lg: add missing cache properties Krzysztof Kozlowski
  2023-05-16 16:31 ` Krzysztof Kozlowski
@ 2023-07-13  6:53 ` Krzysztof Kozlowski
  1 sibling, 0 replies; 4+ messages in thread
From: Krzysztof Kozlowski @ 2023-07-13  6:53 UTC (permalink / raw)
  To: Chanho Min, Rob Herring, Krzysztof Kozlowski, linux-arm-kernel,
	devicetree, linux-kernel, Krzysztof Kozlowski


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 <krzysztof.kozlowski@linaro.org>

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

end of thread, other threads:[~2023-07-13  6:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-21 22:32 [PATCH] arm64: dts: lg: add missing cache properties Krzysztof Kozlowski
2023-05-16 16:31 ` Krzysztof Kozlowski
2023-05-17  0:17   ` Chanho Min
2023-07-13  6:53 ` Krzysztof Kozlowski

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®