Message ID | 20231020195022.4183862-2-robh@kernel.org (mailing list archive) |
---|---|
State | Accepted |
Commit | 8d4f9145f52e9d1c5e6e86402ef8ca24cadb38f9 |
Headers | show |
Series | [RESEND,v2] arm64: dts: Update cache properties for socionext | expand |
On 20/10/2023 21:50, Rob Herring wrote: > 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> > Link: https://lore.kernel.org/r/20221107155825.1644604-21-pierre.gondois@arm.com > Signed-off-by: Rob Herring <robh@kernel.org> > --- > I noticed this one fell thru the cracks from the rest of the series. > > Arnd, Can you take this directly. A bit after Pierre - in April 2023 - I sent similar which was said to be "applied": https://lore.kernel.org/all/f9a2c0d7-a78d-9368-f9bb-e8aba11e7d81@socionext.com/ Maybe the Socionext status in MAINTAINERS should be odd fixes? Best regards, Krzysztof
On 20/10/2023 21:50, Rob Herring wrote: > 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> > Link: https://lore.kernel.org/r/20221107155825.1644604-21-pierre.gondois@arm.com > Signed-off-by: Rob Herring <robh@kernel.org> > --- Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Best regards, Krzysztof
Hi Krzysztof, Rob, On 2023/10/21 6:26, Krzysztof Kozlowski wrote: > On 20/10/2023 21:50, Rob Herring wrote: >> 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> >> Link: >> https://lore.kernel.org/r/20221107155825.1644604-21-pierre.gondois@arm.com >> Signed-off-by: Rob Herring <robh@kernel.org> >> --- >> I noticed this one fell thru the cracks from the rest of the series. >> >> Arnd, Can you take this directly. > > A bit after Pierre - in April 2023 - I sent similar which was said to be > "applied": > https://lore.kernel.org/all/f9a2c0d7-a78d-9368-f9bb-e8aba11e7d81@socionext.com/ > > Maybe the Socionext status in MAINTAINERS should be odd fixes? Sorry my mistake. I thought Pierre's patch had been already applied, however, I set Krzysztof's patch to "applied" but it was missing from the post to soc. Since Krzysztof's patch includes the same "cache-level" lines as Pierre's, the lines needs to be removed. I'll post the update series including both to soc. Thank you, --- Best Regards Kunihiko Hayashi
Hello: This patch was applied to soc/soc.git (for-next) by Arnd Bergmann <arnd@arndb.de>: On Fri, 20 Oct 2023 14:50:22 -0500 you wrote: > 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', ...). > > [...] Here is the summary with links: - [RESEND,v2] arm64: dts: Update cache properties for socionext https://git.kernel.org/soc/soc/c/8d4f9145f52e You are awesome, thank you!
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>; }; };