Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp655721imm; Tue, 5 Jun 2018 02:09:50 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLQENXODIv6SVk2fH9d0Qd6xbixuZ93cx/gv0PSGgcFPqouDjn+eqAdNJT+wqaSNojqglgv X-Received: by 2002:a17:902:b598:: with SMTP id a24-v6mr26356218pls.183.1528189790588; Tue, 05 Jun 2018 02:09:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528189790; cv=none; d=google.com; s=arc-20160816; b=O7L/89Bxh5EKzNyQT1ZdvWV3jCdtq5daflIOm3PaDXTgJplJFiTYeBIJG7ep3vgYHD /eg5JopVyguizqMjotsZu4wkWX5HX79feaMQqijp8LtFPzVOFbMPaYxGaR31yLC/k7g2 j6qn/UYFfwpiCZtZYZ+AO4h1m8FkteDV0VEbkKYKKR5eM7NnU1i37FJIV4emcUOX+8bb g5MtUfwT32wcPa59Ef4lzH9VZ4abN/V8v3zx/U2bNFnh+yMJxDzaj+k9GFLqnOaaeJcd sYWR70N8ZNL4xpOkm3SlmZcSQ7sibedg81nRWs4uwzxv26/PQJt6muRAed8ju94ZQptG 5U9A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:user-agent:in-reply-to :content-disposition:mime-version:references:subject:cc:to:from:date :arc-authentication-results; bh=njTIxSkyiMtmKvx7cnYNBAfWUAIEWuu/QtrvfRHhn2I=; b=JiDosSiQu+IXkLbIB9J+FDjpS4Q71Dbng6zdXcmoDG1UW40HWRZUIkGvp1OERFKn18 NxPLEB9+3hc3A9OX98sftx8KQedgXnamp5+ybkfU4MeSFfOKjONfEtrVM1jGRkbkRDkQ +vP+dINLDlGORSltjG+YMOkEOZ6CKwGNbCzHzT4G0ymnDQ3Cf/9Qs7/zWgw7ogWyWjdX XL4u1Y5DoRUm/IL0P/NfIDl+OiGU5cmtm3DvkyGAhCdkmqpYCFJHD4P6MHyDFwPV9Z+2 70/cRy1Ctr1vzp/9CD1aPGJ519Qr3aNmBxulIrECdcgZY4EirHEhFIw9JT5Di7sElKUt l3nQ== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i133-v6si20876752pgc.351.2018.06.05.02.09.36; Tue, 05 Jun 2018 02:09: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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751589AbeFEJIj (ORCPT + 99 others); Tue, 5 Jun 2018 05:08:39 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:35840 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751510AbeFEJIi (ORCPT ); Tue, 5 Jun 2018 05:08:38 -0400 Received: from pps.filterd (m0098420.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w5593n0i090396 for ; Tue, 5 Jun 2018 05:08:37 -0400 Received: from e06smtp07.uk.ibm.com (e06smtp07.uk.ibm.com [195.75.94.103]) by mx0b-001b2d01.pphosted.com with ESMTP id 2jdnwcmr8s-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 05 Jun 2018 05:08:37 -0400 Received: from localhost by e06smtp07.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 5 Jun 2018 10:08:35 +0100 Received: from b06cxnps4076.portsmouth.uk.ibm.com (9.149.109.198) by e06smtp07.uk.ibm.com (192.168.101.137) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Tue, 5 Jun 2018 10:08:32 +0100 Received: from d06av26.portsmouth.uk.ibm.com (d06av26.portsmouth.uk.ibm.com [9.149.105.62]) by b06cxnps4076.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w5598VPa25231366 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 5 Jun 2018 09:08:31 GMT Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 8CCF8AE055; Tue, 5 Jun 2018 09:57:31 +0100 (BST) Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 03FD8AE051; Tue, 5 Jun 2018 09:57:30 +0100 (BST) Received: from aksadiga.ibm (unknown [9.124.35.84]) by d06av26.portsmouth.uk.ibm.com (Postfix) with ESMTPS; Tue, 5 Jun 2018 09:57:29 +0100 (BST) Date: Tue, 5 Jun 2018 14:38:27 +0530 From: Akshay Adiga To: Abhishek Cc: Benjamin Herrenschmidt , stewart@linux.vnet.ibm.com, linux-pm@vger.kernel.org, daniel.lezcano@linaro.org, rjw@rjwysocki.net, linux-kernel@vger.kernel.org, paulus@samba.org, linuxppc-dev@lists.ozlabs.org Subject: Re: [PATCH v2] cpuidle/powernv : Add Description for cpuidle state References: <20180604081758.104201-1-huntbag@linux.vnet.ibm.com> <0a28154deb468669a59c120a90d4aedc1e1e705b.camel@kernel.crashing.org> <20180604114500.3rlpuso5aftesnf5@aksadiga.ibm> <17cd53ec-6bc1-5814-8824-3c6a4f0b90cd@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <17cd53ec-6bc1-5814-8824-3c6a4f0b90cd@linux.vnet.ibm.com> User-Agent: NeoMutt/20170306 (1.8.0) X-TM-AS-GCONF: 00 x-cbid: 18060509-0028-0000-0000-000002CD4704 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18060509-0029-0000-0000-000023844A77 Message-Id: <20180605090827.u535p5du5em3kgil@aksadiga.ibm> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-06-05_03:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1805220000 definitions=main-1806050110 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jun 05, 2018 at 02:24:39PM +0530, Abhishek wrote: > > > On 06/04/2018 05:15 PM, Akshay Adiga wrote: > > On Mon, Jun 04, 2018 at 07:04:14PM +1000, Benjamin Herrenschmidt wrote: > > > Is this a new property ? I'm not fan of adding yet another of those > > > silly arrays. > > > > > > I would say this is the right time now to switch over to a node per > > > state instead, as we discussed with Vaidy. > > It is not a new property. Name was being used for description as description > was not present in device tree. A skiboot patch adding description to device > tree have been posted. This patch reads those description instead of copying > name itself into description. And we fall back to reading name into > description to not break the comaptibility with older firmware. From a cpuidle point of view this is a exisiting property, but for powernv there was no device-tree property describing this. Abhishek has added the following skiboot patch for adding description for each idle state in device-tree . https://patchwork.ozlabs.org/patch/924879/ I agree this can go into new device tree format which each idle state as a node. Probably i will roll this patch into mine in the next version. > > Thanks > Abhishek > > > I posted the node based device tree here : > > skiboot patch : https://patchwork.ozlabs.org/patch/923120/ > > kernel patch : https://lkml.org/lkml/2018/5/30/1146 > > > > Do you have any inputs for this design ? > > > > > Additionally, while doing that, we can provide the versioning mechanism > > > I proposed so we can deal with state specific issues and erratas. > > > > > > Cheers, > > > Ben. > > > >