Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp643343imm; Tue, 5 Jun 2018 01:57:07 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLPRYkN3Ng8j1HEtHjScNZUcUWEoRveT6LDKh2F0TvAyAa41qQQqMDD+SKtN136/W+UlthF X-Received: by 2002:a17:902:9048:: with SMTP id w8-v6mr25219088plz.34.1528189027141; Tue, 05 Jun 2018 01:57:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528189027; cv=none; d=google.com; s=arc-20160816; b=y0Lox92VFEG89nWUmbWqT6AeWl4K6YFePmUO7sHx42+joj+NIsRUiKYGEet30h/Tyz 0INwaJ8Xe7e8d8Rphs0x48EZR6i5SGlAq3y5QK6BgNN2YJTIPVPy7NnFqrCtVsYiJlOS TLKb9pm0mgeK+RqbGHegYpCGZfa+6OrNOxH7nAT6zRsfA7MEVu4kb0igryLJLUcgz492 hrJsW309+MOTL8KCN//GUH3SXUDvT5qVJwv1cHiPTvoWdH1T6OqKbqFYZ1z1dNYgHUId aWeNkTQ7By5LmlojTpOsnJbuVb0FZ7kR+6yr6ofJ2fOaFIVmVwt9xwateR/z0G4xQuM7 jxDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :from:references:cc:to:subject:arc-authentication-results; bh=ex6f5u1vcV+BC/tbC85rkbrGIzQslic0mat1/s9cKnY=; b=qjOh2hl/RfnZNKvJ32YQRp1E2AQLukXt/kYjvMe6pO+gY7lCC61GiYSxvI3VN5RuGV BzwPQxYc2iz9h1fWPvgEtRVEeedPQjSkpTR0ehBrYOus6nDaEwcd6wiBVcqHKjv3FlAh QANTVnd35uMjKR1Jk7wvCeKHUqSX+00/80cVCMpBti7AY6Izj4FjLwME40MJhNJ3YbUa YCuiQpSEjBSH1jLvqBoCqkNsFJ5FBduJh/cMWZLXiMU/1DtodSVaZeNklE+O6eHQAmzc sYre+Jh/eUfX6CvJ5FBz6FQkP0lVfV2bY4tLZaigLehx/7+NUyBqKPqqlvRAHxvFfP0t 3FAg== 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 w16-v6si48624445plq.141.2018.06.05.01.56.52; Tue, 05 Jun 2018 01:57:07 -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 S1751890AbeFEIyw (ORCPT + 99 others); Tue, 5 Jun 2018 04:54:52 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:33984 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751540AbeFEIyt (ORCPT ); Tue, 5 Jun 2018 04:54:49 -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 w558s5Av053880 for ; Tue, 5 Jun 2018 04:54:49 -0400 Received: from e06smtp01.uk.ibm.com (e06smtp01.uk.ibm.com [195.75.94.97]) by mx0b-001b2d01.pphosted.com with ESMTP id 2jdnwcm5gn-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 05 Jun 2018 04:54:48 -0400 Received: from localhost by e06smtp01.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 5 Jun 2018 09:54:47 +0100 Received: from b06cxnps4075.portsmouth.uk.ibm.com (9.149.109.197) by e06smtp01.uk.ibm.com (192.168.101.131) 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 09:54:43 +0100 Received: from d06av24.portsmouth.uk.ibm.com (d06av24.portsmouth.uk.ibm.com [9.149.105.60]) by b06cxnps4075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w558sgcK18088090 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 5 Jun 2018 08:54:42 GMT Received: from d06av24.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 9281642049; Tue, 5 Jun 2018 09:45:05 +0100 (BST) Received: from d06av24.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id A4F5242041; Tue, 5 Jun 2018 09:45:03 +0100 (BST) Received: from oc0383214508.ibm.com (unknown [9.124.35.232]) by d06av24.portsmouth.uk.ibm.com (Postfix) with ESMTP; Tue, 5 Jun 2018 09:45:03 +0100 (BST) Subject: Re: [PATCH v2] cpuidle/powernv : Add Description for cpuidle state To: Akshay Adiga , Benjamin Herrenschmidt Cc: rjw@rjwysocki.net, daniel.lezcano@linaro.org, paulus@samba.org, mpe@ellerman.id.au, linux-pm@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, stewart@linux.vnet.ibm.com References: <20180604081758.104201-1-huntbag@linux.vnet.ibm.com> <0a28154deb468669a59c120a90d4aedc1e1e705b.camel@kernel.crashing.org> <20180604114500.3rlpuso5aftesnf5@aksadiga.ibm> From: Abhishek Date: Tue, 5 Jun 2018 14:24:39 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <20180604114500.3rlpuso5aftesnf5@aksadiga.ibm> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-TM-AS-GCONF: 00 x-cbid: 18060508-4275-0000-0000-0000028A478E X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18060508-4276-0000-0000-000037914A6F Message-Id: <17cd53ec-6bc1-5814-8824-3c6a4f0b90cd@linux.vnet.ibm.com> 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-1806050108 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. 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. >>