* [PATCH] arm64: Add L2 cache topology to ARM Ltd boards/models
@ 2015-01-21 12:02 Sudeep Holla
[not found] ` <1421841750-26722-1-git-send-email-sudeep.holla-5wv7dgnIgG8@public.gmane.org>
0 siblings, 1 reply; 11+ messages in thread
From: Sudeep Holla @ 2015-01-21 12:02 UTC (permalink / raw)
To: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
devicetree-u79uwXL29TY76Z2rM5mHXA
Cc: Sudeep Holla, Mark Rutland, Lorenzo Pieralisi, Catalin Marinas,
Arnd Bergmann, Olof Johansson, Liviu Dudau
Commit 5d425c18653731af6 ("arm64: kernel: add support for cpu cache
information") adds cacheinfo support for ARM64. Since there's no
architectural way of detecting the cpus that share particular cache,
device tree can be used and the core cacheinfo already supports the
same.
This patch adds the L2 cache topology on Juno board, FVP/RTSM and
foundation models.
Signed-off-by: Sudeep Holla <sudeep.holla-5wv7dgnIgG8@public.gmane.org>
Cc: Mark Rutland <mark.rutland-5wv7dgnIgG8@public.gmane.org>
Cc: Liviu Dudau <Liviu.Dudau-5wv7dgnIgG8@public.gmane.org>
Cc: Lorenzo Pieralisi <lorenzo.pieralisi-5wv7dgnIgG8@public.gmane.org>
---
arch/arm64/boot/dts/arm/foundation-v8.dts | 8 ++++++++
arch/arm64/boot/dts/arm/juno.dts | 14 ++++++++++++++
arch/arm64/boot/dts/arm/rtsm_ve-aemv8a.dts | 8 ++++++++
3 files changed, 30 insertions(+)
Hi Arnd/Olof,
Though this patch and commit 5d425c18653731af6 ("arm64: kernel: add
support for cpu cache information") which is in -next(via arm64) are
dependent to provide desired functionality, then can go indepedently
if you think there could be conflicts if this change is taken via arm64.
If not, Catalin can pick up with your acks after the review.
Regards,
Sudeep
diff --git a/arch/arm64/boot/dts/arm/foundation-v8.dts b/arch/arm64/boot/dts/arm/foundation-v8.dts
index 27f32962e55c..4eac8dcea423 100644
--- a/arch/arm64/boot/dts/arm/foundation-v8.dts
+++ b/arch/arm64/boot/dts/arm/foundation-v8.dts
@@ -34,6 +34,7 @@
reg = <0x0 0x0>;
enable-method = "spin-table";
cpu-release-addr = <0x0 0x8000fff8>;
+ next-level-cache = <&L2_0>;
};
cpu@1 {
device_type = "cpu";
@@ -41,6 +42,7 @@
reg = <0x0 0x1>;
enable-method = "spin-table";
cpu-release-addr = <0x0 0x8000fff8>;
+ next-level-cache = <&L2_0>;
};
cpu@2 {
device_type = "cpu";
@@ -48,6 +50,7 @@
reg = <0x0 0x2>;
enable-method = "spin-table";
cpu-release-addr = <0x0 0x8000fff8>;
+ next-level-cache = <&L2_0>;
};
cpu@3 {
device_type = "cpu";
@@ -55,6 +58,11 @@
reg = <0x0 0x3>;
enable-method = "spin-table";
cpu-release-addr = <0x0 0x8000fff8>;
+ next-level-cache = <&L2_0>;
+ };
+
+ L2_0: l2-cache0 {
+ compatible = "cache";
};
};
diff --git a/arch/arm64/boot/dts/arm/juno.dts b/arch/arm64/boot/dts/arm/juno.dts
index cb3073e4e7a8..15dafbb24426 100644
--- a/arch/arm64/boot/dts/arm/juno.dts
+++ b/arch/arm64/boot/dts/arm/juno.dts
@@ -39,6 +39,7 @@
reg = <0x0 0x0>;
device_type = "cpu";
enable-method = "psci";
+ next-level-cache = <&A57_L2>;
};
A57_1: cpu@1 {
@@ -46,6 +47,7 @@
reg = <0x0 0x1>;
device_type = "cpu";
enable-method = "psci";
+ next-level-cache = <&A57_L2>;
};
A53_0: cpu@100 {
@@ -53,6 +55,7 @@
reg = <0x0 0x100>;
device_type = "cpu";
enable-method = "psci";
+ next-level-cache = <&A53_L2>;
};
A53_1: cpu@101 {
@@ -60,6 +63,7 @@
reg = <0x0 0x101>;
device_type = "cpu";
enable-method = "psci";
+ next-level-cache = <&A53_L2>;
};
A53_2: cpu@102 {
@@ -67,6 +71,7 @@
reg = <0x0 0x102>;
device_type = "cpu";
enable-method = "psci";
+ next-level-cache = <&A53_L2>;
};
A53_3: cpu@103 {
@@ -74,6 +79,15 @@
reg = <0x0 0x103>;
device_type = "cpu";
enable-method = "psci";
+ next-level-cache = <&A53_L2>;
+ };
+
+ A57_L2: l2-cache0 {
+ compatible = "cache";
+ };
+
+ A53_L2: l2-cache1 {
+ compatible = "cache";
};
};
diff --git a/arch/arm64/boot/dts/arm/rtsm_ve-aemv8a.dts b/arch/arm64/boot/dts/arm/rtsm_ve-aemv8a.dts
index efc59b3baf63..20addabbd127 100644
--- a/arch/arm64/boot/dts/arm/rtsm_ve-aemv8a.dts
+++ b/arch/arm64/boot/dts/arm/rtsm_ve-aemv8a.dts
@@ -37,6 +37,7 @@
reg = <0x0 0x0>;
enable-method = "spin-table";
cpu-release-addr = <0x0 0x8000fff8>;
+ next-level-cache = <&L2_0>;
};
cpu@1 {
device_type = "cpu";
@@ -44,6 +45,7 @@
reg = <0x0 0x1>;
enable-method = "spin-table";
cpu-release-addr = <0x0 0x8000fff8>;
+ next-level-cache = <&L2_0>;
};
cpu@2 {
device_type = "cpu";
@@ -51,6 +53,7 @@
reg = <0x0 0x2>;
enable-method = "spin-table";
cpu-release-addr = <0x0 0x8000fff8>;
+ next-level-cache = <&L2_0>;
};
cpu@3 {
device_type = "cpu";
@@ -58,6 +61,11 @@
reg = <0x0 0x3>;
enable-method = "spin-table";
cpu-release-addr = <0x0 0x8000fff8>;
+ next-level-cache = <&L2_0>;
+ };
+
+ L2_0: l2-cache0 {
+ compatible = "cache";
};
};
--
1.9.1
--
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] 11+ messages in thread
* Re: [PATCH] arm64: Add L2 cache topology to ARM Ltd boards/models
[not found] ` <1421841750-26722-1-git-send-email-sudeep.holla-5wv7dgnIgG8@public.gmane.org>
@ 2015-01-21 14:43 ` Arnd Bergmann
2015-01-21 15:48 ` Catalin Marinas
2015-02-24 15:14 ` Sudeep Holla
2015-01-21 16:46 ` Mark Rutland
1 sibling, 2 replies; 11+ messages in thread
From: Arnd Bergmann @ 2015-01-21 14:43 UTC (permalink / raw)
To: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r
Cc: Sudeep Holla, devicetree-u79uwXL29TY76Z2rM5mHXA, Mark Rutland,
Lorenzo Pieralisi, Catalin Marinas, Liviu Dudau, Olof Johansson
On Wednesday 21 January 2015 12:02:30 Sudeep Holla wrote:
>
> Hi Arnd/Olof,
>
> Though this patch and commit 5d425c18653731af6 ("arm64: kernel: add
> support for cpu cache information") which is in -next(via arm64) are
> dependent to provide desired functionality, then can go indepedently
> if you think there could be conflicts if this change is taken via arm64.
> If not, Catalin can pick up with your acks after the review.
I think it would be better to take this through arm-soc. It's not
extremely likely to cause conflicts, but as you say there are no
strict dependencies on which goes in first, so there is no harm
in merging them separately.
Arnd
--
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 [flat|nested] 11+ messages in thread
* Re: [PATCH] arm64: Add L2 cache topology to ARM Ltd boards/models
2015-01-21 14:43 ` Arnd Bergmann
@ 2015-01-21 15:48 ` Catalin Marinas
2015-02-24 15:14 ` Sudeep Holla
1 sibling, 0 replies; 11+ messages in thread
From: Catalin Marinas @ 2015-01-21 15:48 UTC (permalink / raw)
To: Arnd Bergmann
Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
Sudeep Holla, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
Mark Rutland, Lorenzo Pieralisi, Liviu Dudau, Olof Johansson
On Wed, Jan 21, 2015 at 02:43:23PM +0000, Arnd Bergmann wrote:
> On Wednesday 21 January 2015 12:02:30 Sudeep Holla wrote:
> > Though this patch and commit 5d425c18653731af6 ("arm64: kernel: add
> > support for cpu cache information") which is in -next(via arm64) are
> > dependent to provide desired functionality, then can go indepedently
> > if you think there could be conflicts if this change is taken via arm64.
> > If not, Catalin can pick up with your acks after the review.
>
> I think it would be better to take this through arm-soc. It's not
> extremely likely to cause conflicts, but as you say there are no
> strict dependencies on which goes in first, so there is no harm
> in merging them separately.
Fine by me.
--
Catalin
--
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 [flat|nested] 11+ messages in thread
* Re: [PATCH] arm64: Add L2 cache topology to ARM Ltd boards/models
[not found] ` <1421841750-26722-1-git-send-email-sudeep.holla-5wv7dgnIgG8@public.gmane.org>
2015-01-21 14:43 ` Arnd Bergmann
@ 2015-01-21 16:46 ` Mark Rutland
2015-02-12 14:07 ` Mark Rutland
1 sibling, 1 reply; 11+ messages in thread
From: Mark Rutland @ 2015-01-21 16:46 UTC (permalink / raw)
To: Sudeep Holla
Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
Lorenzo Pieralisi, Catalin Marinas, Arnd Bergmann, Olof Johansson,
Liviu Dudau, Robert Richter, Radha Mohan Chintakuntla,
Kumar Sankaran, Loc Ho, Feng Kan, Vinayak Kale,
Suravee Suthikulpanit, Thomas Lendacky, Joel Schopp
On Wed, Jan 21, 2015 at 12:02:30PM +0000, Sudeep Holla wrote:
> Commit 5d425c18653731af6 ("arm64: kernel: add support for cpu cache
> information") adds cacheinfo support for ARM64. Since there's no
> architectural way of detecting the cpus that share particular cache,
> device tree can be used and the core cacheinfo already supports the
> same.
This still leaves the possibility that misleading information is exposed
for systems from other vendors. I've made a quick attempt to Cc the
authors of other arm64 dts here.
Given that in the absence of these nodes we can't derive a complete view
of the cache hierarchy, shouldn't we only expose the cacheinfo when we
have these nodes and can therefore produce correct values?
I can imagine that future dts are likely to appear without these nodes,
and I imagine that we won't spot all of those cases. We also have
existing DTBs to take into account.
Thanks,
Mark.
>
> This patch adds the L2 cache topology on Juno board, FVP/RTSM and
> foundation models.
>
> Signed-off-by: Sudeep Holla <sudeep.holla-5wv7dgnIgG8@public.gmane.org>
> Cc: Mark Rutland <mark.rutland-5wv7dgnIgG8@public.gmane.org>
> Cc: Liviu Dudau <Liviu.Dudau-5wv7dgnIgG8@public.gmane.org>
> Cc: Lorenzo Pieralisi <lorenzo.pieralisi-5wv7dgnIgG8@public.gmane.org>
> ---
> arch/arm64/boot/dts/arm/foundation-v8.dts | 8 ++++++++
> arch/arm64/boot/dts/arm/juno.dts | 14 ++++++++++++++
> arch/arm64/boot/dts/arm/rtsm_ve-aemv8a.dts | 8 ++++++++
> 3 files changed, 30 insertions(+)
>
> Hi Arnd/Olof,
>
> Though this patch and commit 5d425c18653731af6 ("arm64: kernel: add
> support for cpu cache information") which is in -next(via arm64) are
> dependent to provide desired functionality, then can go indepedently
> if you think there could be conflicts if this change is taken via arm64.
> If not, Catalin can pick up with your acks after the review.
>
> Regards,
> Sudeep
>
> diff --git a/arch/arm64/boot/dts/arm/foundation-v8.dts b/arch/arm64/boot/dts/arm/foundation-v8.dts
> index 27f32962e55c..4eac8dcea423 100644
> --- a/arch/arm64/boot/dts/arm/foundation-v8.dts
> +++ b/arch/arm64/boot/dts/arm/foundation-v8.dts
> @@ -34,6 +34,7 @@
> reg = <0x0 0x0>;
> enable-method = "spin-table";
> cpu-release-addr = <0x0 0x8000fff8>;
> + next-level-cache = <&L2_0>;
> };
> cpu@1 {
> device_type = "cpu";
> @@ -41,6 +42,7 @@
> reg = <0x0 0x1>;
> enable-method = "spin-table";
> cpu-release-addr = <0x0 0x8000fff8>;
> + next-level-cache = <&L2_0>;
> };
> cpu@2 {
> device_type = "cpu";
> @@ -48,6 +50,7 @@
> reg = <0x0 0x2>;
> enable-method = "spin-table";
> cpu-release-addr = <0x0 0x8000fff8>;
> + next-level-cache = <&L2_0>;
> };
> cpu@3 {
> device_type = "cpu";
> @@ -55,6 +58,11 @@
> reg = <0x0 0x3>;
> enable-method = "spin-table";
> cpu-release-addr = <0x0 0x8000fff8>;
> + next-level-cache = <&L2_0>;
> + };
> +
> + L2_0: l2-cache0 {
> + compatible = "cache";
> };
> };
>
> diff --git a/arch/arm64/boot/dts/arm/juno.dts b/arch/arm64/boot/dts/arm/juno.dts
> index cb3073e4e7a8..15dafbb24426 100644
> --- a/arch/arm64/boot/dts/arm/juno.dts
> +++ b/arch/arm64/boot/dts/arm/juno.dts
> @@ -39,6 +39,7 @@
> reg = <0x0 0x0>;
> device_type = "cpu";
> enable-method = "psci";
> + next-level-cache = <&A57_L2>;
> };
>
> A57_1: cpu@1 {
> @@ -46,6 +47,7 @@
> reg = <0x0 0x1>;
> device_type = "cpu";
> enable-method = "psci";
> + next-level-cache = <&A57_L2>;
> };
>
> A53_0: cpu@100 {
> @@ -53,6 +55,7 @@
> reg = <0x0 0x100>;
> device_type = "cpu";
> enable-method = "psci";
> + next-level-cache = <&A53_L2>;
> };
>
> A53_1: cpu@101 {
> @@ -60,6 +63,7 @@
> reg = <0x0 0x101>;
> device_type = "cpu";
> enable-method = "psci";
> + next-level-cache = <&A53_L2>;
> };
>
> A53_2: cpu@102 {
> @@ -67,6 +71,7 @@
> reg = <0x0 0x102>;
> device_type = "cpu";
> enable-method = "psci";
> + next-level-cache = <&A53_L2>;
> };
>
> A53_3: cpu@103 {
> @@ -74,6 +79,15 @@
> reg = <0x0 0x103>;
> device_type = "cpu";
> enable-method = "psci";
> + next-level-cache = <&A53_L2>;
> + };
> +
> + A57_L2: l2-cache0 {
> + compatible = "cache";
> + };
> +
> + A53_L2: l2-cache1 {
> + compatible = "cache";
> };
> };
>
> diff --git a/arch/arm64/boot/dts/arm/rtsm_ve-aemv8a.dts b/arch/arm64/boot/dts/arm/rtsm_ve-aemv8a.dts
> index efc59b3baf63..20addabbd127 100644
> --- a/arch/arm64/boot/dts/arm/rtsm_ve-aemv8a.dts
> +++ b/arch/arm64/boot/dts/arm/rtsm_ve-aemv8a.dts
> @@ -37,6 +37,7 @@
> reg = <0x0 0x0>;
> enable-method = "spin-table";
> cpu-release-addr = <0x0 0x8000fff8>;
> + next-level-cache = <&L2_0>;
> };
> cpu@1 {
> device_type = "cpu";
> @@ -44,6 +45,7 @@
> reg = <0x0 0x1>;
> enable-method = "spin-table";
> cpu-release-addr = <0x0 0x8000fff8>;
> + next-level-cache = <&L2_0>;
> };
> cpu@2 {
> device_type = "cpu";
> @@ -51,6 +53,7 @@
> reg = <0x0 0x2>;
> enable-method = "spin-table";
> cpu-release-addr = <0x0 0x8000fff8>;
> + next-level-cache = <&L2_0>;
> };
> cpu@3 {
> device_type = "cpu";
> @@ -58,6 +61,11 @@
> reg = <0x0 0x3>;
> enable-method = "spin-table";
> cpu-release-addr = <0x0 0x8000fff8>;
> + next-level-cache = <&L2_0>;
> + };
> +
> + L2_0: l2-cache0 {
> + compatible = "cache";
> };
> };
>
> --
> 1.9.1
>
>
--
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 [flat|nested] 11+ messages in thread
* Re: [PATCH] arm64: Add L2 cache topology to ARM Ltd boards/models
2015-01-21 16:46 ` Mark Rutland
@ 2015-02-12 14:07 ` Mark Rutland
2015-02-13 2:52 ` Lorenzo Pieralisi
2015-02-16 9:56 ` Sudeep Holla
0 siblings, 2 replies; 11+ messages in thread
From: Mark Rutland @ 2015-02-12 14:07 UTC (permalink / raw)
To: Sudeep Holla, Catalin Marinas
Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
Lorenzo Pieralisi, Arnd Bergmann, Olof Johansson, Liviu Dudau,
Robert Richter, Radha Mohan Chintakuntla,
ksankaran-qTEPVZfXA3Y@public.gmane.org, Loc Ho, Feng Kan,
Vinayak Kale, suravee.suthikulpanit-5C7GfCeVMHo@public.gmane.org,
Thomas Lendacky, Joel Schopp
Hi,
On Wed, Jan 21, 2015 at 04:46:32PM +0000, Mark Rutland wrote:
> On Wed, Jan 21, 2015 at 12:02:30PM +0000, Sudeep Holla wrote:
> > Commit 5d425c18653731af6 ("arm64: kernel: add support for cpu cache
> > information") adds cacheinfo support for ARM64. Since there's no
> > architectural way of detecting the cpus that share particular cache,
> > device tree can be used and the core cacheinfo already supports the
> > same.
>
> This still leaves the possibility that misleading information is exposed
> for systems from other vendors. I've made a quick attempt to Cc the
> authors of other arm64 dts here.
>
> Given that in the absence of these nodes we can't derive a complete view
> of the cache hierarchy, shouldn't we only expose the cacheinfo when we
> have these nodes and can therefore produce correct values?
I'm still rather concerned about exposing misleading cache info in this
manner. Is there no way we can limit the exposure of this information to
those cases where we actually have the information?
Do we know if/how this will work for ACPI systems?
Thanks,
Mark.
> I can imagine that future dts are likely to appear without these nodes,
> and I imagine that we won't spot all of those cases. We also have
> existing DTBs to take into account.
>
> Thanks,
> Mark.
>
> >
> > This patch adds the L2 cache topology on Juno board, FVP/RTSM and
> > foundation models.
> >
> > Signed-off-by: Sudeep Holla <sudeep.holla-5wv7dgnIgG8@public.gmane.org>
> > Cc: Mark Rutland <mark.rutland-5wv7dgnIgG8@public.gmane.org>
> > Cc: Liviu Dudau <Liviu.Dudau-5wv7dgnIgG8@public.gmane.org>
> > Cc: Lorenzo Pieralisi <lorenzo.pieralisi-5wv7dgnIgG8@public.gmane.org>
> > ---
> > arch/arm64/boot/dts/arm/foundation-v8.dts | 8 ++++++++
> > arch/arm64/boot/dts/arm/juno.dts | 14 ++++++++++++++
> > arch/arm64/boot/dts/arm/rtsm_ve-aemv8a.dts | 8 ++++++++
> > 3 files changed, 30 insertions(+)
> >
> > Hi Arnd/Olof,
> >
> > Though this patch and commit 5d425c18653731af6 ("arm64: kernel: add
> > support for cpu cache information") which is in -next(via arm64) are
> > dependent to provide desired functionality, then can go indepedently
> > if you think there could be conflicts if this change is taken via arm64.
> > If not, Catalin can pick up with your acks after the review.
> >
> > Regards,
> > Sudeep
> >
> > diff --git a/arch/arm64/boot/dts/arm/foundation-v8.dts b/arch/arm64/boot/dts/arm/foundation-v8.dts
> > index 27f32962e55c..4eac8dcea423 100644
> > --- a/arch/arm64/boot/dts/arm/foundation-v8.dts
> > +++ b/arch/arm64/boot/dts/arm/foundation-v8.dts
> > @@ -34,6 +34,7 @@
> > reg = <0x0 0x0>;
> > enable-method = "spin-table";
> > cpu-release-addr = <0x0 0x8000fff8>;
> > + next-level-cache = <&L2_0>;
> > };
> > cpu@1 {
> > device_type = "cpu";
> > @@ -41,6 +42,7 @@
> > reg = <0x0 0x1>;
> > enable-method = "spin-table";
> > cpu-release-addr = <0x0 0x8000fff8>;
> > + next-level-cache = <&L2_0>;
> > };
> > cpu@2 {
> > device_type = "cpu";
> > @@ -48,6 +50,7 @@
> > reg = <0x0 0x2>;
> > enable-method = "spin-table";
> > cpu-release-addr = <0x0 0x8000fff8>;
> > + next-level-cache = <&L2_0>;
> > };
> > cpu@3 {
> > device_type = "cpu";
> > @@ -55,6 +58,11 @@
> > reg = <0x0 0x3>;
> > enable-method = "spin-table";
> > cpu-release-addr = <0x0 0x8000fff8>;
> > + next-level-cache = <&L2_0>;
> > + };
> > +
> > + L2_0: l2-cache0 {
> > + compatible = "cache";
> > };
> > };
> >
> > diff --git a/arch/arm64/boot/dts/arm/juno.dts b/arch/arm64/boot/dts/arm/juno.dts
> > index cb3073e4e7a8..15dafbb24426 100644
> > --- a/arch/arm64/boot/dts/arm/juno.dts
> > +++ b/arch/arm64/boot/dts/arm/juno.dts
> > @@ -39,6 +39,7 @@
> > reg = <0x0 0x0>;
> > device_type = "cpu";
> > enable-method = "psci";
> > + next-level-cache = <&A57_L2>;
> > };
> >
> > A57_1: cpu@1 {
> > @@ -46,6 +47,7 @@
> > reg = <0x0 0x1>;
> > device_type = "cpu";
> > enable-method = "psci";
> > + next-level-cache = <&A57_L2>;
> > };
> >
> > A53_0: cpu@100 {
> > @@ -53,6 +55,7 @@
> > reg = <0x0 0x100>;
> > device_type = "cpu";
> > enable-method = "psci";
> > + next-level-cache = <&A53_L2>;
> > };
> >
> > A53_1: cpu@101 {
> > @@ -60,6 +63,7 @@
> > reg = <0x0 0x101>;
> > device_type = "cpu";
> > enable-method = "psci";
> > + next-level-cache = <&A53_L2>;
> > };
> >
> > A53_2: cpu@102 {
> > @@ -67,6 +71,7 @@
> > reg = <0x0 0x102>;
> > device_type = "cpu";
> > enable-method = "psci";
> > + next-level-cache = <&A53_L2>;
> > };
> >
> > A53_3: cpu@103 {
> > @@ -74,6 +79,15 @@
> > reg = <0x0 0x103>;
> > device_type = "cpu";
> > enable-method = "psci";
> > + next-level-cache = <&A53_L2>;
> > + };
> > +
> > + A57_L2: l2-cache0 {
> > + compatible = "cache";
> > + };
> > +
> > + A53_L2: l2-cache1 {
> > + compatible = "cache";
> > };
> > };
> >
> > diff --git a/arch/arm64/boot/dts/arm/rtsm_ve-aemv8a.dts b/arch/arm64/boot/dts/arm/rtsm_ve-aemv8a.dts
> > index efc59b3baf63..20addabbd127 100644
> > --- a/arch/arm64/boot/dts/arm/rtsm_ve-aemv8a.dts
> > +++ b/arch/arm64/boot/dts/arm/rtsm_ve-aemv8a.dts
> > @@ -37,6 +37,7 @@
> > reg = <0x0 0x0>;
> > enable-method = "spin-table";
> > cpu-release-addr = <0x0 0x8000fff8>;
> > + next-level-cache = <&L2_0>;
> > };
> > cpu@1 {
> > device_type = "cpu";
> > @@ -44,6 +45,7 @@
> > reg = <0x0 0x1>;
> > enable-method = "spin-table";
> > cpu-release-addr = <0x0 0x8000fff8>;
> > + next-level-cache = <&L2_0>;
> > };
> > cpu@2 {
> > device_type = "cpu";
> > @@ -51,6 +53,7 @@
> > reg = <0x0 0x2>;
> > enable-method = "spin-table";
> > cpu-release-addr = <0x0 0x8000fff8>;
> > + next-level-cache = <&L2_0>;
> > };
> > cpu@3 {
> > device_type = "cpu";
> > @@ -58,6 +61,11 @@
> > reg = <0x0 0x3>;
> > enable-method = "spin-table";
> > cpu-release-addr = <0x0 0x8000fff8>;
> > + next-level-cache = <&L2_0>;
> > + };
> > +
> > + L2_0: l2-cache0 {
> > + compatible = "cache";
> > };
> > };
> >
> > --
> > 1.9.1
> >
> >
> --
> 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
>
--
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 [flat|nested] 11+ messages in thread
* Re: [PATCH] arm64: Add L2 cache topology to ARM Ltd boards/models
2015-02-12 14:07 ` Mark Rutland
@ 2015-02-13 2:52 ` Lorenzo Pieralisi
2015-02-16 9:56 ` Sudeep Holla
1 sibling, 0 replies; 11+ messages in thread
From: Lorenzo Pieralisi @ 2015-02-13 2:52 UTC (permalink / raw)
To: Mark Rutland
Cc: Sudeep Holla, Catalin Marinas,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Arnd Bergmann,
Olof Johansson, Liviu Dudau, Robert Richter,
Radha Mohan Chintakuntla, ksankaran-qTEPVZfXA3Y@public.gmane.org,
Loc Ho, Feng Kan, Vinayak Kale,
suravee.suthikulpanit-5C7GfCeVMHo@public.gmane.org,
Thomas Lendacky, Joel Schopp
Hi Mark,
On Thu, Feb 12, 2015 at 02:07:02PM +0000, Mark Rutland wrote:
> Hi,
>
> On Wed, Jan 21, 2015 at 04:46:32PM +0000, Mark Rutland wrote:
> > On Wed, Jan 21, 2015 at 12:02:30PM +0000, Sudeep Holla wrote:
> > > Commit 5d425c18653731af6 ("arm64: kernel: add support for cpu cache
> > > information") adds cacheinfo support for ARM64. Since there's no
> > > architectural way of detecting the cpus that share particular cache,
> > > device tree can be used and the core cacheinfo already supports the
> > > same.
> >
> > This still leaves the possibility that misleading information is exposed
> > for systems from other vendors. I've made a quick attempt to Cc the
> > authors of other arm64 dts here.
> >
> > Given that in the absence of these nodes we can't derive a complete view
> > of the cache hierarchy, shouldn't we only expose the cacheinfo when we
> > have these nodes and can therefore produce correct values?
>
> I'm still rather concerned about exposing misleading cache info in this
> manner. Is there no way we can limit the exposure of this information to
> those cases where we actually have the information?
The shared cache(s) cpu map information (DT) is retrieved in core code, your
concern is valid but should be addressed in a way that does not break
other archs (eg totally removing cache info if missing DT cache nodes).
> Do we know if/how this will work for ACPI systems?
Yes, there will be bindings, as for the how, that's not publicly
available information.
Thanks,
Lorenzo
>
> Thanks,
> Mark.
>
> > I can imagine that future dts are likely to appear without these nodes,
> > and I imagine that we won't spot all of those cases. We also have
> > existing DTBs to take into account.
> >
> > Thanks,
> > Mark.
> >
> > >
> > > This patch adds the L2 cache topology on Juno board, FVP/RTSM and
> > > foundation models.
> > >
> > > Signed-off-by: Sudeep Holla <sudeep.holla-5wv7dgnIgG8@public.gmane.org>
> > > Cc: Mark Rutland <mark.rutland-5wv7dgnIgG8@public.gmane.org>
> > > Cc: Liviu Dudau <Liviu.Dudau-5wv7dgnIgG8@public.gmane.org>
> > > Cc: Lorenzo Pieralisi <lorenzo.pieralisi-5wv7dgnIgG8@public.gmane.org>
> > > ---
> > > arch/arm64/boot/dts/arm/foundation-v8.dts | 8 ++++++++
> > > arch/arm64/boot/dts/arm/juno.dts | 14 ++++++++++++++
> > > arch/arm64/boot/dts/arm/rtsm_ve-aemv8a.dts | 8 ++++++++
> > > 3 files changed, 30 insertions(+)
> > >
> > > Hi Arnd/Olof,
> > >
> > > Though this patch and commit 5d425c18653731af6 ("arm64: kernel: add
> > > support for cpu cache information") which is in -next(via arm64) are
> > > dependent to provide desired functionality, then can go indepedently
> > > if you think there could be conflicts if this change is taken via arm64.
> > > If not, Catalin can pick up with your acks after the review.
> > >
> > > Regards,
> > > Sudeep
> > >
> > > diff --git a/arch/arm64/boot/dts/arm/foundation-v8.dts b/arch/arm64/boot/dts/arm/foundation-v8.dts
> > > index 27f32962e55c..4eac8dcea423 100644
> > > --- a/arch/arm64/boot/dts/arm/foundation-v8.dts
> > > +++ b/arch/arm64/boot/dts/arm/foundation-v8.dts
> > > @@ -34,6 +34,7 @@
> > > reg = <0x0 0x0>;
> > > enable-method = "spin-table";
> > > cpu-release-addr = <0x0 0x8000fff8>;
> > > + next-level-cache = <&L2_0>;
> > > };
> > > cpu@1 {
> > > device_type = "cpu";
> > > @@ -41,6 +42,7 @@
> > > reg = <0x0 0x1>;
> > > enable-method = "spin-table";
> > > cpu-release-addr = <0x0 0x8000fff8>;
> > > + next-level-cache = <&L2_0>;
> > > };
> > > cpu@2 {
> > > device_type = "cpu";
> > > @@ -48,6 +50,7 @@
> > > reg = <0x0 0x2>;
> > > enable-method = "spin-table";
> > > cpu-release-addr = <0x0 0x8000fff8>;
> > > + next-level-cache = <&L2_0>;
> > > };
> > > cpu@3 {
> > > device_type = "cpu";
> > > @@ -55,6 +58,11 @@
> > > reg = <0x0 0x3>;
> > > enable-method = "spin-table";
> > > cpu-release-addr = <0x0 0x8000fff8>;
> > > + next-level-cache = <&L2_0>;
> > > + };
> > > +
> > > + L2_0: l2-cache0 {
> > > + compatible = "cache";
> > > };
> > > };
> > >
> > > diff --git a/arch/arm64/boot/dts/arm/juno.dts b/arch/arm64/boot/dts/arm/juno.dts
> > > index cb3073e4e7a8..15dafbb24426 100644
> > > --- a/arch/arm64/boot/dts/arm/juno.dts
> > > +++ b/arch/arm64/boot/dts/arm/juno.dts
> > > @@ -39,6 +39,7 @@
> > > reg = <0x0 0x0>;
> > > device_type = "cpu";
> > > enable-method = "psci";
> > > + next-level-cache = <&A57_L2>;
> > > };
> > >
> > > A57_1: cpu@1 {
> > > @@ -46,6 +47,7 @@
> > > reg = <0x0 0x1>;
> > > device_type = "cpu";
> > > enable-method = "psci";
> > > + next-level-cache = <&A57_L2>;
> > > };
> > >
> > > A53_0: cpu@100 {
> > > @@ -53,6 +55,7 @@
> > > reg = <0x0 0x100>;
> > > device_type = "cpu";
> > > enable-method = "psci";
> > > + next-level-cache = <&A53_L2>;
> > > };
> > >
> > > A53_1: cpu@101 {
> > > @@ -60,6 +63,7 @@
> > > reg = <0x0 0x101>;
> > > device_type = "cpu";
> > > enable-method = "psci";
> > > + next-level-cache = <&A53_L2>;
> > > };
> > >
> > > A53_2: cpu@102 {
> > > @@ -67,6 +71,7 @@
> > > reg = <0x0 0x102>;
> > > device_type = "cpu";
> > > enable-method = "psci";
> > > + next-level-cache = <&A53_L2>;
> > > };
> > >
> > > A53_3: cpu@103 {
> > > @@ -74,6 +79,15 @@
> > > reg = <0x0 0x103>;
> > > device_type = "cpu";
> > > enable-method = "psci";
> > > + next-level-cache = <&A53_L2>;
> > > + };
> > > +
> > > + A57_L2: l2-cache0 {
> > > + compatible = "cache";
> > > + };
> > > +
> > > + A53_L2: l2-cache1 {
> > > + compatible = "cache";
> > > };
> > > };
> > >
> > > diff --git a/arch/arm64/boot/dts/arm/rtsm_ve-aemv8a.dts b/arch/arm64/boot/dts/arm/rtsm_ve-aemv8a.dts
> > > index efc59b3baf63..20addabbd127 100644
> > > --- a/arch/arm64/boot/dts/arm/rtsm_ve-aemv8a.dts
> > > +++ b/arch/arm64/boot/dts/arm/rtsm_ve-aemv8a.dts
> > > @@ -37,6 +37,7 @@
> > > reg = <0x0 0x0>;
> > > enable-method = "spin-table";
> > > cpu-release-addr = <0x0 0x8000fff8>;
> > > + next-level-cache = <&L2_0>;
> > > };
> > > cpu@1 {
> > > device_type = "cpu";
> > > @@ -44,6 +45,7 @@
> > > reg = <0x0 0x1>;
> > > enable-method = "spin-table";
> > > cpu-release-addr = <0x0 0x8000fff8>;
> > > + next-level-cache = <&L2_0>;
> > > };
> > > cpu@2 {
> > > device_type = "cpu";
> > > @@ -51,6 +53,7 @@
> > > reg = <0x0 0x2>;
> > > enable-method = "spin-table";
> > > cpu-release-addr = <0x0 0x8000fff8>;
> > > + next-level-cache = <&L2_0>;
> > > };
> > > cpu@3 {
> > > device_type = "cpu";
> > > @@ -58,6 +61,11 @@
> > > reg = <0x0 0x3>;
> > > enable-method = "spin-table";
> > > cpu-release-addr = <0x0 0x8000fff8>;
> > > + next-level-cache = <&L2_0>;
> > > + };
> > > +
> > > + L2_0: l2-cache0 {
> > > + compatible = "cache";
> > > };
> > > };
> > >
> > > --
> > > 1.9.1
> > >
> > >
> > --
> > 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
> >
>
--
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 [flat|nested] 11+ messages in thread
* Re: [PATCH] arm64: Add L2 cache topology to ARM Ltd boards/models
2015-02-12 14:07 ` Mark Rutland
2015-02-13 2:52 ` Lorenzo Pieralisi
@ 2015-02-16 9:56 ` Sudeep Holla
[not found] ` <54E1BEC5.5070009-5wv7dgnIgG8@public.gmane.org>
1 sibling, 1 reply; 11+ messages in thread
From: Sudeep Holla @ 2015-02-16 9:56 UTC (permalink / raw)
To: Mark Rutland, Catalin Marinas
Cc: Sudeep Holla,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
Lorenzo Pieralisi, Arnd Bergmann, Olof Johansson, Liviu Dudau,
Robert Richter, Radha Mohan Chintakuntla,
ksankaran-qTEPVZfXA3Y@public.gmane.org, Loc Ho, Feng Kan,
Vinayak Kale, suravee.suthikulpanit-5C7GfCeVMHo@public.gmane.org,
Thomas Lendacky, Joel Schopp
Hi Mark,
On 12/02/15 14:07, Mark Rutland wrote:
> Hi,
>
> On Wed, Jan 21, 2015 at 04:46:32PM +0000, Mark Rutland wrote:
>> On Wed, Jan 21, 2015 at 12:02:30PM +0000, Sudeep Holla wrote:
>>> Commit 5d425c18653731af6 ("arm64: kernel: add support for cpu
>>> cache information") adds cacheinfo support for ARM64. Since
>>> there's no architectural way of detecting the cpus that share
>>> particular cache, device tree can be used and the core cacheinfo
>>> already supports the same.
>>
>> This still leaves the possibility that misleading information is
>> exposed for systems from other vendors. I've made a quick attempt
>> to Cc the authors of other arm64 dts here.
>>
>> Given that in the absence of these nodes we can't derive a complete
>> view of the cache hierarchy, shouldn't we only expose the cacheinfo
>> when we have these nodes and can therefore produce correct values?
>
> I'm still rather concerned about exposing misleading cache info in
> this manner. Is there no way we can limit the exposure of this
> information to those cases where we actually have the information?
>
Yes I have a patch to check all the device nodes in the cache hierarchy
before initializing the sysfs. So cacheinfo won't be setup if all the
device nodes aren't found(at-least on architecture like ARM/ARM64 which
depends on DT). I will post it soon, was waiting for a week so that it's
not lost during merge window.
> Do we know if/how this will work for ACPI systems?
>
It should be similar to DT i.e. the hierarchy must be completely
detected through ACPI tables/methods, but I have not thought of
implementation specifics yet.
Regards,
Sudeep
--
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 [flat|nested] 11+ messages in thread
* Re: [PATCH] arm64: Add L2 cache topology to ARM Ltd boards/models
[not found] ` <54E1BEC5.5070009-5wv7dgnIgG8@public.gmane.org>
@ 2015-02-16 10:19 ` Mark Rutland
0 siblings, 0 replies; 11+ messages in thread
From: Mark Rutland @ 2015-02-16 10:19 UTC (permalink / raw)
To: Sudeep Holla
Cc: Catalin Marinas,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
Lorenzo Pieralisi, Arnd Bergmann, Olof Johansson, Liviu Dudau,
Robert Richter, Radha Mohan Chintakuntla,
ksankaran-qTEPVZfXA3Y@public.gmane.org, Loc Ho, Feng Kan,
Vinayak Kale, suravee.suthikulpanit-5C7GfCeVMHo@public.gmane.org,
Thomas Lendacky, Joel Schopp
On Mon, Feb 16, 2015 at 09:56:21AM +0000, Sudeep Holla wrote:
> Hi Mark,
>
> On 12/02/15 14:07, Mark Rutland wrote:
> > Hi,
> >
> > On Wed, Jan 21, 2015 at 04:46:32PM +0000, Mark Rutland wrote:
> >> On Wed, Jan 21, 2015 at 12:02:30PM +0000, Sudeep Holla wrote:
> >>> Commit 5d425c18653731af6 ("arm64: kernel: add support for cpu
> >>> cache information") adds cacheinfo support for ARM64. Since
> >>> there's no architectural way of detecting the cpus that share
> >>> particular cache, device tree can be used and the core cacheinfo
> >>> already supports the same.
> >>
> >> This still leaves the possibility that misleading information is
> >> exposed for systems from other vendors. I've made a quick attempt
> >> to Cc the authors of other arm64 dts here.
> >>
> >> Given that in the absence of these nodes we can't derive a complete
> >> view of the cache hierarchy, shouldn't we only expose the cacheinfo
> >> when we have these nodes and can therefore produce correct values?
> >
> > I'm still rather concerned about exposing misleading cache info in
> > this manner. Is there no way we can limit the exposure of this
> > information to those cases where we actually have the information?
> >
>
> Yes I have a patch to check all the device nodes in the cache hierarchy
> before initializing the sysfs. So cacheinfo won't be setup if all the
> device nodes aren't found(at-least on architecture like ARM/ARM64 which
> depends on DT). I will post it soon, was waiting for a week so that it's
> not lost during merge window.
Great, that's exactly what I was hoping for!
> > Do we know if/how this will work for ACPI systems?
> >
>
> It should be similar to DT i.e. the hierarchy must be completely
> detected through ACPI tables/methods, but I have not thought of
> implementation specifics yet.
Ok.
Thanks,
Mark
--
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 [flat|nested] 11+ messages in thread
* Re: [PATCH] arm64: Add L2 cache topology to ARM Ltd boards/models
2015-01-21 14:43 ` Arnd Bergmann
2015-01-21 15:48 ` Catalin Marinas
@ 2015-02-24 15:14 ` Sudeep Holla
[not found] ` <54EC9546.50005-5wv7dgnIgG8@public.gmane.org>
1 sibling, 1 reply; 11+ messages in thread
From: Sudeep Holla @ 2015-02-24 15:14 UTC (permalink / raw)
To: Arnd Bergmann,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org
Cc: Sudeep Holla, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
Mark Rutland, Lorenzo Pieralisi, Catalin Marinas, Liviu Dudau,
Olof Johansson
Hi Arnd,
On 21/01/15 14:43, Arnd Bergmann wrote:
> On Wednesday 21 January 2015 12:02:30 Sudeep Holla wrote:
>>
>> Hi Arnd/Olof,
>>
>> Though this patch and commit 5d425c18653731af6 ("arm64: kernel: add
>> support for cpu cache information") which is in -next(via arm64) are
>> dependent to provide desired functionality, then can go indepedently
>> if you think there could be conflicts if this change is taken via arm64.
>> If not, Catalin can pick up with your acks after the review.
>
> I think it would be better to take this through arm-soc. It's not
> extremely likely to cause conflicts, but as you say there are no
> strict dependencies on which goes in first, so there is no harm
> in merging them separately.
>
I think this patch got missed for -rc1. The arm64 architectural
support patch for cacheinfo got merged via arm64 tree. It would be good
if this is also merged so that cache information can be exposed
to the user-space on ARM Ltd boards.
Regards,
Sudeep
--
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 [flat|nested] 11+ messages in thread
* Re: [PATCH] arm64: Add L2 cache topology to ARM Ltd boards/models
[not found] ` <54EC9546.50005-5wv7dgnIgG8@public.gmane.org>
@ 2015-02-25 16:14 ` Arnd Bergmann
2015-02-25 18:19 ` Sudeep Holla
0 siblings, 1 reply; 11+ messages in thread
From: Arnd Bergmann @ 2015-02-25 16:14 UTC (permalink / raw)
To: Sudeep Holla
Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Mark Rutland,
Lorenzo Pieralisi, Catalin Marinas, Liviu Dudau, Olof Johansson
On Tuesday 24 February 2015 15:14:14 Sudeep Holla wrote:
> Hi Arnd,
>
> On 21/01/15 14:43, Arnd Bergmann wrote:
> > On Wednesday 21 January 2015 12:02:30 Sudeep Holla wrote:
> >>
> >> Hi Arnd/Olof,
> >>
> >> Though this patch and commit 5d425c18653731af6 ("arm64: kernel: add
> >> support for cpu cache information") which is in -next(via arm64) are
> >> dependent to provide desired functionality, then can go indepedently
> >> if you think there could be conflicts if this change is taken via arm64.
> >> If not, Catalin can pick up with your acks after the review.
> >
> > I think it would be better to take this through arm-soc. It's not
> > extremely likely to cause conflicts, but as you say there are no
> > strict dependencies on which goes in first, so there is no harm
> > in merging them separately.
> >
>
> I think this patch got missed for -rc1. The arm64 architectural
> support patch for cacheinfo got merged via arm64 tree. It would be good
> if this is also merged so that cache information can be exposed
> to the user-space on ARM Ltd boards.
>
Ah, bummer. I've applied this one as a fix for 4.0 because I said we'd
take it and dropped the ball on it.
Arnd
--
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 [flat|nested] 11+ messages in thread
* Re: [PATCH] arm64: Add L2 cache topology to ARM Ltd boards/models
2015-02-25 16:14 ` Arnd Bergmann
@ 2015-02-25 18:19 ` Sudeep Holla
0 siblings, 0 replies; 11+ messages in thread
From: Sudeep Holla @ 2015-02-25 18:19 UTC (permalink / raw)
To: Arnd Bergmann
Cc: Sudeep Holla,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Mark Rutland,
Lorenzo Pieralisi, Catalin Marinas, Liviu Dudau, Olof Johansson
On 25/02/15 16:14, Arnd Bergmann wrote:
> On Tuesday 24 February 2015 15:14:14 Sudeep Holla wrote:
>> Hi Arnd,
>>
>> On 21/01/15 14:43, Arnd Bergmann wrote:
>>> On Wednesday 21 January 2015 12:02:30 Sudeep Holla wrote:
>>>>
>>>> Hi Arnd/Olof,
>>>>
>>>> Though this patch and commit 5d425c18653731af6 ("arm64: kernel: add
>>>> support for cpu cache information") which is in -next(via arm64) are
>>>> dependent to provide desired functionality, then can go indepedently
>>>> if you think there could be conflicts if this change is taken via arm64.
>>>> If not, Catalin can pick up with your acks after the review.
>>>
>>> I think it would be better to take this through arm-soc. It's not
>>> extremely likely to cause conflicts, but as you say there are no
>>> strict dependencies on which goes in first, so there is no harm
>>> in merging them separately.
>>>
>>
>> I think this patch got missed for -rc1. The arm64 architectural
>> support patch for cacheinfo got merged via arm64 tree. It would be good
>> if this is also merged so that cache information can be exposed
>> to the user-space on ARM Ltd boards.
>>
>
> Ah, bummer. I've applied this one as a fix for 4.0 because I said we'd
> take it and dropped the ball on it.
>
Thanks Arnd.
Regards,
Sudeep
--
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 [flat|nested] 11+ messages in thread
end of thread, other threads:[~2015-02-25 18:19 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-21 12:02 [PATCH] arm64: Add L2 cache topology to ARM Ltd boards/models Sudeep Holla
[not found] ` <1421841750-26722-1-git-send-email-sudeep.holla-5wv7dgnIgG8@public.gmane.org>
2015-01-21 14:43 ` Arnd Bergmann
2015-01-21 15:48 ` Catalin Marinas
2015-02-24 15:14 ` Sudeep Holla
[not found] ` <54EC9546.50005-5wv7dgnIgG8@public.gmane.org>
2015-02-25 16:14 ` Arnd Bergmann
2015-02-25 18:19 ` Sudeep Holla
2015-01-21 16:46 ` Mark Rutland
2015-02-12 14:07 ` Mark Rutland
2015-02-13 2:52 ` Lorenzo Pieralisi
2015-02-16 9:56 ` Sudeep Holla
[not found] ` <54E1BEC5.5070009-5wv7dgnIgG8@public.gmane.org>
2015-02-16 10:19 ` Mark Rutland
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).