Merge tag 'xfs-6.5-merge-6' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux
[linux-block.git] / Documentation / ABI / testing / sysfs-bus-nvdimm
CommitLineData
ed8c39d4
MCC
1What: nvdimm
2Date: July 2020
3KernelVersion: 5.8
4Contact: Dan Williams <dan.j.williams@intel.com>
5Description:
6
48001ea5
DW
7The libnvdimm sub-system implements a common sysfs interface for
8platform nvdimm resources. See Documentation/driver-api/nvdimm/.
2bec6d9a
KJ
9
10What: /sys/bus/event_source/devices/nmemX/format
11Date: February 2022
12KernelVersion: 5.18
13Contact: Kajol Jain <kjain@linux.ibm.com>
14Description: (RO) Attribute group to describe the magic bits
15 that go into perf_event_attr.config for a particular pmu.
16 (See ABI/testing/sysfs-bus-event_source-devices-format).
17
18 Each attribute under this group defines a bit range of the
19 perf_event_attr.config. Supported attribute is listed
20 below::
21 event = "config:0-4" - event ID
22
23 For example::
24 ctl_res_cnt = "event=0x1"
25
26What: /sys/bus/event_source/devices/nmemX/events
27Date: February 2022
28KernelVersion: 5.18
29Contact: Kajol Jain <kjain@linux.ibm.com>
30Description: (RO) Attribute group to describe performance monitoring events
31 for the nvdimm memory device. Each attribute in this group
32 describes a single performance monitoring event supported by
33 this nvdimm pmu. The name of the file is the name of the event.
34 (See ABI/testing/sysfs-bus-event_source-devices-events). A
35 listing of the events supported by a given nvdimm provider type
36 can be found in Documentation/driver-api/nvdimm/$provider.
37
38What: /sys/bus/event_source/devices/nmemX/cpumask
39Date: February 2022
40KernelVersion: 5.18
41Contact: Kajol Jain <kjain@linux.ibm.com>
42Description: (RO) This sysfs file exposes the cpumask which is designated to
43 to retrieve nvdimm pmu event counter data.
bd429e53
DJ
44
45What: /sys/bus/nd/devices/nmemX/cxl/id
46Date: November 2022
47KernelVersion: 6.2
48Contact: Dave Jiang <dave.jiang@intel.com>
49Description: (RO) Show the id (serial) of the device. This is CXL specific.
452996fa
DJ
50
51What: /sys/bus/nd/devices/nmemX/cxl/provider
52Date: November 2022
53KernelVersion: 6.2
54Contact: Dave Jiang <dave.jiang@intel.com>
55Description: (RO) Shows the CXL bridge device that ties to a CXL memory device
56 to this NVDIMM device. I.e. the parent of the device returned is
57 a /sys/bus/cxl/devices/memX instance.