162306a36Sopenharmony_ciWhat: nvdimm 262306a36Sopenharmony_ciDate: July 2020 362306a36Sopenharmony_ciKernelVersion: 5.8 462306a36Sopenharmony_ciContact: Dan Williams <dan.j.williams@intel.com> 562306a36Sopenharmony_ciDescription: 662306a36Sopenharmony_ci 762306a36Sopenharmony_ciThe libnvdimm sub-system implements a common sysfs interface for 862306a36Sopenharmony_ciplatform nvdimm resources. See Documentation/driver-api/nvdimm/. 962306a36Sopenharmony_ci 1062306a36Sopenharmony_ciWhat: /sys/bus/event_source/devices/nmemX/format 1162306a36Sopenharmony_ciDate: February 2022 1262306a36Sopenharmony_ciKernelVersion: 5.18 1362306a36Sopenharmony_ciContact: Kajol Jain <kjain@linux.ibm.com> 1462306a36Sopenharmony_ciDescription: (RO) Attribute group to describe the magic bits 1562306a36Sopenharmony_ci that go into perf_event_attr.config for a particular pmu. 1662306a36Sopenharmony_ci (See ABI/testing/sysfs-bus-event_source-devices-format). 1762306a36Sopenharmony_ci 1862306a36Sopenharmony_ci Each attribute under this group defines a bit range of the 1962306a36Sopenharmony_ci perf_event_attr.config. Supported attribute is listed 2062306a36Sopenharmony_ci below:: 2162306a36Sopenharmony_ci 2262306a36Sopenharmony_ci event = "config:0-4" - event ID 2362306a36Sopenharmony_ci 2462306a36Sopenharmony_ci For example:: 2562306a36Sopenharmony_ci 2662306a36Sopenharmony_ci ctl_res_cnt = "event=0x1" 2762306a36Sopenharmony_ci 2862306a36Sopenharmony_ciWhat: /sys/bus/event_source/devices/nmemX/events 2962306a36Sopenharmony_ciDate: February 2022 3062306a36Sopenharmony_ciKernelVersion: 5.18 3162306a36Sopenharmony_ciContact: Kajol Jain <kjain@linux.ibm.com> 3262306a36Sopenharmony_ciDescription: (RO) Attribute group to describe performance monitoring events 3362306a36Sopenharmony_ci for the nvdimm memory device. Each attribute in this group 3462306a36Sopenharmony_ci describes a single performance monitoring event supported by 3562306a36Sopenharmony_ci this nvdimm pmu. The name of the file is the name of the event. 3662306a36Sopenharmony_ci (See ABI/testing/sysfs-bus-event_source-devices-events). A 3762306a36Sopenharmony_ci listing of the events supported by a given nvdimm provider type 3862306a36Sopenharmony_ci can be found in Documentation/driver-api/nvdimm/$provider. 3962306a36Sopenharmony_ci 4062306a36Sopenharmony_ciWhat: /sys/bus/event_source/devices/nmemX/cpumask 4162306a36Sopenharmony_ciDate: February 2022 4262306a36Sopenharmony_ciKernelVersion: 5.18 4362306a36Sopenharmony_ciContact: Kajol Jain <kjain@linux.ibm.com> 4462306a36Sopenharmony_ciDescription: (RO) This sysfs file exposes the cpumask which is designated to 4562306a36Sopenharmony_ci to retrieve nvdimm pmu event counter data. 4662306a36Sopenharmony_ci 4762306a36Sopenharmony_ciWhat: /sys/bus/nd/devices/nmemX/cxl/id 4862306a36Sopenharmony_ciDate: November 2022 4962306a36Sopenharmony_ciKernelVersion: 6.2 5062306a36Sopenharmony_ciContact: Dave Jiang <dave.jiang@intel.com> 5162306a36Sopenharmony_ciDescription: (RO) Show the id (serial) of the device. This is CXL specific. 5262306a36Sopenharmony_ci 5362306a36Sopenharmony_ciWhat: /sys/bus/nd/devices/nmemX/cxl/provider 5462306a36Sopenharmony_ciDate: November 2022 5562306a36Sopenharmony_ciKernelVersion: 6.2 5662306a36Sopenharmony_ciContact: Dave Jiang <dave.jiang@intel.com> 5762306a36Sopenharmony_ciDescription: (RO) Shows the CXL bridge device that ties to a CXL memory device 5862306a36Sopenharmony_ci to this NVDIMM device. I.e. the parent of the device returned is 5962306a36Sopenharmony_ci a /sys/bus/cxl/devices/memX instance. 60