Received: by 2002:a25:86ce:0:0:0:0:0 with SMTP id y14csp1745785ybm; Tue, 21 May 2019 20:52:09 -0700 (PDT) X-Google-Smtp-Source: APXvYqyEs0d36O1xEQqhilB41kuSFAI+7987olLuFJLZE6tHQibwt9cCNtUa3dc4c5foegQ+wA6a X-Received: by 2002:a63:1b65:: with SMTP id b37mr87333763pgm.408.1558497129199; Tue, 21 May 2019 20:52:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558497129; cv=none; d=google.com; s=arc-20160816; b=bMw3mhdlfTHv6Mkwsv0r+Nhp9XeCW8wwv78D6rPz88pyLpWtyaJi/UTqJaG3jkxRzj FyzyE0jj99V/AP7w0UE5kJY/OCEWe4Nx4KR4Uk5n45FABTfIGARbm13k757GgrfGnMMX dnE3vvz0I8TNPry+0EbI0JwlicsldQcFL7zGBb+v4H1LkktNADjoKDYNMQzTXF2TfE4N g26Zp2gNEzuyE4MVKlX0ZFXhqOkLv2CkgUu3eJx3WCBGlL40lCFoNPpB6KlQK2aKdeX7 GKuLdYY3rssD6dkBetOO+7CZObcfm3dRefzy/U20tuzIYHp2/oUjJMMr2QSvQgGDLFwk c6sg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=T7Biagvh6d4wrBsXZmdQpJBIYqCgkhGLw5kNc+TIy7I=; b=0a4UlVWlBVCd6c8U3BU1TA78IxWdlgIuBgOJjpSJ/1/iWjkwriJwabEobaYGKbKl5W XL7XcoFdgHAs4a4PAgF05fjupxH8WJbPc6IfkXQKPA4/CLASZubFwliYjcz+/lczGh9L 73zU+W8MQO/tusJ91tkxqbgappkuMwHfrpfnLd+YP6m//lF6dC+039ge/6ojLoYHKAno 0EJb/h12Cqf/T6G+CFZLXrCv6V6eCn5M8/qlm2eaLpxLSeSTj/CapC9+EtEwkXg7malS hAO+Tk1O+ARw3RCBnCRtVw7L88fx/v/g/NueS0Gx5pFlby6XPuDELRPgc9hsSsktmuhD +eiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=DoJbCJ7L; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id e23si24542050pgl.293.2019.05.21.20.51.53; Tue, 21 May 2019 20:52:09 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=DoJbCJ7L; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1728457AbfEVDuc (ORCPT + 99 others); Tue, 21 May 2019 23:50:32 -0400 Received: from mail-pl1-f194.google.com ([209.85.214.194]:42089 "EHLO mail-pl1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727244AbfEVDub (ORCPT ); Tue, 21 May 2019 23:50:31 -0400 Received: by mail-pl1-f194.google.com with SMTP id go2so365898plb.9 for ; Tue, 21 May 2019 20:50:31 -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:user-agent; bh=T7Biagvh6d4wrBsXZmdQpJBIYqCgkhGLw5kNc+TIy7I=; b=DoJbCJ7LcTJv/2630kZj1+P9sznq9t9odB/UFqEtILVxEiqhGDoiUhzxjoATb3BvdZ eWhpn7j3D2bK4yxTPSA05UcTXgNixl4QfnMx0iRQWT3vOZSnAFgw5ucAvqD4it+5C0y0 ECK3i0iWLv6e2BsCChu9LXYHnASqVgsVfpHfcHz7iu9VlpoDskoQ/g8Hb7NkS2sE51n2 KD8roIiwMS1zpPOcUjA+mzPeQx3PwoZb+NQXvqoR/tzWfyqXsgi6UbGu3BFEezgdkwI1 XmNi4QR2ljf51GIQJtcU44dyxY5bbvHhwnlPE/GF56za24MjKguKpEf66bbfovipgsnZ WbxQ== 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:user-agent; bh=T7Biagvh6d4wrBsXZmdQpJBIYqCgkhGLw5kNc+TIy7I=; b=DbGbIwxzQabdBw4oFSn42cj7cpTjAtEFe1/IfcfC4FJC71LrwDoh4EvMLOWAR7eLLZ 5cl/zftSTIdU2P88mNtCTrV4u2opO+CSP2W4lb0T99B0hYzoCFxw9MtCcAKu/syU+Igo saDi/AUhXqRLoXeZiAKYWLDRbxbU56E5JCq44J+b2pybiRnDW0LFdLj7Kt8J0WU2foj3 AdW8PFfXekVKe0sygoeXT6PbUmY69CIatndNAqocB6wlficQY+v5eSsQMV1Ut6AcZazu 3pWswv56dc95P/Jaqyw8aTnod4BS+lU2nC18aDKT9miJRH5TNrsa1pNSbKWbpifDtFLl cPCw== X-Gm-Message-State: APjAAAUHmfdV+r06SRdw5I2+WzEJBuXBk5hgUCzkTQRrSN96a0HQjrGu Qf8EE+WftB6k21r1lDCW1R7ZMQ== X-Received: by 2002:a17:902:158b:: with SMTP id m11mr46473194pla.268.1558497031162; Tue, 21 May 2019 20:50:31 -0700 (PDT) Received: from builder (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id g8sm282837pgq.33.2019.05.21.20.50.29 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 21 May 2019 20:50:30 -0700 (PDT) Date: Tue, 21 May 2019 20:50:28 -0700 From: Bjorn Andersson To: Amit Kucheria Cc: linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, agross@kernel.org, niklas.cassel@linaro.org, marc.w.gonzalez@free.fr, sibis@codeaurora.org, daniel.lezcano@linaro.org, Andy Gross , David Brown , Li Yang , Shawn Guo , devicetree@vger.kernel.org Subject: Re: [PATCH v2 9/9] arm64: dts: msm8996: Add proper capacity scaling for the cpus Message-ID: <20190522035028.GN3137@builder> References: <5224535a7ef5b257e3baa698991bf6deeefccc36.1558430617.git.amit.kucheria@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5224535a7ef5b257e3baa698991bf6deeefccc36.1558430617.git.amit.kucheria@linaro.org> User-Agent: Mutt/1.10.0 (2018-05-17) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue 21 May 02:35 PDT 2019, Amit Kucheria wrote: > msm8996 features 4 cpus - 2 in each cluster. However, all cpus implement > the same microarchitecture and the two clusters only differ in the > maximum frequency attainable by the CPUs. > > Add capacity-dmips-mhz property to allow the topology code to determine > the actual capacity by taking into account the highest frequency for > each CPU. > > Signed-off-by: Amit Kucheria > Suggested-by: Daniel Lezcano Applied Regards, Bjorn > --- > arch/arm64/boot/dts/qcom/msm8996.dtsi | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi > index 4f2fb7885f39..e0e8f30ce11a 100644 > --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi > +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi > @@ -96,6 +96,7 @@ > reg = <0x0 0x0>; > enable-method = "psci"; > cpu-idle-states = <&CPU_SLEEP_0>; > + capacity-dmips-mhz = <1024>; > next-level-cache = <&L2_0>; > L2_0: l2-cache { > compatible = "cache"; > @@ -109,6 +110,7 @@ > reg = <0x0 0x1>; > enable-method = "psci"; > cpu-idle-states = <&CPU_SLEEP_0>; > + capacity-dmips-mhz = <1024>; > next-level-cache = <&L2_0>; > }; > > @@ -118,6 +120,7 @@ > reg = <0x0 0x100>; > enable-method = "psci"; > cpu-idle-states = <&CPU_SLEEP_0>; > + capacity-dmips-mhz = <1024>; > next-level-cache = <&L2_1>; > L2_1: l2-cache { > compatible = "cache"; > @@ -131,6 +134,7 @@ > reg = <0x0 0x101>; > enable-method = "psci"; > cpu-idle-states = <&CPU_SLEEP_0>; > + capacity-dmips-mhz = <1024>; > next-level-cache = <&L2_1>; > }; > > -- > 2.17.1 >