mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: nuvoton: add missing cache properties
@ 2023-04-21 22:31 Krzysztof Kozlowski
  2023-05-16 16:30 ` Krzysztof Kozlowski
  2023-07-13  6:53 ` Krzysztof Kozlowski
  0 siblings, 2 replies; 4+ messages in thread
From: Krzysztof Kozlowski @ 2023-04-21 22:31 UTC (permalink / raw)
  To: Avi Fishman, Tomer Maimon, Tali Perry, Patrick Venture,
	Nancy Yuen, Benjamin Fair, Rob Herring, Krzysztof Kozlowski,
	openbmc, 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:

  nuvoton-npcm845-evb.dtb: l2-cache: 'cache-level' is a required property
  nuvoton-npcm845-evb.dtb: l2-cache: 'cache-unified' 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/nuvoton/nuvoton-npcm845.dtsi | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm64/boot/dts/nuvoton/nuvoton-npcm845.dtsi b/arch/arm64/boot/dts/nuvoton/nuvoton-npcm845.dtsi
index 12118b75c0e6..383938dcd3ce 100644
--- a/arch/arm64/boot/dts/nuvoton/nuvoton-npcm845.dtsi
+++ b/arch/arm64/boot/dts/nuvoton/nuvoton-npcm845.dtsi
@@ -49,6 +49,8 @@ cpu3: cpu@3 {
 
 		l2: l2-cache {
 			compatible = "cache";
+			cache-level = <2>;
+			cache-unified;
 		};
 	};
 
-- 
2.34.1


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

* Re: [PATCH] arm64: dts: nuvoton: add missing cache properties
  2023-04-21 22:31 [PATCH] arm64: dts: nuvoton: add missing cache properties Krzysztof Kozlowski
@ 2023-05-16 16:30 ` Krzysztof Kozlowski
  2023-06-01  9:22   ` Tomer Maimon
  2023-07-13  6:53 ` Krzysztof Kozlowski
  1 sibling, 1 reply; 4+ messages in thread
From: Krzysztof Kozlowski @ 2023-05-16 16:30 UTC (permalink / raw)
  To: Avi Fishman, Tomer Maimon, Tali Perry, Patrick Venture,
	Nancy Yuen, Benjamin Fair, Rob Herring, Krzysztof Kozlowski,
	openbmc, devicetree, linux-kernel

On 22/04/2023 00:31, 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:
> 
>   nuvoton-npcm845-evb.dtb: l2-cache: 'cache-level' is a required property
>   nuvoton-npcm845-evb.dtb: l2-cache: 'cache-unified' is a required property
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> 
> ---
> 
> Please take the patch via sub-arch SoC tree.
> ---

Hi Tomer, Tali, Patrick and others,

Anyone picking this up?

Best regards,
Krzysztof


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

* Re: [PATCH] arm64: dts: nuvoton: add missing cache properties
  2023-05-16 16:30 ` Krzysztof Kozlowski
@ 2023-06-01  9:22   ` Tomer Maimon
  0 siblings, 0 replies; 4+ messages in thread
From: Tomer Maimon @ 2023-06-01  9:22 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: Avi Fishman, Tali Perry, Patrick Venture, Nancy Yuen,
	Benjamin Fair, Rob Herring, Krzysztof Kozlowski, openbmc,
	devicetree, linux-kernel

Hi Krzysztof,

Sorry for the late reply and thanks for your patch.

On Tue, 16 May 2023 at 19:30, Krzysztof Kozlowski
<krzysztof.kozlowski@linaro.org> wrote:
>
> On 22/04/2023 00:31, 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:
> >
> >   nuvoton-npcm845-evb.dtb: l2-cache: 'cache-level' is a required property
> >   nuvoton-npcm845-evb.dtb: l2-cache: 'cache-unified' is a required property
I didn't get these warnings in kernel 6.4-rc4, but still, the patch
has been tested on EVB-NPCM8XX and everything looks good.
> >
> > Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> >
> > ---
> >
> > Please take the patch via sub-arch SoC tree.
> > ---
>
> Hi Tomer, Tali, Patrick and others,
>
> Anyone picking this up?
>
> Best regards,
> Krzysztof
>
Reviewed-by: Tomer Maimon <tmaimon77@gmail.com>

Best regards,

Tomer

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

* Re: [PATCH] arm64: dts: nuvoton: add missing cache properties
  2023-04-21 22:31 [PATCH] arm64: dts: nuvoton: add missing cache properties Krzysztof Kozlowski
  2023-05-16 16:30 ` 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: Avi Fishman, Tomer Maimon, Tali Perry, Patrick Venture,
	Nancy Yuen, Benjamin Fair, Rob Herring, Krzysztof Kozlowski,
	openbmc, devicetree, linux-kernel, Krzysztof Kozlowski


On Sat, 22 Apr 2023 00:31:54 +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:
> 
>   nuvoton-npcm845-evb.dtb: l2-cache: 'cache-level' is a required property
>   nuvoton-npcm845-evb.dtb: l2-cache: 'cache-unified' 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: nuvoton: add missing cache properties
      https://git.kernel.org/krzk/linux-dt/c/a8cf500c42c751b992f5480c390d6ad2419472e0

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:31 [PATCH] arm64: dts: nuvoton: add missing cache properties Krzysztof Kozlowski
2023-05-16 16:30 ` Krzysztof Kozlowski
2023-06-01  9:22   ` Tomer Maimon
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®