Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1336157ybl; Tue, 3 Dec 2019 05:41:12 -0800 (PST) X-Google-Smtp-Source: APXvYqx5uSfWmdo7XHz0uFhjxNfU8e6ekNx0+AxBf8Cjkmc+mGsgHfwAtQ49yQ2ZLx/fj9TOxWw1 X-Received: by 2002:a05:6808:681:: with SMTP id k1mr3642200oig.117.1575380471946; Tue, 03 Dec 2019 05:41:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575380471; cv=none; d=google.com; s=arc-20160816; b=1B+LzpfSfpUfXa98KVqnZyjkiCF9KDVh5T80hgQBbr/ptXdQ2CDihfzuwZ3lkgGURQ jr27NXKD4Xv6MFHdY0w3SISAzHMC5xFRlz6c+vv5J2VoPmNxnoeAj8xsXYx8hfbO+Y/W 3I6qCPD19JNOU8ZRRVm3B/iMDaUpqEvHhMv5+iUO9Ipzz+KEUmRgNeqTJCM4tbXQQwcN 1chR+bAZiPaqdPY3ExU+zdzMN97p+TO53Gj1j5yuEs6gVq27YP/NNBqV+nKBMYPre+/H a0+KlMUsRKdEe/lPLYhxyN5dCi3kQ2vIePEU3vDKHTl00bUNSFU/JnL4nb4y7ffsv/Fv 6UjQ== 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-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date:from :references:cc:to:subject; bh=d7L7IFYf9wu/LSJcsXjVzcC7JHx6L2k5gNSJFVtQQ4U=; b=FS9GXMVA2tQQiPOBO7VcCBSGBJE/GteJ4igiFA6r5ORckxQkAEP/Gih6Y8A1IsCuMc 1vsDnc2KU/UxThLjmTY5Oo3aQ6X4ZIuItVPMjZElZkh3qSGrdrqG395uvSN8vmwrjw/e fLCHT5+pq9cU6zPuBVcyn90JJ+75UtYFdIzEIXSDK9/uZ8Bxs5cZIURq+GPw/I6JSGXe y02Il1yTtJ07vhVWJ+MkITU8uIhLm3P4UxvuwNascsd4pWfap0EeUjcY/yb7OnF1z0Ww ur1MXWhJuJnOY/clFssu7eAjHnz2PoGn+99JEEI/wofDW4C83tAcXGNcIKdL9poL9+gA 58Tg== 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 o4si1236720oif.58.2019.12.03.05.41.00; Tue, 03 Dec 2019 05:41:11 -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; 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 S1726363AbfLCNkC (ORCPT + 99 others); Tue, 3 Dec 2019 08:40:02 -0500 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:52968 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726189AbfLCNkB (ORCPT ); Tue, 3 Dec 2019 08:40:01 -0500 Received: from pps.filterd (m0098421.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id xB3DbvPV051585 for ; Tue, 3 Dec 2019 08:39:59 -0500 Received: from e06smtp02.uk.ibm.com (e06smtp02.uk.ibm.com [195.75.94.98]) by mx0a-001b2d01.pphosted.com with ESMTP id 2wm6xbnwd4-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 03 Dec 2019 08:39:58 -0500 Received: from localhost by e06smtp02.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 3 Dec 2019 13:39:57 -0000 Received: from b06cxnps4074.portsmouth.uk.ibm.com (9.149.109.196) by e06smtp02.uk.ibm.com (192.168.101.132) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Tue, 3 Dec 2019 13:39:54 -0000 Received: from b06wcsmtp001.portsmouth.uk.ibm.com (b06wcsmtp001.portsmouth.uk.ibm.com [9.149.105.160]) by b06cxnps4074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id xB3DdqR152756702 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 3 Dec 2019 13:39:52 GMT Received: from b06wcsmtp001.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 9C8ABA4066; Tue, 3 Dec 2019 13:39:52 +0000 (GMT) Received: from b06wcsmtp001.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id B3CA6A4064; Tue, 3 Dec 2019 13:39:50 +0000 (GMT) Received: from JAVRIS.in.ibm.com (unknown [9.85.70.93]) by b06wcsmtp001.portsmouth.uk.ibm.com (Postfix) with ESMTPS; Tue, 3 Dec 2019 13:39:50 +0000 (GMT) Subject: Re: [PATCH 1/3] powerpc/pseries: Account for SPURR ticks on idle CPUs To: "Gautham R. Shenoy" , Michael Ellerman , Vaidyanathan Srinivasan , Nathan Lynch , "Naveen N. Rao" , Tyrel Datwyler Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org References: <1574856072-30972-1-git-send-email-ego@linux.vnet.ibm.com> <1574856072-30972-2-git-send-email-ego@linux.vnet.ibm.com> From: Kamalesh Babulal Date: Tue, 3 Dec 2019 19:09:48 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.1.1 MIME-Version: 1.0 In-Reply-To: <1574856072-30972-2-git-send-email-ego@linux.vnet.ibm.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 x-cbid: 19120313-0008-0000-0000-0000033C5BAE X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 19120313-0009-0000-0000-00004A5B7680 Message-Id: <6ec054a4-e87b-6d3f-c23f-bbb6b219c77a@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.95,18.0.572 definitions=2019-12-03_03:2019-12-02,2019-12-03 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 malwarescore=0 suspectscore=0 lowpriorityscore=0 phishscore=0 priorityscore=1501 impostorscore=0 clxscore=1015 adultscore=0 mlxlogscore=999 mlxscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-1910280000 definitions=main-1912030107 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/27/19 5:31 PM, Gautham R. Shenoy wrote: > From: "Gautham R. Shenoy" > > On PSeries LPARs, to compute the utilization, tools such as lparstat > need to know the [S]PURR ticks when the CPUs were busy or idle. > > In the pseries cpuidle driver, we keep track of the idle PURR ticks in > the VPA variable "wait_state_cycles". This patch extends the support > to account for the idle SPURR ticks. Thanks for working on it. > > Signed-off-by: Gautham R. Shenoy Reviewed-by: Kamalesh Babulal