1 What: /sys/bus/nd/devices/nmemX/papr 1 What: /sys/bus/nd/devices/nmemX/papr/flags 2 Date: Apr, 2020 2 Date: Apr, 2020 3 KernelVersion: v5.8 3 KernelVersion: v5.8 4 Contact: linuxppc-dev <linuxppc-dev@list !! 4 Contact: linuxppc-dev <linuxppc-dev@lists.ozlabs.org>, linux-nvdimm@lists.01.org, 5 Description: 5 Description: 6 (RO) Report flags indicating v 6 (RO) Report flags indicating various states of a 7 papr-pmem NVDIMM device. Each 7 papr-pmem NVDIMM device. Each flag maps to a one or 8 more bits set in the dimm-heal 8 more bits set in the dimm-health-bitmap retrieved in 9 response to H_SCM_HEALTH hcall 9 response to H_SCM_HEALTH hcall. The details of the bit 10 flags returned in response to 10 flags returned in response to this hcall is available 11 at 'Documentation/arch/powerpc !! 11 at 'Documentation/powerpc/papr_hcalls.rst' . Below are 12 the flags reported in this sys 12 the flags reported in this sysfs file: 13 13 14 * "not_armed" !! 14 * "not_armed" : Indicates that NVDIMM contents will not 15 Indicates th << 16 survive a po 15 survive a power cycle. 17 * "flush_fail" !! 16 * "flush_fail" : Indicates that NVDIMM contents 18 Indicates th << 19 couldn't be 17 couldn't be flushed during last 20 shut-down ev 18 shut-down event. 21 * "restore_fail" !! 19 * "restore_fail": Indicates that NVDIMM contents 22 Indicates th << 23 couldn't be 20 couldn't be restored during NVDIMM 24 initializati 21 initialization. 25 * "encrypted" !! 22 * "encrypted" : NVDIMM contents are encrypted. 26 NVDIMM conte !! 23 * "smart_notify": There is health event for the NVDIMM. 27 * "smart_notify" !! 24 * "scrubbed" : Indicating that contents of the 28 There is hea << 29 * "scrubbed" << 30 Indicating t << 31 NVDIMM have 25 NVDIMM have been scrubbed. 32 * "locked" !! 26 * "locked" : Indicating that NVDIMM contents cant 33 Indicating t << 34 be modified 27 be modified until next power cycle. 35 28 36 What: /sys/bus/nd/devices/nmemX/papr 29 What: /sys/bus/nd/devices/nmemX/papr/perf_stats 37 Date: May, 2020 30 Date: May, 2020 38 KernelVersion: v5.9 31 KernelVersion: v5.9 39 Contact: linuxppc-dev <linuxppc-dev@list !! 32 Contact: linuxppc-dev <linuxppc-dev@lists.ozlabs.org>, linux-nvdimm@lists.01.org, 40 Description: 33 Description: 41 (RO) Report various performanc 34 (RO) Report various performance stats related to papr-scm NVDIMM 42 device. This attribute is only !! 35 device. Each stat is reported on a new line with each line 43 that support reporting NVDIMM !! 36 composed of a stat-identifier followed by it value. Below are 44 reported on a new line with ea !! 37 currently known dimm performance stats which are reported: 45 stat-identifier followed by it << 46 dimm performance stats which a << 47 38 48 * "CtlResCt" : Controller Rese 39 * "CtlResCt" : Controller Reset Count 49 * "CtlResTm" : Controller Rese 40 * "CtlResTm" : Controller Reset Elapsed Time 50 * "PonSecs " : Power-on Second 41 * "PonSecs " : Power-on Seconds 51 * "MemLife " : Life Remaining 42 * "MemLife " : Life Remaining 52 * "CritRscU" : Critical Resour 43 * "CritRscU" : Critical Resource Utilization 53 * "HostLCnt" : Host Load Count 44 * "HostLCnt" : Host Load Count 54 * "HostSCnt" : Host Store Coun 45 * "HostSCnt" : Host Store Count 55 * "HostSDur" : Host Store Dura 46 * "HostSDur" : Host Store Duration 56 * "HostLDur" : Host Load Durat 47 * "HostLDur" : Host Load Duration 57 * "MedRCnt " : Media Read Coun 48 * "MedRCnt " : Media Read Count 58 * "MedWCnt " : Media Write Cou 49 * "MedWCnt " : Media Write Count 59 * "MedRDur " : Media Read Dura 50 * "MedRDur " : Media Read Duration 60 * "MedWDur " : Media Write Dur 51 * "MedWDur " : Media Write Duration 61 * "CchRHCnt" : Cache Read Hit 52 * "CchRHCnt" : Cache Read Hit Count 62 * "CchWHCnt" : Cache Write Hit 53 * "CchWHCnt" : Cache Write Hit Count 63 * "FastWCnt" : Fast Write Coun !! 54 * "FastWCnt" : Fast Write Count 64 << 65 What: /sys/bus/nd/devices/nmemX/papr << 66 Date: Jan, 2022 << 67 KernelVersion: v5.17 << 68 Contact: linuxppc-dev <linuxppc-dev@list << 69 Description: << 70 (RO) Reports the health bitmap << 71 bitmap received from PowerVM v << 72 to forcibly set specific bits << 73 used to simulate various healt << 74 and are set by user-space tool << 75 <<
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.