Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1189950 > unrolled thread

Re: [PATCH v4 7/8] arm64: dts: add CPU topology on Juno

Started byLiviu Dudau <Liviu.Dudau@arm.com>
First post2015-07-22 15:40 +0200
Last post2015-07-22 15:40 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH v4 7/8] arm64: dts: add CPU topology on Juno Liviu Dudau <Liviu.Dudau@arm.com> - 2015-07-22 15:40 +0200

#1189950 — Re: [PATCH v4 7/8] arm64: dts: add CPU topology on Juno

FromLiviu Dudau <Liviu.Dudau@arm.com>
Date2015-07-22 15:40 +0200
SubjectRe: [PATCH v4 7/8] arm64: dts: add CPU topology on Juno
Message-ID<pP2pz-8g1-7@gated-at.bofh.it>
On Mon, Jun 08, 2015 at 11:40:01AM +0100, Sudeep Holla wrote:
> This patch adds CPU topology on Juno. It will be useful for ther other
> IP blocks depending on this topology.
> 
> Cc: Liviu Dudau <Liviu.Dudau@arm.com>
> Cc: Jon Medhurst (Tixy) <tixy@linaro.org>
> Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
> ---
>  arch/arm64/boot/dts/arm/juno-r1.dts | 26 ++++++++++++++++++++++++++
>  arch/arm64/boot/dts/arm/juno.dts    | 26 ++++++++++++++++++++++++++
>  2 files changed, 52 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/arm/juno-r1.dts b/arch/arm64/boot/dts/arm/juno-r1.dts
> index c62751153a4f..69130840c6cd 100644
> --- a/arch/arm64/boot/dts/arm/juno-r1.dts
> +++ b/arch/arm64/boot/dts/arm/juno-r1.dts
> @@ -34,6 +34,32 @@
>  		#address-cells = <2>;
>  		#size-cells = <0>;
>  
> +		cpu-map {
> +			cluster0 {
> +				core0 {
> +					cpu = <&A57_0>;
> +				};
> +				core1 {
> +					cpu = <&A57_1>;
> +				};
> +			};
> +
> +			cluster1 {
> +				core0 {
> +					cpu = <&A53_0>;
> +				};
> +				core1 {
> +					cpu = <&A53_1>;
> +				};
> +				core2 {
> +					cpu = <&A53_2>;
> +				};
> +				core3 {
> +					cpu = <&A53_3>;
> +				};
> +			};
> +		};
> +
>  		A57_0: cpu@0 {
>  			compatible = "arm,cortex-a57","arm,armv8";
>  			reg = <0x0 0x0>;
> diff --git a/arch/arm64/boot/dts/arm/juno.dts b/arch/arm64/boot/dts/arm/juno.dts
> index d7cbdd482a61..ce1128a54c8d 100644
> --- a/arch/arm64/boot/dts/arm/juno.dts
> +++ b/arch/arm64/boot/dts/arm/juno.dts
> @@ -34,6 +34,32 @@
>  		#address-cells = <2>;
>  		#size-cells = <0>;
>  
> +		cpu-map {
> +			cluster0 {
> +				core0 {
> +					cpu = <&A57_0>;
> +				};
> +				core1 {
> +					cpu = <&A57_1>;
> +				};
> +			};
> +
> +			cluster1 {
> +				core0 {
> +					cpu = <&A53_0>;
> +				};
> +				core1 {
> +					cpu = <&A53_1>;
> +				};
> +				core2 {
> +					cpu = <&A53_2>;
> +				};
> +				core3 {
> +					cpu = <&A53_3>;
> +				};
> +			};
> +		};
> +

Acked-by: Liviu Dudau <Liviu.Dudau@arm.com>

>  		A57_0: cpu@0 {
>  			compatible = "arm,cortex-a57","arm,armv8";
>  			reg = <0x0 0x0>;
> -- 
> 1.9.1
> 

-- 
====================
| I would like to |
| fix the world,  |
| but they're not |
| giving me the   |
 \ source code!  /
  ---------------
    ¯\_(ツ)_/¯

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web