Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp2102544ybv; Fri, 21 Feb 2020 08:56:45 -0800 (PST) X-Google-Smtp-Source: APXvYqy4CKRsQZ0o8g3D8d2W4Nlze0cR+YWD38MgeiH60qfco0yl+AUtXBqTBW/ZgGPayIryGJzl X-Received: by 2002:aca:1204:: with SMTP id 4mr2809380ois.143.1582304204982; Fri, 21 Feb 2020 08:56:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582304204; cv=none; d=google.com; s=arc-20160816; b=wN/K8bhvOrvfSNH8+FekzHRvsCEd4qzX9dXilQRz8b5QYYwM58eS/Y94f9PrmymAkV qPtYnKGhAYNTLD4E6+U81f/UaRv9ok53PnPxWUWKZgF8K44EeQV3Z5yBOBd+k1YuiTD1 gXoJA4T5e8PpODhWcmwoxcDBtnOvUYua4xpeMICafmLoUWScnEsXJS3EzemPUOxdFCO/ bohmq4vJEaLyyzDopHZI54i123BoP2Ob64dPeBiC96e6HdFBeEi7At4SeRua6py0/PFR +bUeYRCxJauPdYXMW0aSk9wMiW4MeWonoD9AJrsovtS9iPZ+NN7U1b42eWB8JE0K8WiS Y0pg== 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=yQUkEcCQQo5c5kUbL/yGJwdI2vtASHONS6WOo6JIZIs=; b=nd6s9lvo3CwCMjlWLZ4pkfSOLFAESaYmDr4tvAF6q1ENuShhbzd3HQ4ZW3zo+cyjtl 9rggGlfrDjcswbUDkiu0A8fYyc3g5sj3ewjxiUWlP+z/lbg/a5RZ4aroJvGfNgkEJjrf Ma4SAAF3SC+yFYFFLqNFzKqjkeUQnPSI+UYWYEpX2JV3RHuIPqJ1vA2jeIC/KEkNjAzY MybzZdKRi9xod7q9mm2Tl9Eg6gxjYM32ySq2LI5e5PA/igHAvgt5uxUdVQ5xijTf3qXA cfqWJMWmXxmG3kajtTHjbgkrsdsVHYH49RPoOoKXzd7xIXbxrFKj1456bGRoPvzhwGr5 oEHA== 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 l198si1036953oig.120.2020.02.21.08.56.33; Fri, 21 Feb 2020 08:56:44 -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 S1726758AbgBUQzQ (ORCPT + 99 others); Fri, 21 Feb 2020 11:55:16 -0500 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:4676 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726132AbgBUQzP (ORCPT ); Fri, 21 Feb 2020 11:55:15 -0500 Received: from pps.filterd (m0098409.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 01LGoEHi117932; Fri, 21 Feb 2020 11:55:09 -0500 Received: from ppma01wdc.us.ibm.com (fd.55.37a9.ip4.static.sl-reverse.com [169.55.85.253]) by mx0a-001b2d01.pphosted.com with ESMTP id 2yafh90r5x-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 21 Feb 2020 11:55:09 -0500 Received: from pps.filterd (ppma01wdc.us.ibm.com [127.0.0.1]) by ppma01wdc.us.ibm.com (8.16.0.27/8.16.0.27) with SMTP id 01LGoWxu007908; Fri, 21 Feb 2020 16:55:08 GMT Received: from b01cxnp22034.gho.pok.ibm.com (b01cxnp22034.gho.pok.ibm.com [9.57.198.24]) by ppma01wdc.us.ibm.com with ESMTP id 2y68976f5x-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 21 Feb 2020 16:55:08 +0000 Received: from b01ledav002.gho.pok.ibm.com (b01ledav002.gho.pok.ibm.com [9.57.199.107]) by b01cxnp22034.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 01LGt8n249021336 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 21 Feb 2020 16:55:08 GMT Received: from b01ledav002.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 011C6124052; Fri, 21 Feb 2020 16:55:08 +0000 (GMT) Received: from b01ledav002.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id D051A124053; Fri, 21 Feb 2020 16:55:07 +0000 (GMT) Received: from localhost (unknown [9.41.179.160]) by b01ledav002.gho.pok.ibm.com (Postfix) with ESMTP; Fri, 21 Feb 2020 16:55:07 +0000 (GMT) From: Nathan Lynch To: "Gautham R. Shenoy" Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, Michael Ellerman , Vaidyanathan Srinivasan , Kamalesh Babulal , "Naveen N. Rao" , Tyrel Datwyler Subject: Re: [PATCH v2 5/5] Documentation: Document sysfs interfaces purr, spurr, idle_purr, idle_spurr In-Reply-To: <1582262314-8319-6-git-send-email-ego@linux.vnet.ibm.com> References: <1582262314-8319-1-git-send-email-ego@linux.vnet.ibm.com> <1582262314-8319-6-git-send-email-ego@linux.vnet.ibm.com> Date: Fri, 21 Feb 2020 10:55:07 -0600 Message-ID: <87blprubh0.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.572 definitions=2020-02-21_05:2020-02-21,2020-02-21 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=999 suspectscore=1 lowpriorityscore=0 malwarescore=0 impostorscore=0 priorityscore=1501 phishscore=0 spamscore=0 adultscore=0 mlxscore=0 clxscore=1015 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2001150001 definitions=main-2002210127 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org "Gautham R. Shenoy" writes: > diff --git a/Documentation/ABI/testing/sysfs-devices-system-cpu b/Documentation/ABI/testing/sysfs-devices-system-cpu > index 2e0e3b4..799dc737a 100644 > --- a/Documentation/ABI/testing/sysfs-devices-system-cpu > +++ b/Documentation/ABI/testing/sysfs-devices-system-cpu > @@ -580,3 +580,42 @@ Description: Secure Virtual Machine > If 1, it means the system is using the Protected Execution > Facility in POWER9 and newer processors. i.e., it is a Secure > Virtual Machine. > + > +What: /sys/devices/system/cpu/cpuX/purr > +Date: Apr 2005 > +Contact: Linux for PowerPC mailing list > +Description: PURR ticks for this CPU since the system boot. > + > + The Processor Utilization Resources Register (PURR) is > + a 64-bit counter which provides an estimate of the > + resources used by the CPU thread. The contents of this > + register increases monotonically. This sysfs interface > + exposes the number of PURR ticks for cpuX. > + > +What: /sys/devices/system/cpu/cpuX/spurr > +Date: Dec 2006 > +Contact: Linux for PowerPC mailing list > +Description: SPURR ticks for this CPU since the system boot. > + > + The Scaled Processor Utilization Resources Register > + (SPURR) is a 64-bit counter that provides a frequency > + invariant estimate of the resources used by the CPU > + thread. The contents of this register increases > + monotonically. This sysfs interface exposes the number > + of SPURR ticks for cpuX. > + > +What: /sys/devices/system/cpu/cpuX/idle_purr > +Date: Nov 2019 > +Contact: Linux for PowerPC mailing list > +Description: PURR ticks for cpuX when it was idle. > + > + This sysfs interface exposes the number of PURR ticks > + for cpuX when it was idle. > + > +What: /sys/devices/system/cpu/cpuX/spurr Copy-paste error? This should be: /sys/devices/system/cpu/cpuX/idle_spurr > +Date: Nov 2019 And I suppose Nov 2019 is no longer accurate. > +Contact: Linux for PowerPC mailing list > +Description: SPURR ticks for cpuX when it was idle. > + > + This sysfs interface exposes the number of SPURR ticks > + for cpuX when it was idle. > -- > 1.9.4