* [PATCH 0/2] Update UniPhier armv8 devicetree
@ 2023-10-23 2:12 Kunihiko Hayashi
2023-10-23 2:12 ` [PATCH 1/2] arm64: dts: Update cache properties for socionext Kunihiko Hayashi
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Kunihiko Hayashi @ 2023-10-23 2:12 UTC (permalink / raw)
To: soc, Arnd Bergmann
Cc: Pierre Gondois, Krzysztof Kozlowski, Rob Herring, Conor Dooley,
Masami Hiramatsu, devicetree, linux-arm-kernel, linux-kernel,
Kunihiko Hayashi
Update devicetree sources for UniPhier armv8 SoCs to add
missing cache properties.
This series combines the following patches:
- https://lore.kernel.org/r/20221107155825.1644604-21-pierre.gondois@arm.com
- https://lore.kernel.org/all/f9a2c0d7-a78d-9368-f9bb-e8aba11e7d81@socionext.com/
Krzysztof Kozlowski (1):
arm64: dts: socionext: add missing cache properties
Pierre Gondois (1):
arm64: dts: Update cache properties for socionext
arch/arm64/boot/dts/socionext/uniphier-ld11.dtsi | 2 ++
arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi | 4 ++++
arch/arm64/boot/dts/socionext/uniphier-pxs3.dtsi | 2 ++
3 files changed, 8 insertions(+)
--
2.25.1
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 1/2] arm64: dts: Update cache properties for socionext
2023-10-23 2:12 [PATCH 0/2] Update UniPhier armv8 devicetree Kunihiko Hayashi
@ 2023-10-23 2:12 ` Kunihiko Hayashi
2023-10-23 2:12 ` [PATCH 2/2] arm64: dts: socionext: add missing cache properties Kunihiko Hayashi
2023-10-23 19:30 ` [PATCH 0/2] Update UniPhier armv8 devicetree patchwork-bot+linux-soc
2 siblings, 0 replies; 4+ messages in thread
From: Kunihiko Hayashi @ 2023-10-23 2:12 UTC (permalink / raw)
To: soc, Arnd Bergmann
Cc: Pierre Gondois, Krzysztof Kozlowski, Rob Herring, Conor Dooley,
Masami Hiramatsu, devicetree, linux-arm-kernel, linux-kernel,
Kunihiko Hayashi
From: Pierre Gondois <pierre.gondois@arm.com>
The DeviceTree Specification v0.3 specifies that the cache node
'compatible' and 'cache-level' properties are 'required'. Cf.
s3.8 Multi-level and Shared Cache Nodes
The 'cache-unified' property should be present if one of the
properties for unified cache is present ('cache-size', ...).
Update the Device Trees accordingly.
Signed-off-by: Pierre Gondois <pierre.gondois@arm.com>
Reviewed-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20221107155825.1644604-21-pierre.gondois@arm.com
Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
---
arch/arm64/boot/dts/socionext/uniphier-ld11.dtsi | 1 +
arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi | 2 ++
arch/arm64/boot/dts/socionext/uniphier-pxs3.dtsi | 1 +
3 files changed, 4 insertions(+)
diff --git a/arch/arm64/boot/dts/socionext/uniphier-ld11.dtsi b/arch/arm64/boot/dts/socionext/uniphier-ld11.dtsi
index 7bb36b071475..54e58d945fd7 100644
--- a/arch/arm64/boot/dts/socionext/uniphier-ld11.dtsi
+++ b/arch/arm64/boot/dts/socionext/uniphier-ld11.dtsi
@@ -52,6 +52,7 @@ cpu1: cpu@1 {
l2: l2-cache {
compatible = "cache";
+ cache-level = <2>;
};
};
diff --git a/arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi b/arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi
index 4e2171630272..18390cba2eda 100644
--- a/arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi
+++ b/arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi
@@ -86,10 +86,12 @@ cpu3: cpu@101 {
a72_l2: l2-cache0 {
compatible = "cache";
+ cache-level = <2>;
};
a53_l2: l2-cache1 {
compatible = "cache";
+ cache-level = <2>;
};
};
diff --git a/arch/arm64/boot/dts/socionext/uniphier-pxs3.dtsi b/arch/arm64/boot/dts/socionext/uniphier-pxs3.dtsi
index 38ccfb46ea42..56e037900818 100644
--- a/arch/arm64/boot/dts/socionext/uniphier-pxs3.dtsi
+++ b/arch/arm64/boot/dts/socionext/uniphier-pxs3.dtsi
@@ -83,6 +83,7 @@ cpu3: cpu@3 {
l2: l2-cache {
compatible = "cache";
+ cache-level = <2>;
};
};
--
2.25.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 2/2] arm64: dts: socionext: add missing cache properties
2023-10-23 2:12 [PATCH 0/2] Update UniPhier armv8 devicetree Kunihiko Hayashi
2023-10-23 2:12 ` [PATCH 1/2] arm64: dts: Update cache properties for socionext Kunihiko Hayashi
@ 2023-10-23 2:12 ` Kunihiko Hayashi
2023-10-23 19:30 ` [PATCH 0/2] Update UniPhier armv8 devicetree patchwork-bot+linux-soc
2 siblings, 0 replies; 4+ messages in thread
From: Kunihiko Hayashi @ 2023-10-23 2:12 UTC (permalink / raw)
To: soc, Arnd Bergmann
Cc: Pierre Gondois, Krzysztof Kozlowski, Rob Herring, Conor Dooley,
Masami Hiramatsu, devicetree, linux-arm-kernel, linux-kernel,
Kunihiko Hayashi
From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
As all level 2 and level 3 caches are unified, add required
cache-unified property to fix warnings like:
uniphier-ld11-ref.dtb: l2-cache: 'cache-unified' is a required property
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
---
arch/arm64/boot/dts/socionext/uniphier-ld11.dtsi | 1 +
arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi | 2 ++
arch/arm64/boot/dts/socionext/uniphier-pxs3.dtsi | 1 +
3 files changed, 4 insertions(+)
diff --git a/arch/arm64/boot/dts/socionext/uniphier-ld11.dtsi b/arch/arm64/boot/dts/socionext/uniphier-ld11.dtsi
index 54e58d945fd7..4680571c264d 100644
--- a/arch/arm64/boot/dts/socionext/uniphier-ld11.dtsi
+++ b/arch/arm64/boot/dts/socionext/uniphier-ld11.dtsi
@@ -53,6 +53,7 @@ cpu1: cpu@1 {
l2: l2-cache {
compatible = "cache";
cache-level = <2>;
+ cache-unified;
};
};
diff --git a/arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi b/arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi
index 18390cba2eda..335093da6573 100644
--- a/arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi
+++ b/arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi
@@ -87,11 +87,13 @@ cpu3: cpu@101 {
a72_l2: l2-cache0 {
compatible = "cache";
cache-level = <2>;
+ cache-unified;
};
a53_l2: l2-cache1 {
compatible = "cache";
cache-level = <2>;
+ cache-unified;
};
};
diff --git a/arch/arm64/boot/dts/socionext/uniphier-pxs3.dtsi b/arch/arm64/boot/dts/socionext/uniphier-pxs3.dtsi
index 56e037900818..d6e3cc6fdb25 100644
--- a/arch/arm64/boot/dts/socionext/uniphier-pxs3.dtsi
+++ b/arch/arm64/boot/dts/socionext/uniphier-pxs3.dtsi
@@ -84,6 +84,7 @@ cpu3: cpu@3 {
l2: l2-cache {
compatible = "cache";
cache-level = <2>;
+ cache-unified;
};
};
--
2.25.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH 0/2] Update UniPhier armv8 devicetree
2023-10-23 2:12 [PATCH 0/2] Update UniPhier armv8 devicetree Kunihiko Hayashi
2023-10-23 2:12 ` [PATCH 1/2] arm64: dts: Update cache properties for socionext Kunihiko Hayashi
2023-10-23 2:12 ` [PATCH 2/2] arm64: dts: socionext: add missing cache properties Kunihiko Hayashi
@ 2023-10-23 19:30 ` patchwork-bot+linux-soc
2 siblings, 0 replies; 4+ messages in thread
From: patchwork-bot+linux-soc @ 2023-10-23 19:30 UTC (permalink / raw)
To: Kunihiko Hayashi; +Cc: soc
Hello:
This series was applied to soc/soc.git (for-next)
by Arnd Bergmann <arnd@arndb.de>:
On Mon, 23 Oct 2023 11:12:19 +0900 you wrote:
> Update devicetree sources for UniPhier armv8 SoCs to add
> missing cache properties.
>
> This series combines the following patches:
> - https://lore.kernel.org/r/20221107155825.1644604-21-pierre.gondois@arm.com
> - https://lore.kernel.org/all/f9a2c0d7-a78d-9368-f9bb-e8aba11e7d81@socionext.com/
>
> [...]
Here is the summary with links:
- [1/2] arm64: dts: Update cache properties for socionext
https://git.kernel.org/soc/soc/c/8d4f9145f52e
- [2/2] arm64: dts: socionext: add missing cache properties
https://git.kernel.org/soc/soc/c/e035ddb68bb2
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-10-23 19:30 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-23 2:12 [PATCH 0/2] Update UniPhier armv8 devicetree Kunihiko Hayashi
2023-10-23 2:12 ` [PATCH 1/2] arm64: dts: Update cache properties for socionext Kunihiko Hayashi
2023-10-23 2:12 ` [PATCH 2/2] arm64: dts: socionext: add missing cache properties Kunihiko Hayashi
2023-10-23 19:30 ` [PATCH 0/2] Update UniPhier armv8 devicetree patchwork-bot+linux-soc
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).