Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp97050ybt; Tue, 23 Jun 2020 16:19:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJygngaYs6SLLl6Q/+0fqKVF5Li+gh2TNtpvCHcpmCBsOI9iHNtOMNzOLi6Lf8rq6EekhpIw X-Received: by 2002:a17:906:78b:: with SMTP id l11mr23317023ejc.427.1592954387519; Tue, 23 Jun 2020 16:19:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592954387; cv=none; d=google.com; s=arc-20160816; b=OXsNoIAEJ+l2X3ZLn/VhTNvGHdQ6RXTB09ETjapf9oYsi79gJSkhgtow6FguMAZft2 sBeIF9J9qR5ctYXHuyvm/RA4xgddnsuVp/ZSZhikQtqzV3X9RO7oQb9ZMkr9pajNqi4P IkkwL4fIwu/Yu34ROVEDO77hdQBAsZTOFoRkyN0hwptSJKD6RSghwQ82O8nJZUV+KZgK 6AcUi2gw8Cs6v8zUZEb4A+XMPhEWfvOpNW29kQiM1pOQ0+bw/VJeGMrgXlavdu4EviOH O7bzO4KZ6KIKTMlnXHx+J/EobDVGeujytQN7g9YB8vYLvNgspQmjaZfn9M9vc/SazVe5 RK/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=owfnTjDg726NQtD8/qpHi9DHMAEWYAz9K7YSNYTVBdM=; b=Y/sKaL4z2Z+X/QLpFtIXawOUo64oi5R1AlcwEqOSvuBCZXM+pqlqfz+EDcH1fIiyxU vvp7bBV0H5OvYaR6ne5RE53SoEkfvoAU+gBke9lcXxJBQjtwL0Us3huRmRWP3jRou/iU D6YR1fQ78YTrq3WLJcjH8frtMtsZKm6tode5dB8eeSXPe7MFkpbPdaxxrxMlHMPUqkwG Qoe5a9COZe4cKm11pkzwsbuBhN5ourhIg68NUdCjtwUip5k6LRCopZ9hlHZoN+QVe/1+ sO0Nx3QYoqf0HKOs3VdcU7QE+rggf+XMI2W9OdTpWzEZOI4f3Oa30PXSz1B5GKq+31dD fGfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=axVFq7kE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x26si11370922ejc.746.2020.06.23.16.19.23; Tue, 23 Jun 2020 16:19:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=axVFq7kE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387718AbgFWXS4 (ORCPT + 99 others); Tue, 23 Jun 2020 19:18:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51674 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387749AbgFWXSz (ORCPT ); Tue, 23 Jun 2020 19:18:55 -0400 Received: from mail-pg1-x541.google.com (mail-pg1-x541.google.com [IPv6:2607:f8b0:4864:20::541]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5C9EAC0613ED for ; Tue, 23 Jun 2020 16:18:55 -0700 (PDT) Received: by mail-pg1-x541.google.com with SMTP id f3so358480pgr.2 for ; Tue, 23 Jun 2020 16:18:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=owfnTjDg726NQtD8/qpHi9DHMAEWYAz9K7YSNYTVBdM=; b=axVFq7kEpzc0dZ9A34HiMdj61yFalJrUM23DWP9yRZk52sePC29vY9KXZguGt9UnTd R2lP2oCjUYJ47auAhoIl0cnMZJbnuAJwOWA7cSJD/huM4YhUJhxli5Jsoh71Ps9iwuvU 9al7bH1MI24TstseeTj6WwVU0wdOxix/wnF74p7kDjODXvt4Z15HXASEAotwmUvU+pKU pnMo6iAvksTVm97jtBuWQdAsxxAHAQwOBSaiYb6ihu90IFOnjDHHONcQM3zGfrikE0kI gaDWaALK7PEAJFMt8OclbWgTODw1MCGX36h1hDU3aFHU2NtlhBiRLxE/rLUAdVp0qF7r Ylhw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=owfnTjDg726NQtD8/qpHi9DHMAEWYAz9K7YSNYTVBdM=; b=auKOuAQPAVtxgJzQiL/+6rtc4+Q2p8GbafqvLS/TLGmZRbP29HgrArsCFzkeXCc5Qm 2vi8gtqlbynDv+x+6oHsluCMNpzWXTdEOhhryBeYsDez5yB731APsy/Nb1qLF28JVy25 /QMWbchVRf5jjNQb82NyHTBjmXzsfcwcAFAhmzPE5VQAta2zlHGYDqizvmQglOT1a9xE 0B57kcbUt8GWH9WRich0P+ix+pa8qaRZqxuh54S4aJPwNgFjwO2Bp7HRoeaz6aty9Q3c vx6xePh4XlY9WbYwyzAIXXxn8DR0K1giTQ3BeSSBvYicdj5GteumajeA/kaDa1cgWQbe R+tA== X-Gm-Message-State: AOAM533xE05cN0RCJ+SGtL5Opx92BWt8B/NwcW1TF4+a3dZXhRl6WOrM S5hPMMUYxGXfrnccI75Olee79g== X-Received: by 2002:a62:ee1a:: with SMTP id e26mr26388637pfi.228.1592954334821; Tue, 23 Jun 2020 16:18:54 -0700 (PDT) Received: from builder.lan (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id 2sm3375297pfa.110.2020.06.23.16.18.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jun 2020 16:18:54 -0700 (PDT) Date: Tue, 23 Jun 2020 16:16:11 -0700 From: Bjorn Andersson To: Konrad Dybcio Cc: skrzynka@konradybcio.pl, Andy Gross , Rob Herring , Kees Cook , Anton Vorontsov , Colin Cross , Tony Luck , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 03/12] arm64: dts: qcom: msm8994: Add a proper CPU map Message-ID: <20200623231611.GJ128451@builder.lan> References: <20200623224813.297077-1-konradybcio@gmail.com> <20200623224813.297077-4-konradybcio@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200623224813.297077-4-konradybcio@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue 23 Jun 15:48 PDT 2020, Konrad Dybcio wrote: > Add a proper CPU map to enable the use of all 8 cores. > > Signed-off-by: Konrad Dybcio Applied, thanks > --- > arch/arm64/boot/dts/qcom/msm8994.dtsi | 112 +++++++++++++++++++++++--- > 1 file changed, 102 insertions(+), 10 deletions(-) > > diff --git a/arch/arm64/boot/dts/qcom/msm8994.dtsi b/arch/arm64/boot/dts/qcom/msm8994.dtsi > index 23e50c30669b..e7f4b06eb12c 100644 > --- a/arch/arm64/boot/dts/qcom/msm8994.dtsi > +++ b/arch/arm64/boot/dts/qcom/msm8994.dtsi > @@ -28,24 +28,116 @@ sleep_clk: sleep_clk { > }; > > cpus { > - #address-cells = <1>; > + #address-cells = <2>; > #size-cells = <0>; > + > + CPU0: cpu@0 { > + device_type = "cpu"; > + compatible = "arm,cortex-a53"; > + reg = <0x0 0x0>; > + enable-method = "psci"; > + next-level-cache = <&L2_0>; > + L2_0: l2-cache { > + compatible = "cache"; > + cache-level = <2>; > + }; > + }; > + > + CPU1: cpu@1 { > + device_type = "cpu"; > + compatible = "arm,cortex-a53"; > + reg = <0x0 0x1>; > + enable-method = "psci"; > + next-level-cache = <&L2_0>; > + }; > + > + CPU2: cpu@2 { > + device_type = "cpu"; > + compatible = "arm,cortex-a53"; > + reg = <0x0 0x2>; > + enable-method = "psci"; > + next-level-cache = <&L2_0>; > + }; > + > + CPU3: cpu@3 { > + device_type = "cpu"; > + compatible = "arm,cortex-a53"; > + reg = <0x0 0x3>; > + enable-method = "psci"; > + next-level-cache = <&L2_0>; > + }; > + > + CPU4: cpu@100 { > + device_type = "cpu"; > + compatible = "arm,cortex-a57"; > + reg = <0x0 0x100>; > + enable-method = "psci"; > + next-level-cache = <&L2_1>; > + L2_1: l2-cache { > + compatible = "cache"; > + cache-level = <2>; > + }; > + }; > + > + CPU5: cpu@101 { > + device_type = "cpu"; > + compatible = "arm,cortex-a57"; > + reg = <0x0 0x101>; > + enable-method = "psci"; > + next-level-cache = <&L2_1>; > + }; > + > + CPU6: cpu@102 { > + device_type = "cpu"; > + compatible = "arm,cortex-a57"; > + reg = <0x0 0x101>; > + enable-method = "psci"; > + next-level-cache = <&L2_1>; > + }; > + > + CPU7: cpu@103 { > + device_type = "cpu"; > + compatible = "arm,cortex-a57"; > + reg = <0x0 0x101>; > + enable-method = "psci"; > + next-level-cache = <&L2_1>; > + }; > + > cpu-map { > cluster0 { > core0 { > cpu = <&CPU0>; > }; > + > + core1 { > + cpu = <&CPU1>; > + }; > + > + core2 { > + cpu = <&CPU2>; > + }; > + > + core3 { > + cpu = <&CPU3>; > + }; > }; > - }; > > - CPU0: cpu@0 { > - device_type = "cpu"; > - compatible = "arm,cortex-a53"; > - reg = <0x0>; > - next-level-cache = <&L2_0>; > - L2_0: l2-cache { > - compatible = "cache"; > - cache-level = <2>; > + cluster1 { > + core0 { > + cpu = <&CPU4>; > + }; > + > + core1 { > + cpu = <&CPU5>; > + }; > + > + core2 { > + cpu = <&CPU6>; > + }; > + > + core3 { > + cpu = <&CPU7>; > + }; > }; > }; > }; > -- > 2.27.0 >