Received: by 10.223.185.116 with SMTP id b49csp5771853wrg; Tue, 27 Feb 2018 21:09:14 -0800 (PST) X-Google-Smtp-Source: AH8x226wN3MYJhYGmyriZHd449zwICYpK0EL1STjDC9hkfUmDlszXAHU/UPoAlj7woK0bKtXS/EW X-Received: by 10.98.91.5 with SMTP id p5mr16446833pfb.163.1519794554534; Tue, 27 Feb 2018 21:09:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519794554; cv=none; d=google.com; s=arc-20160816; b=i7ZQjGc7lDicI4oe3r/N1W13bHtBfFACuOaWzOyy0IHS0BsYlqHplwtrNy86DJwYIo jbYB5lo5tvo9NelyhbVO+wV2/V/IpoMCd5VFHe6dSyud+w7RJVm+VU5J2xfw6emAEQ7V Q3IielTP7OL0BZMOVq8GAprfWjkSg56nvaHWOZKqBfpai3S+15GzEIei3OwQSNHVSLCP aZiJsYEV/XecunEXx6QvwlVSVBSZgOu1Sf4JLmmZIFdqD7iJzdzdBEHV8SZyuEt1urzS zxg6XiRCK9FlcH9H0kvNcJVIGqjPmGeK24CBrfvb6ZqLMPKjzucl+TwXH9jLeP1K16XL amRQ== 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:arc-authentication-results; bh=eUhUx//L1vYFkPxfRxTP3yMkjnOPHImGwH8CLJ9iMtE=; b=aoUyYtf3QxNRFDqZgZrYNpxKKjbAKYXuSmurKtb7t+r3WluG1M6FBQajpMwfn1jnYg Akj8K9dvsLDDyRhm2cESzGs9zsRnCNi+fT3MyUTsiYidw0ezTQlbCeK0H9cpRghBjfHH +sJGGicL+LYZaZ4fn83kH1PTAJdpXNFeD25bxZVMTTFeG0efTuuKzuvSLPKKLqnJIWaG hm+TI0ohdmsm/8HPKAU8KK9EzLtyiXeVRCfMNuLxweAKgNJYAAl2VKxS/uvKy03iGQYO bJZlw2fz7D0jsmPKalbLu1aIu8bT8G9F9SYF9hg16rqgW+32leNjAZW4waf7CdMLMKXo kKgA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=BVvIdAQA; 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 w123si630355pfd.14.2018.02.27.21.08.59; Tue, 27 Feb 2018 21:09:14 -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; dkim=pass header.i=@linaro.org header.s=google header.b=BVvIdAQA; 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 S1751919AbeB1FIT (ORCPT + 99 others); Wed, 28 Feb 2018 00:08:19 -0500 Received: from mail-qk0-f194.google.com ([209.85.220.194]:39230 "EHLO mail-qk0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751658AbeB1FIR (ORCPT ); Wed, 28 Feb 2018 00:08:17 -0500 Received: by mail-qk0-f194.google.com with SMTP id z197so1523871qkb.6 for ; Tue, 27 Feb 2018 21:08:17 -0800 (PST) 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=eUhUx//L1vYFkPxfRxTP3yMkjnOPHImGwH8CLJ9iMtE=; b=BVvIdAQAgQ4DnY1cRd4kLpNxfhCF2GDWNxkFMb+yclcKXHlwzI138cIxMkdl6h9KaO w5UdBN3BF6CEveZ1BJ+QjY1hZebdKbNA5wdlpxHBUs28RL42hkzq989WnhwBOugAcmGT gvpgW6pK0Mr4060Z2bDUlE3O4UxnPzzQoXX54= 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=eUhUx//L1vYFkPxfRxTP3yMkjnOPHImGwH8CLJ9iMtE=; b=W0C+Wm9sUzqEAD72EPlJ8kFRbCH8mW7/slxLkkZv5GnxydKG0jMLyS7Eg/weriam/E 6ig/d5iKOIEwlJLyE23HY+Q3GFZW6O2FnDfRbHm1JwHC294gGe64rB87uLKumekXx9k2 SUpkxA03Pq0+ix4YZCRkwLDoZ9ii4i0wiIMougZ+GISVyL/pGiAz+TPqlqmQxRx/cE5v dgIh9F3/ItHiY+bwFo95zuZhsRN6010hKbkknsiq4nuDBNn3nwpUKnS3Gowb4LXm5xyr wR9di3NBxLARZhZ64wfS5zTb/sPU322/gfyycOTWzIBQYbrtQmYmf1l/8G7Z4nQTXILP awcg== X-Gm-Message-State: APf1xPCDDn0xe0Tz50EvDpgxoZKGrimiTmIsMe4XpD2WWrHWe5t6pzhC gI6JnZ7/vxWn7KFJBametxlWqg== X-Received: by 10.55.249.4 with SMTP id l4mr25076573qkj.165.1519794497232; Tue, 27 Feb 2018 21:08:17 -0800 (PST) Received: from leoy-ThinkPad-T440 ([45.77.212.61]) by smtp.gmail.com with ESMTPSA id g54sm632284qtk.43.2018.02.27.21.08.11 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Tue, 27 Feb 2018 21:08:16 -0800 (PST) Date: Wed, 28 Feb 2018 13:08:04 +0800 From: Leo Yan To: Wei Xu , Rob Herring , Mark Rutland , Catalin Marinas , Will Deacon , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Daniel Lezcano , Kevin Wang , Vincent Guittot Subject: Re: [PATCH] arm64: dts: Hi3660: Remove 'CPU_NAP' idle state Message-ID: <20180228050803.GB20745@leoy-ThinkPad-T440> References: <1515472362-19979-1-git-send-email-leo.yan@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1515472362-19979-1-git-send-email-leo.yan@linaro.org> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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! > --- > 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 >