Received: by 10.223.185.116 with SMTP id b49csp8828431wrg; Fri, 2 Mar 2018 08:37:37 -0800 (PST) X-Google-Smtp-Source: AG47ELvPdBvjWwjmo1vRmWOBVNtcPWbWtXxPNf2q9izMf87mDfRz9Z3Cqp+l2qqHlwTzXFHp4xEN X-Received: by 10.98.149.138 with SMTP id c10mr6264732pfk.143.1520008656908; Fri, 02 Mar 2018 08:37:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520008656; cv=none; d=google.com; s=arc-20160816; b=LcAiDU1KPs4/Y6N46Xl79NbjeleslWbLHhLBeuQsjZ4DJRLEfbAmvP8MeM9znFfU/+ e8efrVW+kbmi0rFIfEdfnDwXWCnlZPtDMVAfZmfOxoWTx8WMxx4BPXsm39i7i9GSIj9K xiJqjp08yTK1p664XbAeD38YIvtSiwCnu0I485D+IH8qrtU+ccAMIALMlvmDFMLTUvrD Z+YNUF/85F6sBsK05hmNtOaOZSsAJxP0EVzgJvKha/XYlnwPVZTZ/bllChNfV0c4Bz48 lWGC/w096ykane85UzOh/oMIJ3RHuFQokPsGKU0cveefsV1R8arkfz2b98VUJ7piwE8a xzSg== 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:in-reply-to :mime-version:user-agent:date:message-id:from:cc:references:to :subject:arc-authentication-results; bh=FyEfzMfRQEL6Qza70oerxTefUbIJPOgmZHHRFQjg30c=; b=T9CRGUybR7Aujj/eYOwW3k7AUUtXXh2j56bJTZMScgb1x0iulR8515nz5cM3EVt8QO Td7xFlO9Rknks8RqqoRKMa8pgqRz/LxmY8x+fyr0PGRVHbTMpT3OXmO07JqnpCfLp7Er NnpEIpT/D7m7QdFIKHWyHzxHRoOmW6tA71YJazQsGmBWzc/XSTnCGelKgkhaJEVhmN0s 5brdY1lUMEgJeCfl0wYtHiGtx1wqAS1nEeC0a//q4Z63r7T1qZCWV7nQKq47W2I29We4 8s7NhFf7mKv/wjGyBKh7AjfmTR1Zuyo/wHdvwXFuTl3zeq6UdnsYdHxLDklZdJq/gzUI GcSA== 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 j184si4220963pgc.142.2018.03.02.08.37.22; Fri, 02 Mar 2018 08:37:36 -0800 (PST) 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 S1946512AbeCBP6E (ORCPT + 99 others); Fri, 2 Mar 2018 10:58:04 -0500 Received: from szxga04-in.huawei.com ([45.249.212.190]:5699 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1426385AbeCBP6B (ORCPT ); Fri, 2 Mar 2018 10:58:01 -0500 Received: from DGGEMS409-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id 32DC256BA66CC; Fri, 2 Mar 2018 23:57:47 +0800 (CST) Received: from [127.0.0.1] (10.202.226.47) by DGGEMS409-HUB.china.huawei.com (10.3.19.209) with Microsoft SMTP Server id 14.3.361.1; Fri, 2 Mar 2018 23:57:46 +0800 Subject: Re: [PATCH] arm64: dts: Hi3660: Remove 'CPU_NAP' idle state To: Leo Yan , Rob Herring , "Mark Rutland" , Catalin Marinas , Will Deacon , , , References: <1515472362-19979-1-git-send-email-leo.yan@linaro.org> <20180228050803.GB20745@leoy-ThinkPad-T440> CC: Daniel Lezcano , Kevin Wang , Vincent Guittot From: Wei Xu Message-ID: <5A997473.40706@hisilicon.com> Date: Fri, 2 Mar 2018 15:57:39 +0000 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <20180228050803.GB20745@leoy-ThinkPad-T440> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.202.226.47] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Leo, On 2018/2/28 5:08, Leo Yan wrote: > Hi Wei, > > On Tue, Jan 09, 2018 at 12:32:42PM +0800, Leo Yan wrote: >> Thanks a lot for Vincent Guittot careful work to find bug for 'CPU_NAP' >> idle state. At early time, the CPU CA73 CPU_NAP idle state has been >> supported on Hikey960. Later we found the system has the hang issue >> and for resolving this issue Hisilicon released new MCU firmware, but >> unfortunately the new MCU firmware has side effect and results in the >> CA73 CPU cannot really enter CPU_NAP state and roll back to WFI state. >> >> After discussion we cannot see the possibility to enable CA73 CPU_NAP >> state anymore on Hikey960, based on this conclusion we should remove >> this state from DT binding. >> >> Cc: Daniel Lezcano >> Cc: Kevin Wang >> Cc: Vincent Guittot >> Signed-off-by: Leo Yan > > Could you help to pick up this patch? Thanks! Applied into hisilicon dt tree. Thanks! Best Regards, Wei > >> --- >> arch/arm64/boot/dts/hisilicon/hi3660.dtsi | 32 ++++--------------------------- >> 1 file changed, 4 insertions(+), 28 deletions(-) >> >> diff --git a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi b/arch/arm64/boot/dts/hisilicon/hi3660.dtsi >> index ab0b95b..8fddf0d 100644 >> --- a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi >> +++ b/arch/arm64/boot/dts/hisilicon/hi3660.dtsi >> @@ -96,11 +96,7 @@ >> reg = <0x0 0x100>; >> enable-method = "psci"; >> next-level-cache = <&A73_L2>; >> - cpu-idle-states = < >> - &CPU_NAP >> - &CPU_SLEEP >> - &CLUSTER_SLEEP_1 >> - >; >> + cpu-idle-states = <&CPU_SLEEP &CLUSTER_SLEEP_1>; >> }; >> >> cpu5: cpu@101 { >> @@ -109,11 +105,7 @@ >> reg = <0x0 0x101>; >> enable-method = "psci"; >> next-level-cache = <&A73_L2>; >> - cpu-idle-states = < >> - &CPU_NAP >> - &CPU_SLEEP >> - &CLUSTER_SLEEP_1 >> - >; >> + cpu-idle-states = <&CPU_SLEEP &CLUSTER_SLEEP_1>; >> }; >> >> cpu6: cpu@102 { >> @@ -122,11 +114,7 @@ >> reg = <0x0 0x102>; >> enable-method = "psci"; >> next-level-cache = <&A73_L2>; >> - cpu-idle-states = < >> - &CPU_NAP >> - &CPU_SLEEP >> - &CLUSTER_SLEEP_1 >> - >; >> + cpu-idle-states = <&CPU_SLEEP &CLUSTER_SLEEP_1>; >> }; >> >> cpu7: cpu@103 { >> @@ -135,24 +123,12 @@ >> reg = <0x0 0x103>; >> enable-method = "psci"; >> next-level-cache = <&A73_L2>; >> - cpu-idle-states = < >> - &CPU_NAP >> - &CPU_SLEEP >> - &CLUSTER_SLEEP_1 >> - >; >> + cpu-idle-states = <&CPU_SLEEP &CLUSTER_SLEEP_1>; >> }; >> >> idle-states { >> entry-method = "psci"; >> >> - CPU_NAP: cpu-nap { >> - compatible = "arm,idle-state"; >> - arm,psci-suspend-param = <0x0000001>; >> - entry-latency-us = <7>; >> - exit-latency-us = <2>; >> - min-residency-us = <15>; >> - }; >> - >> CPU_SLEEP: cpu-sleep { >> compatible = "arm,idle-state"; >> local-timer-stop; >> -- >> 2.7.4 >> > > . >