* [PATCH 0/2] arm64: dts: renesas: Remove unit-addresses and regs from integrated caches
@ 2017-03-03 13:18 Geert Uytterhoeven
[not found] ` <1488547097-4804-1-git-send-email-geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org>
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Geert Uytterhoeven @ 2017-03-03 13:18 UTC (permalink / raw)
To: Simon Horman, Magnus Damm
Cc: Mark Rutland, devicetree, Geert Uytterhoeven, linux-renesas-soc,
Rob Herring, Sudeep Holla, linux-arm-kernel
Hi Simon, Magnus,
This patch series removes the bogus unit-addresses and reg properties
from the device nodes representing Cortex-A57/A53 cache controllers.
Note that the latter were added to remove warnings from dtc when using
W=1:
Warning (unit_address_vs_reg): Node /cache-controller@0 has a unit name, but no reg property
In hindsight, adding the reg properties turned out to be the wrong fix.
Indeed, the Cortex-A57/A53 cache controllers are integrated controllers,
and thus the device nodes representing them should not have
unit-addresses or reg properties.
This series does not have a runtime effect, as Linux doesn't rely much
on the properties of the cache-controller nodes.
After this patch has been accepted, I'll submit a similar series to fix
the DTS files for the Renesas arm32 SoCs.
Thanks for applying!
Geert Uytterhoeven (2):
arm64: dts: r8a7795: Remove unit-addresses and regs from integrated
caches
arm64: dts: r8a7796: Remove unit-address and reg from integrated cache
arch/arm64/boot/dts/renesas/r8a7795.dtsi | 6 ++----
arch/arm64/boot/dts/renesas/r8a7796.dtsi | 3 +--
2 files changed, 3 insertions(+), 6 deletions(-)
--
2.7.4
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <1488547097-4804-1-git-send-email-geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org>]
* [PATCH 1/2] arm64: dts: r8a7795: Remove unit-addresses and regs from integrated caches
[not found] ` <1488547097-4804-1-git-send-email-geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org>
@ 2017-03-03 13:18 ` Geert Uytterhoeven
0 siblings, 0 replies; 4+ messages in thread
From: Geert Uytterhoeven @ 2017-03-03 13:18 UTC (permalink / raw)
To: Simon Horman, Magnus Damm
Cc: Rob Herring, Mark Rutland, Sudeep Holla,
linux-renesas-soc-u79uwXL29TY76Z2rM5mHXA,
devicetree-u79uwXL29TY76Z2rM5mHXA,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
Geert Uytterhoeven
The Cortex-A57/A53 cache controllers are integrated controllers, and
thus the device nodes representing them should not have unit-addresses
or reg properties.
Fixes: 6f7bf82cc912441f ("arm64: dts: r8a7795: Fix W=1 dtc warnings")
Signed-off-by: Geert Uytterhoeven <geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org>
---
arch/arm64/boot/dts/renesas/r8a7795.dtsi | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/arch/arm64/boot/dts/renesas/r8a7795.dtsi b/arch/arm64/boot/dts/renesas/r8a7795.dtsi
index 13833aa8e035be04..67a8d2a4c9b568cc 100644
--- a/arch/arm64/boot/dts/renesas/r8a7795.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a7795.dtsi
@@ -110,17 +110,15 @@
enable-method = "psci";
};
- L2_CA57: cache-controller@0 {
+ L2_CA57: cache-controller-0 {
compatible = "cache";
- reg = <0>;
power-domains = <&sysc R8A7795_PD_CA57_SCU>;
cache-unified;
cache-level = <2>;
};
- L2_CA53: cache-controller@100 {
+ L2_CA53: cache-controller-1 {
compatible = "cache";
- reg = <0x100>;
power-domains = <&sysc R8A7795_PD_CA53_SCU>;
cache-unified;
cache-level = <2>;
--
2.7.4
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 2/2] arm64: dts: r8a7796: Remove unit-address and reg from integrated cache
2017-03-03 13:18 [PATCH 0/2] arm64: dts: renesas: Remove unit-addresses and regs from integrated caches Geert Uytterhoeven
[not found] ` <1488547097-4804-1-git-send-email-geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org>
@ 2017-03-03 13:18 ` Geert Uytterhoeven
2017-03-06 8:47 ` [PATCH 0/2] arm64: dts: renesas: Remove unit-addresses and regs from integrated caches Simon Horman
2 siblings, 0 replies; 4+ messages in thread
From: Geert Uytterhoeven @ 2017-03-03 13:18 UTC (permalink / raw)
To: Simon Horman, Magnus Damm
Cc: Mark Rutland, devicetree, Geert Uytterhoeven, linux-renesas-soc,
Rob Herring, Sudeep Holla, linux-arm-kernel
The Cortex-A57 cache controller is an integrated controller, and thus
the device node representing it should not have a unit-addresses or reg
property.
Fixes: 1561f20760ec96db ("arm64: dts: r8a7796: Add Renesas R8A7796 SoC support")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
arch/arm64/boot/dts/renesas/r8a7796.dtsi | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/arch/arm64/boot/dts/renesas/r8a7796.dtsi b/arch/arm64/boot/dts/renesas/r8a7796.dtsi
index f02dfdce92406f67..b950dcec9ace96a1 100644
--- a/arch/arm64/boot/dts/renesas/r8a7796.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a7796.dtsi
@@ -48,9 +48,8 @@
enable-method = "psci";
};
- L2_CA57: cache-controller@0 {
+ L2_CA57: cache-controller-0 {
compatible = "cache";
- reg = <0>;
power-domains = <&sysc R8A7796_PD_CA57_SCU>;
cache-unified;
cache-level = <2>;
--
2.7.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH 0/2] arm64: dts: renesas: Remove unit-addresses and regs from integrated caches
2017-03-03 13:18 [PATCH 0/2] arm64: dts: renesas: Remove unit-addresses and regs from integrated caches Geert Uytterhoeven
[not found] ` <1488547097-4804-1-git-send-email-geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org>
2017-03-03 13:18 ` [PATCH 2/2] arm64: dts: r8a7796: Remove unit-address and reg from integrated cache Geert Uytterhoeven
@ 2017-03-06 8:47 ` Simon Horman
2 siblings, 0 replies; 4+ messages in thread
From: Simon Horman @ 2017-03-06 8:47 UTC (permalink / raw)
To: Geert Uytterhoeven
Cc: Mark Rutland, devicetree, Magnus Damm, linux-renesas-soc,
Rob Herring, Sudeep Holla, linux-arm-kernel
On Fri, Mar 03, 2017 at 02:18:15PM +0100, Geert Uytterhoeven wrote:
> Hi Simon, Magnus,
>
> This patch series removes the bogus unit-addresses and reg properties
> from the device nodes representing Cortex-A57/A53 cache controllers.
>
> Note that the latter were added to remove warnings from dtc when using
> W=1:
>
> Warning (unit_address_vs_reg): Node /cache-controller@0 has a unit name, but no reg property
>
> In hindsight, adding the reg properties turned out to be the wrong fix.
> Indeed, the Cortex-A57/A53 cache controllers are integrated controllers,
> and thus the device nodes representing them should not have
> unit-addresses or reg properties.
>
> This series does not have a runtime effect, as Linux doesn't rely much
> on the properties of the cache-controller nodes.
>
> After this patch has been accepted, I'll submit a similar series to fix
> the DTS files for the Renesas arm32 SoCs.
Thanks, applied.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2017-03-06 8:47 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-03 13:18 [PATCH 0/2] arm64: dts: renesas: Remove unit-addresses and regs from integrated caches Geert Uytterhoeven
[not found] ` <1488547097-4804-1-git-send-email-geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org>
2017-03-03 13:18 ` [PATCH 1/2] arm64: dts: r8a7795: " Geert Uytterhoeven
2017-03-03 13:18 ` [PATCH 2/2] arm64: dts: r8a7796: Remove unit-address and reg from integrated cache Geert Uytterhoeven
2017-03-06 8:47 ` [PATCH 0/2] arm64: dts: renesas: Remove unit-addresses and regs from integrated caches Simon Horman
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).