* [PATCH v2] arm64: dts: r8a7795: Add L2 cache-controller nodes
@ 2016-01-16 14:17 Dirk Behme
2016-02-03 17:21 ` Dirk Behme
0 siblings, 1 reply; 3+ messages in thread
From: Dirk Behme @ 2016-01-16 14:17 UTC (permalink / raw)
To: linux-arm-kernel
From: Geert Uytterhoeven <geert+renesas@glider.be>
Add device nodes for the L2 caches, and link the CPU node to its L2
cache node.
The L2 cache for the Cortex-A57 CPU cores is 2 MiB large (organized as
128 KiB x 16 ways).
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Dirk Behme <dirk.behme@gmail.com>
---
Changes in v2: Dropped the not yet merged Cortex A53 part.
arch/arm64/boot/dts/renesas/r8a7795.dtsi | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/arch/arm64/boot/dts/renesas/r8a7795.dtsi b/arch/arm64/boot/dts/renesas/r8a7795.dtsi
index a82bce8..a22ae65 100644
--- a/arch/arm64/boot/dts/renesas/r8a7795.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a7795.dtsi
@@ -39,6 +39,7 @@
compatible = "arm,cortex-a57", "arm,armv8";
reg = <0x0>;
device_type = "cpu";
+ next-level-cache = <&L2_CA57>;
enable-method = "psci";
};
@@ -46,22 +47,29 @@
compatible = "arm,cortex-a57","arm,armv8";
reg = <0x1>;
device_type = "cpu";
+ next-level-cache = <&L2_CA57>;
enable-method = "psci";
};
a57_2: cpu@2 {
compatible = "arm,cortex-a57","arm,armv8";
reg = <0x2>;
device_type = "cpu";
+ next-level-cache = <&L2_CA57>;
enable-method = "psci";
};
a57_3: cpu@3 {
compatible = "arm,cortex-a57","arm,armv8";
reg = <0x3>;
device_type = "cpu";
+ next-level-cache = <&L2_CA57>;
enable-method = "psci";
};
};
+ L2_CA57: cache-controller@0 {
+ compatible = "cache";
+ };
+
extal_clk: extal {
compatible = "fixed-clock";
#clock-cells = <0>;
--
2.7.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH v2] arm64: dts: r8a7795: Add L2 cache-controller nodes
2016-01-16 14:17 [PATCH v2] arm64: dts: r8a7795: Add L2 cache-controller nodes Dirk Behme
@ 2016-02-03 17:21 ` Dirk Behme
2016-02-05 9:57 ` Simon Horman
0 siblings, 1 reply; 3+ messages in thread
From: Dirk Behme @ 2016-02-03 17:21 UTC (permalink / raw)
To: linux-arm-kernel
On 16.01.2016 15:17, Dirk Behme wrote:
> From: Geert Uytterhoeven <geert+renesas@glider.be>
>
> Add device nodes for the L2 caches, and link the CPU node to its L2
> cache node.
>
> The L2 cache for the Cortex-A57 CPU cores is 2 MiB large (organized as
> 128 KiB x 16 ways).
>
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> Signed-off-by: Dirk Behme <dirk.behme@gmail.com>
> ---
> Changes in v2: Dropped the not yet merged Cortex A53 part.
>
> arch/arm64/boot/dts/renesas/r8a7795.dtsi | 8 ++++++++
> 1 file changed, 8 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/renesas/r8a7795.dtsi b/arch/arm64/boot/dts/renesas/r8a7795.dtsi
> index a82bce8..a22ae65 100644
> --- a/arch/arm64/boot/dts/renesas/r8a7795.dtsi
> +++ b/arch/arm64/boot/dts/renesas/r8a7795.dtsi
> @@ -39,6 +39,7 @@
> compatible = "arm,cortex-a57", "arm,armv8";
> reg = <0x0>;
> device_type = "cpu";
> + next-level-cache = <&L2_CA57>;
> enable-method = "psci";
> };
>
> @@ -46,22 +47,29 @@
> compatible = "arm,cortex-a57","arm,armv8";
> reg = <0x1>;
> device_type = "cpu";
> + next-level-cache = <&L2_CA57>;
> enable-method = "psci";
> };
> a57_2: cpu@2 {
> compatible = "arm,cortex-a57","arm,armv8";
> reg = <0x2>;
> device_type = "cpu";
> + next-level-cache = <&L2_CA57>;
> enable-method = "psci";
> };
> a57_3: cpu@3 {
> compatible = "arm,cortex-a57","arm,armv8";
> reg = <0x3>;
> device_type = "cpu";
> + next-level-cache = <&L2_CA57>;
> enable-method = "psci";
> };
> };
>
> + L2_CA57: cache-controller@0 {
> + compatible = "cache";
> + };
> +
> extal_clk: extal {
> compatible = "fixed-clock";
> #clock-cells = <0>;
>
Any further comments to this? If not, could this be applied?
Best regards
Dirk
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v2] arm64: dts: r8a7795: Add L2 cache-controller nodes
2016-02-03 17:21 ` Dirk Behme
@ 2016-02-05 9:57 ` Simon Horman
0 siblings, 0 replies; 3+ messages in thread
From: Simon Horman @ 2016-02-05 9:57 UTC (permalink / raw)
To: linux-arm-kernel
[CC new linux-renesas-soc ML]
Hi Dirk,
On Wed, Feb 03, 2016 at 06:21:17PM +0100, Dirk Behme wrote:
> On 16.01.2016 15:17, Dirk Behme wrote:
> >From: Geert Uytterhoeven <geert+renesas@glider.be>
> >
> >Add device nodes for the L2 caches, and link the CPU node to its L2
> >cache node.
> >
> >The L2 cache for the Cortex-A57 CPU cores is 2 MiB large (organized as
> >128 KiB x 16 ways).
> >
> >Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> >Signed-off-by: Dirk Behme <dirk.behme@gmail.com>
[snip]
> Any further comments to this? If not, could this be applied?
Sorry for the delay.
This looks good; I have queued it up.
It should appear in the next (and devel) branches of my renesas tree soon.
And in linux-next whenever it includes my updated next branch.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-02-05 9:57 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-16 14:17 [PATCH v2] arm64: dts: r8a7795: Add L2 cache-controller nodes Dirk Behme
2016-02-03 17:21 ` Dirk Behme
2016-02-05 9:57 ` 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).