Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2231075yba; Fri, 10 May 2019 08:14:35 -0700 (PDT) X-Google-Smtp-Source: APXvYqwtozgZ5P6pZida8Hc9h7i2yfisQV0snr3308r9nrI3UvgdXmsElarzLYCB8ggBgGxd6fxJ X-Received: by 2002:a65:5c8c:: with SMTP id a12mr14352326pgt.452.1557501275447; Fri, 10 May 2019 08:14:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557501275; cv=none; d=google.com; s=arc-20160816; b=EhdYvwVMHJ1BaheJTUAKoW5tXagFCC+pXQkTMsNVbHsWmVVDpU6Q5f1IiHIpHhD5R+ uytjFsp5nHsPIEtVsCgW0egSSUzjteEbhkYV19MzREIjftuP7TI6VhcX9wwWB0ujPOOJ 9vDU94LyUpQ+SShKWTjjKB44x/zAMpSNRMq8MTRXBYgi/GxD48pQ2pJslerMC40eLsVw k/27pXG0S4Bw2ZGcw0bv6N1ykicosj88eI4S7AQ+NbfJex2HV/Q4g+X1xO1Lc1xUhokT FTg9KfaPXK2WNEmyhgHZBv108T0ih6TIa3VBN9jwzKz9fIaMVVungR/qd4AIAhPvTcpA FQCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=kGgu4RGTBaaC4GnG5Yg9rXDzcnk1OOeTwbMcJlM/jIU=; b=LTJ0dQU5RFEHiDf17kBlHcPzvntt8BuICORekH1AfSVXOCGFUC8xv1DDsd9wdGTmNn nQn1ei1VLfHA37tex952NNgwsE8BHRhqvHECXlKWON+WULlhp6LnntP5L8KqMVlgFNYe ysP1wdHk+sXsHY4gF5VSylpUfZxdbdo5EzOU3bvAmUWFhecjvj4epd0J+w9fq0W4rv1b qQ0EtU0+whvOE7ciPu02pbeZJPNdKBPFxZD0lohHvM/Y7EYBJO2IpYG4dUncWrEL90Uy 0xIaNqUECZonm+FBvY1wqZbywuANDftJVek1+/MC6VyTZqLlfqvMsi52WzZwHN7dfD1F N3UA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g9si7929976pfi.146.2019.05.10.08.14.19; Fri, 10 May 2019 08:14:35 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727617AbfEJPLS (ORCPT + 99 others); Fri, 10 May 2019 11:11:18 -0400 Received: from smtp4-g21.free.fr ([212.27.42.4]:59870 "EHLO smtp4-g21.free.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727346AbfEJPLS (ORCPT ); Fri, 10 May 2019 11:11:18 -0400 Received: from [192.168.1.91] (unknown [77.207.133.132]) (Authenticated sender: marc.w.gonzalez) by smtp4-g21.free.fr (Postfix) with ESMTPSA id BB0A319F54D; Fri, 10 May 2019 17:11:06 +0200 (CEST) Subject: Re: [PATCHv1 7/8] arm64: dts: qcom: msm8998: Add PSCI cpuidle low power states To: Amit Kucheria , Bjorn Andersson Cc: MSM , LKML References: <0afe77d25490b10250f9eac4b4e92ccac8c42718.1557486950.git.amit.kucheria@linaro.org> <3de9c573-5971-15fc-1632-706fc30e90c2@free.fr> From: Marc Gonzalez Message-ID: <8292f259-d28b-9b37-d58e-3afb26da0646@free.fr> Date: Fri, 10 May 2019 17:11:01 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/05/2019 16:12, Amit Kucheria wrote: > On Fri, May 10, 2019 at 6:45 PM Marc Gonzalez wrote: >> >> On 10/05/2019 13:29, Amit Kucheria wrote: >> >>> Add device bindings for cpuidle states for cpu devices. >>> >>> Cc: Marc Gonzalez >>> Signed-off-by: Amit Kucheria >>> --- >>> arch/arm64/boot/dts/qcom/msm8998.dtsi | 32 +++++++++++++++++++++++++++ >>> 1 file changed, 32 insertions(+) >>> >>> diff --git a/arch/arm64/boot/dts/qcom/msm8998.dtsi b/arch/arm64/boot/dts/qcom/msm8998.dtsi >>> index 3fd0769fe648..208281f318e2 100644 >>> --- a/arch/arm64/boot/dts/qcom/msm8998.dtsi >>> +++ b/arch/arm64/boot/dts/qcom/msm8998.dtsi >>> @@ -78,6 +78,7 @@ >>> compatible = "arm,armv8"; >>> reg = <0x0 0x0>; >>> enable-method = "psci"; >>> + cpu-idle-states = <&LITTLE_CPU_PD>; >> >> For some reason, I was expecting the big cores to come first, but according >> to /proc/cpuinfo, cores 0-3 are part 0x801, while cores 4-7 are part 0x800. >> >> According to https://github.com/pytorch/cpuinfo/blob/master/src/arm/uarch.c >> >> 0x801 = Low-power Kryo 260 / 280 "Silver" -> Cortex-A53 >> 0x800 = High-performance Kryo 260 (r10p2) / Kryo 280 (r10p1) "Gold" -> Cortex-A73 > > Hmm, did I mess up the order of the big and LITTLE cores? > I'll take a look again. Sorry for being unclear. I was saying I expected the opposite, but it appears the order in your patch is correct ;-) Little cores have higher latency (+5%) than big cores? Regards.