Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp2888226imm; Mon, 13 Aug 2018 02:11:34 -0700 (PDT) X-Google-Smtp-Source: AA+uWPy7o1IWnsj6sTojsufKYSoRve/CXjUPhQnKSQ0B2p/isTR1jP+heZmBzns+iYm4tU01QAHE X-Received: by 2002:a63:ef10:: with SMTP id u16-v6mr16492177pgh.269.1534151494351; Mon, 13 Aug 2018 02:11:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534151494; cv=none; d=google.com; s=arc-20160816; b=ItQDPRoVoOulxf2Ln3b1uYHLck4H/BUhu2wB4aMdajnusxIE/1DlA9d3S0gt2Z5xg/ YgmqvtjzhaYr1zObOgXk8fxkukhYSRCFbcm1pNYAz8kMUH5qFniaAiiOEVgxXjGLVDOC hA+L/PWtydS7JhLvRTW2M+plQdkoGRcF330eOMJvfxakuspj5dMM0WEpqno3d8NTILrf d48zRvezpaNKiOmG2//Ihb8X0qKfMT980HuBDPMNjOMM/r9an03EsOe3r4aKb8idbJvA uZPlZCVgs9F5Q0zb0tk8xzMa+RygLpKOPSQxNH11pVQbVTcc3Ln0mz7k8xtHPC8xNBoD OUNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=c0Mt4G38LNVqUokhQ1MPh9HkrgzSajPVSYd7C201OMQ=; b=o4RobDRlFQpf3O7DjbI3zd3bJUx4QKOLeoC6KvvUq4ZuyXHvotX66/GSEd3g2KOJ8x VMey/TYiFrSqB9iyvI2P6u58N5Zu/ceLs7ta95W/t0khmju/wrrX89syqroziZDjHNUS d33RDFSiesnwIHZU35gUo+CxS6HnebCQ7rr3VYgbJsVa8WK/9Odq+jgMsjHymYU0JHkx KQuOCeqKKKMBoUIt4kH47u5oky1z/vKrkuDIBuJ/OeahmJByLgbL8h9cYwynDYThf5FI kwFW77AqHt8+5OzcnHhW69hctAbhugU9r1PJ56cN8y02pJT6gqm4L73oCYRtqtjtGDJs IXUA== 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 t10-v6si3620847plh.98.2018.08.13.02.11.18; Mon, 13 Aug 2018 02:11:34 -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 S1728402AbeHMLrW (ORCPT + 99 others); Mon, 13 Aug 2018 07:47:22 -0400 Received: from regular1.263xmail.com ([211.150.99.138]:60596 "EHLO regular1.263xmail.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727799AbeHMLrW (ORCPT ); Mon, 13 Aug 2018 07:47:22 -0400 X-Greylist: delayed 379 seconds by postgrey-1.27 at vger.kernel.org; Mon, 13 Aug 2018 07:47:21 EDT Received: from huangtao?rock-chips.com (unknown [192.168.167.16]) by regular1.263xmail.com (Postfix) with ESMTP id 3C87D203; Mon, 13 Aug 2018 16:59:39 +0800 (CST) X-263anti-spam: KSV:0; X-MAIL-GRAY: 0 X-MAIL-DELIVERY: 1 X-KSVirus-check: 0 X-ABS-CHECKED: 4 Received: from [172.16.12.73] (localhost [127.0.0.1]) by smtp.263.net (Postfix) with ESMTPA id 6A73D3CC; Mon, 13 Aug 2018 16:59:25 +0800 (CST) X-IP-DOMAINF: 1 X-RL-SENDER: huangtao@rock-chips.com X-FST-TO: huangtao@rock-chips.com X-SENDER-IP: 58.22.7.114 X-LOGIN-NAME: huangtao@rock-chips.com X-UNIQUE-TAG: <32d99b4659e079536095e1a761f1480c> X-ATTACHMENT-NUM: 0 X-SENDER: huangtao@rock-chips.com X-DNS-TYPE: 0 Received: from [172.16.12.73] (unknown [58.22.7.114]) by smtp.263.net (Postfix) whith ESMTP id 209431RUQ3P; Mon, 13 Aug 2018 16:59:30 +0800 (CST) Subject: Re: [PATCH] arm64: dts: rockchip: Add idle-states to device tree for rk3399 To: Heiko Stuebner Cc: Caesar Wang , Mark Rutland , devicetree@vger.kernel.org, Brian Norris , Xing Zheng , Masahiro Yamada , Catalin Marinas , dbasehore@chromium.org, Will Deacon , dianders@chromium.org, Rob Herring , linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, tony.xie@rock-chips.com, David Wu , cf@rock-chips.com, Jianqun Xu , linux-arm-kernel@lists.infradead.org References: <1467793254-10808-1-git-send-email-wxt@rock-chips.com> <5620784.b19SH5PkdR@phil> <3578407.YVa0lydFsh@phil> From: Tao Huang Message-ID: Date: Mon, 13 Aug 2018 16:59:24 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <3578407.YVa0lydFsh@phil> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2018年08月13日 16:25, Heiko Stuebner wrote: > Hi Tao, > > Am Sonntag, 12. August 2018, 18:24:45 CEST schrieb Tao Huang: >> On 2018年08月10日 04:09, Heiko Stuebner wrote: >>> Am Mittwoch, 6. Juli 2016, 10:20:54 CEST schrieb Caesar Wang: >>> >>>> arch/arm64/boot/dts/rockchip/rk3399.dtsi | 18 ++++++++++++++++++ >>>> 1 file changed, 18 insertions(+) >>>> >>>> diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk3399.dtsi >>>> index a6dd623..12ce265 100644 >>>> --- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi >>>> +++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi >>>> @@ -101,6 +101,18 @@ >>>> }; >>>> }; >>>> >>>> + idle-states { >>>> + entry-method = "psci"; >>>> + cpu_sleep: cpu-sleep-0 { >>>> + compatible = "arm,idle-state"; >>>> + local-timer-stop; >>>> + arm,psci-suspend-param = <0x0010000>; >>>> + entry-latency-us = <350>; >>>> + exit-latency-us = <600>; >>>> + min-residency-us = <1150>; >>> Looking at the chromeos kernel, there are some more patches adapting >>> this idle-state to use different timings. >> Yes, we have another values. So the values of this patch are wrong. >>> There also was a cluster-idle state added for a while but that seems to >>> cause audio issues according to the CrOS history. >> DMA or Audio driver should add PM_QOS_CPU_DMA_LATENCY or other methods to avoid the effects of idle. >> Idle itself is good. > Thanks for the clarification. Do you know if some from Rockchip plans > on submitting a new version of the patch with changed timings and > cluster-sleep? Okay. I will arrange engineer to submit the patch.