Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2474116pxj; Sun, 13 Jun 2021 22:28:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwAyiAB3i6szxN7U6XToy669M+9I488jYMq6o6fL/ivQiguboMQws6t/HsQl5ai3PVdpRgj X-Received: by 2002:a50:8dc6:: with SMTP id s6mr15394299edh.50.1623648504083; Sun, 13 Jun 2021 22:28:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623648504; cv=none; d=google.com; s=arc-20160816; b=BcCimQd6aPcgDUcpyudKSXpHJgEXo4oMnZ9Ga0DiCCj2k1dBhpWVMl6xkqDX3tADU+ xi3LtCvc3VWYRikqhfwdd5Rz3DfdrwKaMUcF+OnoBM/0wsaR7OoZPJOOqk4/MOm3TEFz v3DRumQHeckpUlSqk1FgamdFoGxBufXnKCBhmb4foGpmMQ5ffJ1YwcAjiqWGB8SJ2I99 SBwX/HLki4xMCPR3id9TXnbBe5JAjSAiqN3vQtQdDFpwMedha30K8o8e2AYrclsMeI0D Puxv8wyeHYXf8J2o7XV/+ja3Ng5pAbi6Tq9Nq1zbrcnnMpyEBgP6SmUavyapFGaxNELW eg3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=gXb92jLZltP0TlGgpp4tnPgvWeahwiv76pBDu+u4I1U=; b=EKM4D2ZScs2+9yfLaUgSOxIQgoYQENDwzB6MUqdge1rAzQWbUTFNCnTZgX20550ftD Dx2tbCQSyavVfwoWvH/KTzvgsg2mg/O94aFQFikHfKF0DvsOjhGmdXmCTEC6AUg9lWTR xO+noSAN/vvbEW9zOabw9rqE+OwztaKmAtNuCsnSCgPy5dXvcajzoTi1MvCBGGgi+Zhv F/w2BmjEwk1dNXQQ5dr0K4uGj3Tm7AAnHa+l7rnu/CZrCHsDFKaLGa7gBkxxdxAMQBlY 7u9DF3F3wK3kDYSKFtdO7eB06Lh+xqws+I7oAbT8RytCKrtVL2Q9NT/PzIRKPg+jA4kD 8Ekw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=qzGazO2k; 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=pass (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 zo19si10720876ejb.452.2021.06.13.22.28.01; Sun, 13 Jun 2021 22:28:24 -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; dkim=pass header.i=@ibm.com header.s=pp1 header.b=qzGazO2k; 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=pass (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232251AbhFNF03 (ORCPT + 99 others); Mon, 14 Jun 2021 01:26:29 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:16474 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232057AbhFNF0W (ORCPT ); Mon, 14 Jun 2021 01:26:22 -0400 Received: from pps.filterd (m0098394.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 15E53iSi095506; Mon, 14 Jun 2021 01:23:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding; s=pp1; bh=gXb92jLZltP0TlGgpp4tnPgvWeahwiv76pBDu+u4I1U=; b=qzGazO2kJOJCe6de0TuORyD9Dcjv7HccmB7wzLKSmyoeOh+vfmftP110+x7T2QxHKRMX RxDtVPj3D5Bm2IcTfOhTS+1cs8Wu6W1KgDUwtM3v77QrEGMDafmhMwu39jWtKAms3pYK 14UMVrkDFh7/lpZ9SBRGDmqjgaQkJt9pqe2yKaIvZjNeHt2+R/lVw4WEjHM5n7t+CUud owvdVfYOZIkQ+JbdtOjWziF8MsBsmqpTe6JOeQuqEw86qcsiBYm5T8TmBRm0TjBHe46S bvfMMCg7ecsxoTyoUl3tfVvWpb1VrhXcS/TsG/J+Huyr5e+W5tiMiCB8AivNHcon8tRc 7A== Received: from ppma03fra.de.ibm.com (6b.4a.5195.ip4.static.sl-reverse.com [149.81.74.107]) by mx0a-001b2d01.pphosted.com with ESMTP id 3960dyrk3g-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 14 Jun 2021 01:23:55 -0400 Received: from pps.filterd (ppma03fra.de.ibm.com [127.0.0.1]) by ppma03fra.de.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 15E5Gn5E027355; Mon, 14 Jun 2021 05:23:52 GMT Received: from b06cxnps3074.portsmouth.uk.ibm.com (d06relay09.portsmouth.uk.ibm.com [9.149.109.194]) by ppma03fra.de.ibm.com with ESMTP id 394mj90ct2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 14 Jun 2021 05:23:52 +0000 Received: from d06av21.portsmouth.uk.ibm.com (d06av21.portsmouth.uk.ibm.com [9.149.105.232]) by b06cxnps3074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 15E5Nni113959548 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 14 Jun 2021 05:23:49 GMT Received: from d06av21.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 9CE7752052; Mon, 14 Jun 2021 05:23:49 +0000 (GMT) Received: from localhost.localdomain.com (unknown [9.199.33.211]) by d06av21.portsmouth.uk.ibm.com (Postfix) with ESMTP id 47D2D5204E; Mon, 14 Jun 2021 05:23:46 +0000 (GMT) From: Kajol Jain To: mpe@ellerman.id.au, linuxppc-dev@lists.ozlabs.org, nvdimm@lists.linux.dev, linux-kernel@vger.kernel.org, peterz@infradead.org Cc: maddy@linux.vnet.ibm.com, santosh@fossix.org, aneesh.kumar@linux.ibm.com, vaibhav@linux.ibm.com, dan.j.williams@intel.com, ira.weiny@intel.com, atrajeev@linux.vnet.ibm.com, tglx@linutronix.de, kjain@linux.ibm.com, rnsastry@linux.ibm.com Subject: [PATCH v2 4/4] powerpc/papr_scm: Document papr_scm sysfs event format entries Date: Mon, 14 Jun 2021 10:53:26 +0530 Message-Id: <20210614052326.285710-5-kjain@linux.ibm.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210614052326.285710-1-kjain@linux.ibm.com> References: <20210614052326.285710-1-kjain@linux.ibm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 X-Proofpoint-GUID: 7FwRtp6goBst1m_1bOMdxu71PcUoKtSf X-Proofpoint-ORIG-GUID: 7FwRtp6goBst1m_1bOMdxu71PcUoKtSf X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391,18.0.761 definitions=2021-06-13_11:2021-06-11,2021-06-13 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 mlxlogscore=999 suspectscore=0 malwarescore=0 adultscore=0 mlxscore=0 spamscore=0 clxscore=1015 impostorscore=0 priorityscore=1501 bulkscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2104190000 definitions=main-2106140037 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Details is added for the event, cpumask and format attributes in the ABI documentation. Signed-off-by: Kajol Jain --- Documentation/ABI/testing/sysfs-bus-papr-pmem | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/Documentation/ABI/testing/sysfs-bus-papr-pmem b/Documentation/ABI/testing/sysfs-bus-papr-pmem index 92e2db0e2d3d..be91de341454 100644 --- a/Documentation/ABI/testing/sysfs-bus-papr-pmem +++ b/Documentation/ABI/testing/sysfs-bus-papr-pmem @@ -59,3 +59,34 @@ Description: * "CchRHCnt" : Cache Read Hit Count * "CchWHCnt" : Cache Write Hit Count * "FastWCnt" : Fast Write Count + +What: /sys/devices/nmemX/format +Date: June 2021 +Contact: linuxppc-dev , linux-nvdimm@lists.01.org, +Description: (RO) Attribute group to describe the magic bits + that go into perf_event_attr.config for a particular pmu. + (See ABI/testing/sysfs-bus-event_source-devices-format). + + Each attribute under this group defines a bit range of the + perf_event_attr.config. Supported attribute is listed + below:: + + event = "config:0-4" - event ID + + For example:: + noopstat = "event=0x1" + +What: /sys/devices/nmemX/events +Date: June 2021 +Contact: linuxppc-dev , linux-nvdimm@lists.01.org, +Description: (RO) Attribute group to describe performance monitoring + events specific to papr-scm. Each attribute in this group describes + a single performance monitoring event supported by this nvdimm pmu. + The name of the file is the name of the event. + (See ABI/testing/sysfs-bus-event_source-devices-events). + +What: /sys/devices/nmemX/cpumask +Date: June 2021 +Contact: linuxppc-dev , linux-nvdimm@lists.01.org, +Description: (RO) This sysfs file exposes the cpumask which is designated to make + HCALLs to retrieve nvdimm pmu event counter data. -- 2.27.0