1ed8c39d4SMauro Carvalho ChehabWhat:          nvdimm
2ed8c39d4SMauro Carvalho ChehabDate:          July 2020
3ed8c39d4SMauro Carvalho ChehabKernelVersion: 5.8
4ed8c39d4SMauro Carvalho ChehabContact:       Dan Williams <dan.j.williams@intel.com>
5ed8c39d4SMauro Carvalho ChehabDescription:
6ed8c39d4SMauro Carvalho Chehab
748001ea5SDan WilliamsThe libnvdimm sub-system implements a common sysfs interface for
848001ea5SDan Williamsplatform nvdimm resources. See Documentation/driver-api/nvdimm/.
9*2bec6d9aSKajol Jain
10*2bec6d9aSKajol JainWhat:           /sys/bus/event_source/devices/nmemX/format
11*2bec6d9aSKajol JainDate:           February 2022
12*2bec6d9aSKajol JainKernelVersion:  5.18
13*2bec6d9aSKajol JainContact:        Kajol Jain <kjain@linux.ibm.com>
14*2bec6d9aSKajol JainDescription:	(RO) Attribute group to describe the magic bits
15*2bec6d9aSKajol Jain		that go into perf_event_attr.config for a particular pmu.
16*2bec6d9aSKajol Jain		(See ABI/testing/sysfs-bus-event_source-devices-format).
17*2bec6d9aSKajol Jain
18*2bec6d9aSKajol Jain		Each attribute under this group defines a bit range of the
19*2bec6d9aSKajol Jain		perf_event_attr.config. Supported attribute is listed
20*2bec6d9aSKajol Jain		below::
21*2bec6d9aSKajol Jain		  event  = "config:0-4"  - event ID
22*2bec6d9aSKajol Jain
23*2bec6d9aSKajol Jain		For example::
24*2bec6d9aSKajol Jain			ctl_res_cnt = "event=0x1"
25*2bec6d9aSKajol Jain
26*2bec6d9aSKajol JainWhat:           /sys/bus/event_source/devices/nmemX/events
27*2bec6d9aSKajol JainDate:           February 2022
28*2bec6d9aSKajol JainKernelVersion:  5.18
29*2bec6d9aSKajol JainContact:        Kajol Jain <kjain@linux.ibm.com>
30*2bec6d9aSKajol JainDescription:	(RO) Attribute group to describe performance monitoring events
31*2bec6d9aSKajol Jain                for the nvdimm memory device. Each attribute in this group
32*2bec6d9aSKajol Jain                describes a single performance monitoring event supported by
33*2bec6d9aSKajol Jain                this nvdimm pmu.  The name of the file is the name of the event.
34*2bec6d9aSKajol Jain                (See ABI/testing/sysfs-bus-event_source-devices-events). A
35*2bec6d9aSKajol Jain                listing of the events supported by a given nvdimm provider type
36*2bec6d9aSKajol Jain                can be found in Documentation/driver-api/nvdimm/$provider.
37*2bec6d9aSKajol Jain
38*2bec6d9aSKajol JainWhat:          /sys/bus/event_source/devices/nmemX/cpumask
39*2bec6d9aSKajol JainDate:          February 2022
40*2bec6d9aSKajol JainKernelVersion:  5.18
41*2bec6d9aSKajol JainContact:        Kajol Jain <kjain@linux.ibm.com>
42*2bec6d9aSKajol JainDescription:	(RO) This sysfs file exposes the cpumask which is designated to
43*2bec6d9aSKajol Jain		to retrieve nvdimm pmu event counter data.
44