Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp5065634imd; Tue, 30 Oct 2018 11:24:50 -0700 (PDT) X-Google-Smtp-Source: AJdET5ccSDunRM99YMJ9dOuzliLqTq0Hug1Pgj9Ok0I2hs2ChYs2PpfakZ9iAOQUujbOYZCf9kCX X-Received: by 2002:aa7:83c2:: with SMTP id j2-v6mr679706pfn.91.1540923890734; Tue, 30 Oct 2018 11:24:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540923890; cv=none; d=google.com; s=arc-20160816; b=jmISNoresinTtAktEixfMni/KFqyC3MeJ/JrRNJGAncRgcW917rakDfbtJZQt6FGQl BOATXukfO2srHPpS9FNdSgFE+xEH+xfljmDZupufznstN9ENA7bL9P7uEllIehgJHlBv GQ7bBYQEHVjCI11ezEnpSBWyvX+yKu6sVqyssYzClZgyqDNLzXgj3WBClpa7QFTD/huQ VODu1QnGN0VFI4wpdC2ETrLDquTHMk5mDEi018aa/pzEFBiOCHOD5HAryWtkXKD54PPV AUUvE3AzvNsA87dHihNKICL4xf+j7LMq/IPro8FuGBqNIOvclOeP1HyyD7+rL2gvaqJP weOA== 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:dmarc-filter :dkim-signature:dkim-signature; bh=JTf2j6aqob5eOue6yqB4Hur41snpN8ByWzf2KQnJyJc=; b=OKMgnKTinz6Lk+lWYb3hiN2J+XhAbgz8hWiLMRbTzpPeUxoaaLXN/0gGkgREsPn+bl YVDa9Jw2uZpqxtOyJQaFF5ASuW4Z6A6Oiis2N7DM1D9duJOBiBei1rrAjxq3yGEw1c3P zo6qfnFlec+eAVgSck12G2CqhXWyo1bJKANMdFwr3M0wN9KokegNWKHMoUlKs8HKYful 4m6MeELoM/hyKfYwxmPZ76zLeCvB/L0pMiVSaJ6GxcYP8blfz/1VB+l2iHAQ9+LsJ3FP xs/JddxWVUg1PG/EuYNx9uinie+V/0UCtA8vp6eoPx2wHmLstaSmhHErj0TK+/Nmek5M /y+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=GZ8gm+wA; dkim=pass header.i=@codeaurora.org header.s=default header.b=Hh0uLhoq; 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 z70-v6si25600317pfi.214.2018.10.30.11.24.34; Tue, 30 Oct 2018 11:24:50 -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=@codeaurora.org header.s=default header.b=GZ8gm+wA; dkim=pass header.i=@codeaurora.org header.s=default header.b=Hh0uLhoq; 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 S1727643AbeJaBSR (ORCPT + 99 others); Tue, 30 Oct 2018 21:18:17 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:50144 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726215AbeJaBSR (ORCPT ); Tue, 30 Oct 2018 21:18:17 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 4C133607E2; Tue, 30 Oct 2018 16:24:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1540916648; bh=FThDWXVH3eS0uYWQ8+VI13MRxeZWsJAr9cV4QanMOZI=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=GZ8gm+wAPEvMhatguCY2LnvZt46XB2VriqF94wvMBeeehQ856vH+iu3r/M58U5fHh y9FqjuRC3yAa2ejB/WdRkZTy6X3ZlhVdw83DnAU4UYBSblMoCkGEOlNGd9bOllbPUA 4YOJira6GwxCMUudGyqLbsyxVclSE1r9CBKKx45I= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.2 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_INVALID,DKIM_SIGNED,FROM_LOCAL_NOVOWEL autolearn=no autolearn_force=no version=3.4.0 Received: from [192.168.1.4] (unknown [183.83.75.214]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: rplsssn@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 47534607E2; Tue, 30 Oct 2018 16:24:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1540916647; bh=FThDWXVH3eS0uYWQ8+VI13MRxeZWsJAr9cV4QanMOZI=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=Hh0uLhoqIytvw3QkhbpPTAUyebFXIexbpplkHJM9XdIDMkyAbCXJY6uCxrSivq1ei CUuei27NGoSgasyZsFzfyPJcwPU+MT4E2/j3+n9u8nM24FgMMqTxIqklxpi/AebUj5 /f+eStMHBVaWDGjbALYK9887DF6To4xSPnGD539A= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 47534607E2 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=rplsssn@codeaurora.org Subject: Re: [PATCH] arm64: dts: sdm845: Add PSCI cpuidle low power states To: Doug Anderson Cc: Andy Gross , David Brown , linux-arm-msm , "open list:ARM/QUALCOMM SUPPORT" , Rajendra Nayak , Bjorn Andersson , LKML , linux-pm@vger.kernel.org, devicetree@vger.kernel.org, Stephen Boyd , Evan Green , Matthias Kaehlcke , Lina Iyer References: <1539622953-4188-1-git-send-email-rplsssn@codeaurora.org> From: Raju P L S S S N Message-ID: <5b62572d-9f45-c0ee-776e-1486a9d40862@codeaurora.org> Date: Tue, 30 Oct 2018 21:53:55 +0530 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.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/24/2018 12:06 AM, Doug Anderson wrote: > Hi, > > On Mon, Oct 15, 2018 at 10:02 AM Raju P.L.S.S.S.N > wrote: >> + idle-states { >> + entry-method = "psci"; >> + >> + C0_CPU_SPC: c0_spc { > > nit: all these nodes should have dashes instead of spaces in the node > names (labels can still have spaces). AKA: > > C0_CPU_SPC: c0-spc { Sure. I will change this. (However, from device tree specification v0.2, I see that Table 2.1 mentions underscore as valid character for node. Please correct me if I'm missing something) > > >> + compatible = "arm,idle-state"; >> + arm,psci-suspend-param = <0x40000003>; >> + entry-latency-us = <350>; >> + exit-latency-us = <461>; >> + min-residency-us = <1890>; >> + local-timer-stop; >> + idle-state-name = "pc"; > > It seems weird that the idle state with the node name "spc" has the > name "pc" and the idle state with the node name "pc" has the name > "rail pc". Can this be more consistent or is there a reason why they > need to be mismatched? Agree. They are confusing. Will change this. > > Also: AAHTUFSWDKWTM (acronyms are hard to understand for someone who > doesn't know what they mean). If you really need to use an the > acronyms "PC" and "SPC" please document them somewhere. In the very > least the commit message, but having a comment in the file is good > too. ...or (even better) don't use the acronym and spell out what > you're talking about. Please correct me if I'm wrong, but I don't > think it's obvious what the "PC" and "SPC" idle states mean. Sure. Will change this. Thanks for feedback Doug. > > > -Doug >