0001 What: /sys/devices/system/edac/mc/mc*/reset_counters
0002 Date: January 2006
0003 Contact: linux-edac@vger.kernel.org
0004 Description: This write-only control file will zero all the statistical
0005 counters for UE and CE errors on the given memory controller.
0006 Zeroing the counters will also reset the timer indicating how
0007 long since the last counter were reset. This is useful for
0008 computing errors/time. Since the counters are always reset
0009 at driver initialization time, no module/kernel parameter
0010 is available.
0011
0012 What: /sys/devices/system/edac/mc/mc*/seconds_since_reset
0013 Date: January 2006
0014 Contact: linux-edac@vger.kernel.org
0015 Description: This attribute file displays how many seconds have elapsed
0016 since the last counter reset. This can be used with the error
0017 counters to measure error rates.
0018
0019 What: /sys/devices/system/edac/mc/mc*/mc_name
0020 Date: January 2006
0021 Contact: linux-edac@vger.kernel.org
0022 Description: This attribute file displays the type of memory controller
0023 that is being utilized.
0024
0025 What: /sys/devices/system/edac/mc/mc*/size_mb
0026 Date: January 2006
0027 Contact: linux-edac@vger.kernel.org
0028 Description: This attribute file displays, in count of megabytes, of memory
0029 that this memory controller manages.
0030
0031 What: /sys/devices/system/edac/mc/mc*/ue_count
0032 Date: January 2006
0033 Contact: linux-edac@vger.kernel.org
0034 Description: This attribute file displays the total count of uncorrectable
0035 errors that have occurred on this memory controller. If
0036 panic_on_ue is set, this counter will not have a chance to
0037 increment, since EDAC will panic the system
0038
0039 What: /sys/devices/system/edac/mc/mc*/ue_noinfo_count
0040 Date: January 2006
0041 Contact: linux-edac@vger.kernel.org
0042 Description: This attribute file displays the number of UEs that have
0043 occurred on this memory controller with no information as to
0044 which DIMM slot is having errors.
0045
0046 What: /sys/devices/system/edac/mc/mc*/ce_count
0047 Date: January 2006
0048 Contact: linux-edac@vger.kernel.org
0049 Description: This attribute file displays the total count of correctable
0050 errors that have occurred on this memory controller. This
0051 count is very important to examine. CEs provide early
0052 indications that a DIMM is beginning to fail. This count
0053 field should be monitored for non-zero values and report
0054 such information to the system administrator.
0055
0056 What: /sys/devices/system/edac/mc/mc*/ce_noinfo_count
0057 Date: January 2006
0058 Contact: linux-edac@vger.kernel.org
0059 Description: This attribute file displays the number of CEs that
0060 have occurred on this memory controller wherewith no
0061 information as to which DIMM slot is having errors. Memory is
0062 handicapped, but operational, yet no information is available
0063 to indicate which slot the failing memory is in. This count
0064 field should be also be monitored for non-zero values.
0065
0066 What: /sys/devices/system/edac/mc/mc*/sdram_scrub_rate
0067 Date: February 2007
0068 Contact: linux-edac@vger.kernel.org
0069 Description: Read/Write attribute file that controls memory scrubbing.
0070 The scrubbing rate used by the memory controller is set by
0071 writing a minimum bandwidth in bytes/sec to the attribute file.
0072 The rate will be translated to an internal value that gives at
0073 least the specified rate.
0074 Reading the file will return the actual scrubbing rate employed.
0075 If configuration fails or memory scrubbing is not implemented,
0076 the value of the attribute file will be -1.
0077
0078 What: /sys/devices/system/edac/mc/mc*/max_location
0079 Date: April 2012
0080 Contact: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
0081 linux-edac@vger.kernel.org
0082 Description: This attribute file displays the information about the last
0083 available memory slot in this memory controller. It is used by
0084 userspace tools in order to display the memory filling layout.
0085
0086 What: /sys/devices/system/edac/mc/mc*/(dimm|rank)*/size
0087 Date: April 2012
0088 Contact: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
0089 linux-edac@vger.kernel.org
0090 Description: This attribute file will display the size of dimm or rank.
0091 For dimm*/size, this is the size, in MB of the DIMM memory
0092 stick. For rank*/size, this is the size, in MB for one rank
0093 of the DIMM memory stick. On single rank memories (1R), this
0094 is also the total size of the dimm. On dual rank (2R) memories,
0095 this is half the size of the total DIMM memories.
0096
0097 What: /sys/devices/system/edac/mc/mc*/(dimm|rank)*/dimm_dev_type
0098 Date: April 2012
0099 Contact: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
0100 linux-edac@vger.kernel.org
0101 Description: This attribute file will display what type of DRAM device is
0102 being utilized on this DIMM (x1, x2, x4, x8, ...).
0103
0104 What: /sys/devices/system/edac/mc/mc*/(dimm|rank)*/dimm_edac_mode
0105 Date: April 2012
0106 Contact: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
0107 linux-edac@vger.kernel.org
0108 Description: This attribute file will display what type of Error detection
0109 and correction is being utilized. For example: S4ECD4ED would
0110 mean a Chipkill with x4 DRAM.
0111
0112 What: /sys/devices/system/edac/mc/mc*/(dimm|rank)*/dimm_label
0113 Date: April 2012
0114 Contact: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
0115 linux-edac@vger.kernel.org
0116 Description: This control file allows this DIMM to have a label assigned
0117 to it. With this label in the module, when errors occur
0118 the output can provide the DIMM label in the system log.
0119 This becomes vital for panic events to isolate the
0120 cause of the UE event.
0121 DIMM Labels must be assigned after booting, with information
0122 that correctly identifies the physical slot with its
0123 silk screen label. This information is currently very
0124 motherboard specific and determination of this information
0125 must occur in userland at this time.
0126
0127 What: /sys/devices/system/edac/mc/mc*/(dimm|rank)*/dimm_location
0128 Date: April 2012
0129 Contact: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
0130 linux-edac@vger.kernel.org
0131 Description: This attribute file will display the location (csrow/channel,
0132 branch/channel/slot or channel/slot) of the dimm or rank.
0133
0134 What: /sys/devices/system/edac/mc/mc*/(dimm|rank)*/dimm_mem_type
0135 Date: April 2012
0136 Contact: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
0137 linux-edac@vger.kernel.org
0138 Description: This attribute file will display what type of memory is
0139 currently on this csrow. Normally, either buffered or
0140 unbuffered memory (for example, Unbuffered-DDR3).
0141
0142 What: /sys/devices/system/edac/mc/mc*/(dimm|rank)*/dimm_ce_count
0143 Date: October 2016
0144 Contact: linux-edac@vger.kernel.org
0145 Description: This attribute file displays the total count of correctable
0146 errors that have occurred on this DIMM. This count is very important
0147 to examine. CEs provide early indications that a DIMM is beginning
0148 to fail. This count field should be monitored for non-zero values
0149 and report such information to the system administrator.
0150
0151 What: /sys/devices/system/edac/mc/mc*/(dimm|rank)*/dimm_ue_count
0152 Date: October 2016
0153 Contact: linux-edac@vger.kernel.org
0154 Description: This attribute file displays the total count of uncorrectable
0155 errors that have occurred on this DIMM. If panic_on_ue is set, this
0156 counter will not have a chance to increment, since EDAC will panic the
0157 system