Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp150341ybz; Tue, 21 Apr 2020 06:32:01 -0700 (PDT) X-Google-Smtp-Source: APiQypJnO69M5F9IB0I7JCYirp/83kES6s0cDUaAeHi90fHxQVtM2EfRDX+bS0EbfK/oICjPoXsh X-Received: by 2002:aa7:d413:: with SMTP id z19mr11646583edq.80.1587475920987; Tue, 21 Apr 2020 06:32:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587475920; cv=none; d=google.com; s=arc-20160816; b=rIiFDZsOCDdPkurpwqLG8owyzAa2Bfg6lwZQjq7Qe9gCOdv3mWC8uMvlOPQBTBxLo+ ZZqdVbR8CdX7Y/iTecOMQo8b4PRexHJ+RT1f3k1dJUjc1EqRguRDpZ3Du71mNaRjgSrX 3wUvU2xzGkw6fSyd626mkjzzaBDilxOAPyvIwVM6RjO7z50WzJcSQnSB2R8lH2Ao9+bL YaEzVEQEcjYjxgy6XYv7O2K8fqdBzK8GFtaOdHn5bd74rY+p41v+a8pmpvbD3nWzUIUs Xk+FE2Q39a31cs6lSep+tSN80uZgK4HYnK5K+npw4SGCBaBzkaajbxJSchaoKatte3Iy Xbbw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from; bh=fEef1DDp36Ke6H0HzF1QkHqzzBGtRFbRxu6S3lEUpCE=; b=Ar0UBv5ILh8vQUkUdkacBuPLx7+PKL+vCkqJ0NFdkm37cFnHx3EKWPfqrJM6bVVRVm Fn22yH40d6WjFkYf4Vk2x9g3UolkeHvj2DXVNQWFVai/nB7SgfTfu1msiz+JffnDcsIF GACwWp2l0mm3eO6nCmTVgVovK1zbgyXAL8tdPGouuBt9nqEBH8bgKPBmN1wGd7jqOiiD UId43KIifgcf26DXefbVjUavttFYREBxxedp08VeSpfO64JUnK1yCMFotybNHsZuykNe UggpBcmHle2xCtc8dWBEh5wRhXi6rPSLF83fXCUBfLe82iqnhGyvjJRMfUpoCWemWKsb 4H2Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id v11si1597756edy.483.2020.04.21.06.31.37; Tue, 21 Apr 2020 06:32:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1728802AbgDUNa0 (ORCPT + 99 others); Tue, 21 Apr 2020 09:30:26 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:30394 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726018AbgDUNaZ (ORCPT ); Tue, 21 Apr 2020 09:30:25 -0400 Received: from pps.filterd (m0098413.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 03LD9Clb132674; Tue, 21 Apr 2020 09:30:14 -0400 Received: from ppma02dal.us.ibm.com (a.bd.3ea9.ip4.static.sl-reverse.com [169.62.189.10]) by mx0b-001b2d01.pphosted.com with ESMTP id 30ghu6wr5r-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 21 Apr 2020 09:30:13 -0400 Received: from pps.filterd (ppma02dal.us.ibm.com [127.0.0.1]) by ppma02dal.us.ibm.com (8.16.0.27/8.16.0.27) with SMTP id 03LDUCvF028782; Tue, 21 Apr 2020 13:30:13 GMT Received: from b01cxnp22033.gho.pok.ibm.com (b01cxnp22033.gho.pok.ibm.com [9.57.198.23]) by ppma02dal.us.ibm.com with ESMTP id 30fs66qu59-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 21 Apr 2020 13:30:13 +0000 Received: from b01ledav003.gho.pok.ibm.com (b01ledav003.gho.pok.ibm.com [9.57.199.108]) by b01cxnp22033.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 03LDUC9o32571744 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 21 Apr 2020 13:30:12 GMT Received: from b01ledav003.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 69B0CB205F; Tue, 21 Apr 2020 13:30:12 +0000 (GMT) Received: from b01ledav003.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 42538B2064; Tue, 21 Apr 2020 13:30:12 +0000 (GMT) Received: from localhost (unknown [9.85.163.64]) by b01ledav003.gho.pok.ibm.com (Postfix) with ESMTP; Tue, 21 Apr 2020 13:30:12 +0000 (GMT) From: Nathan Lynch To: "Gautham R. Shenoy" Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, "Gautham R. Shenoy" , Michael Ellerman , Vaidyanathan Srinivasan , Kamalesh Babulal , "Naveen N. Rao" , Tyrel Datwyler Subject: Re: [PATCH v5 0/5] Track and expose idle PURR and SPURR ticks In-Reply-To: <1586249263-14048-1-git-send-email-ego@linux.vnet.ibm.com> References: <1586249263-14048-1-git-send-email-ego@linux.vnet.ibm.com> Date: Tue, 21 Apr 2020 08:30:11 -0500 Message-ID: <877dy92cgs.fsf@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain X-TM-AS-GCONF: 00 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138,18.0.676 definitions=2020-04-21_05:2020-04-20,2020-04-21 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=999 suspectscore=0 bulkscore=0 spamscore=0 phishscore=0 adultscore=0 clxscore=1015 malwarescore=0 priorityscore=1501 lowpriorityscore=0 mlxscore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2004210100 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org "Gautham R. Shenoy" writes: > This is the fifth version of the patches to track and expose idle PURR > and SPURR ticks. These patches are required by tools such as lparstat > to compute system utilization for capacity planning purposes. > > The previous versions can be found here: > v4: https://lkml.org/lkml/2020/3/27/323 > v3: https://lkml.org/lkml/2020/3/11/331 > v2: https://lkml.org/lkml/2020/2/21/21 > v1: https://lore.kernel.org/patchwork/cover/1159341/ > > They changes from v4 are: > > - As suggested by Naveen, moved the functions read_this_idle_purr() > and read_this_idle_spurr() from Patch 2 and Patch 3 respectively > to Patch 4 where it is invoked. > > - Dropped Patch 6 which cached the values of purr, spurr, > idle_purr, idle_spurr in order to minimize the number of IPIs > sent. > > - Updated the dates for the idle_purr, idle_spurr in the > Documentation Patch 5. LGTM Acked-by: Nathan Lynch Thanks.