18b6f04ceSMauro Carvalho ChehabWhat: /sys/devices/system/edac/mc/mc*/reset_counters 28b6f04ceSMauro Carvalho ChehabDate: January 2006 38b6f04ceSMauro Carvalho ChehabContact: linux-edac@vger.kernel.org 48b6f04ceSMauro Carvalho ChehabDescription: This write-only control file will zero all the statistical 58b6f04ceSMauro Carvalho Chehab counters for UE and CE errors on the given memory controller. 68b6f04ceSMauro Carvalho Chehab Zeroing the counters will also reset the timer indicating how 78b6f04ceSMauro Carvalho Chehab long since the last counter were reset. This is useful for 88b6f04ceSMauro Carvalho Chehab computing errors/time. Since the counters are always reset 98b6f04ceSMauro Carvalho Chehab at driver initialization time, no module/kernel parameter 108b6f04ceSMauro Carvalho Chehab is available. 118b6f04ceSMauro Carvalho Chehab 128b6f04ceSMauro Carvalho ChehabWhat: /sys/devices/system/edac/mc/mc*/seconds_since_reset 138b6f04ceSMauro Carvalho ChehabDate: January 2006 148b6f04ceSMauro Carvalho ChehabContact: linux-edac@vger.kernel.org 158b6f04ceSMauro Carvalho ChehabDescription: This attribute file displays how many seconds have elapsed 168b6f04ceSMauro Carvalho Chehab since the last counter reset. This can be used with the error 178b6f04ceSMauro Carvalho Chehab counters to measure error rates. 188b6f04ceSMauro Carvalho Chehab 198b6f04ceSMauro Carvalho ChehabWhat: /sys/devices/system/edac/mc/mc*/mc_name 208b6f04ceSMauro Carvalho ChehabDate: January 2006 218b6f04ceSMauro Carvalho ChehabContact: linux-edac@vger.kernel.org 228b6f04ceSMauro Carvalho ChehabDescription: This attribute file displays the type of memory controller 238b6f04ceSMauro Carvalho Chehab that is being utilized. 248b6f04ceSMauro Carvalho Chehab 258b6f04ceSMauro Carvalho ChehabWhat: /sys/devices/system/edac/mc/mc*/size_mb 268b6f04ceSMauro Carvalho ChehabDate: January 2006 278b6f04ceSMauro Carvalho ChehabContact: linux-edac@vger.kernel.org 288b6f04ceSMauro Carvalho ChehabDescription: This attribute file displays, in count of megabytes, of memory 298b6f04ceSMauro Carvalho Chehab that this memory controller manages. 308b6f04ceSMauro Carvalho Chehab 318b6f04ceSMauro Carvalho ChehabWhat: /sys/devices/system/edac/mc/mc*/ue_count 328b6f04ceSMauro Carvalho ChehabDate: January 2006 338b6f04ceSMauro Carvalho ChehabContact: linux-edac@vger.kernel.org 348b6f04ceSMauro Carvalho ChehabDescription: This attribute file displays the total count of uncorrectable 358b6f04ceSMauro Carvalho Chehab errors that have occurred on this memory controller. If 368b6f04ceSMauro Carvalho Chehab panic_on_ue is set, this counter will not have a chance to 378b6f04ceSMauro Carvalho Chehab increment, since EDAC will panic the system 388b6f04ceSMauro Carvalho Chehab 398b6f04ceSMauro Carvalho ChehabWhat: /sys/devices/system/edac/mc/mc*/ue_noinfo_count 408b6f04ceSMauro Carvalho ChehabDate: January 2006 418b6f04ceSMauro Carvalho ChehabContact: linux-edac@vger.kernel.org 428b6f04ceSMauro Carvalho ChehabDescription: This attribute file displays the number of UEs that have 438b6f04ceSMauro Carvalho Chehab occurred on this memory controller with no information as to 448b6f04ceSMauro Carvalho Chehab which DIMM slot is having errors. 458b6f04ceSMauro Carvalho Chehab 468b6f04ceSMauro Carvalho ChehabWhat: /sys/devices/system/edac/mc/mc*/ce_count 478b6f04ceSMauro Carvalho ChehabDate: January 2006 488b6f04ceSMauro Carvalho ChehabContact: linux-edac@vger.kernel.org 498b6f04ceSMauro Carvalho ChehabDescription: This attribute file displays the total count of correctable 508b6f04ceSMauro Carvalho Chehab errors that have occurred on this memory controller. This 518b6f04ceSMauro Carvalho Chehab count is very important to examine. CEs provide early 528b6f04ceSMauro Carvalho Chehab indications that a DIMM is beginning to fail. This count 538b6f04ceSMauro Carvalho Chehab field should be monitored for non-zero values and report 548b6f04ceSMauro Carvalho Chehab such information to the system administrator. 558b6f04ceSMauro Carvalho Chehab 568b6f04ceSMauro Carvalho ChehabWhat: /sys/devices/system/edac/mc/mc*/ce_noinfo_count 578b6f04ceSMauro Carvalho ChehabDate: January 2006 588b6f04ceSMauro Carvalho ChehabContact: linux-edac@vger.kernel.org 598b6f04ceSMauro Carvalho ChehabDescription: This attribute file displays the number of CEs that 608b6f04ceSMauro Carvalho Chehab have occurred on this memory controller wherewith no 618b6f04ceSMauro Carvalho Chehab information as to which DIMM slot is having errors. Memory is 628b6f04ceSMauro Carvalho Chehab handicapped, but operational, yet no information is available 638b6f04ceSMauro Carvalho Chehab to indicate which slot the failing memory is in. This count 648b6f04ceSMauro Carvalho Chehab field should be also be monitored for non-zero values. 658b6f04ceSMauro Carvalho Chehab 668b6f04ceSMauro Carvalho ChehabWhat: /sys/devices/system/edac/mc/mc*/sdram_scrub_rate 678b6f04ceSMauro Carvalho ChehabDate: February 2007 688b6f04ceSMauro Carvalho ChehabContact: linux-edac@vger.kernel.org 698b6f04ceSMauro Carvalho ChehabDescription: Read/Write attribute file that controls memory scrubbing. 708b6f04ceSMauro Carvalho Chehab The scrubbing rate used by the memory controller is set by 718b6f04ceSMauro Carvalho Chehab writing a minimum bandwidth in bytes/sec to the attribute file. 728b6f04ceSMauro Carvalho Chehab The rate will be translated to an internal value that gives at 738b6f04ceSMauro Carvalho Chehab least the specified rate. 748b6f04ceSMauro Carvalho Chehab Reading the file will return the actual scrubbing rate employed. 758b6f04ceSMauro Carvalho Chehab If configuration fails or memory scrubbing is not implemented, 768b6f04ceSMauro Carvalho Chehab the value of the attribute file will be -1. 772639c3eeSMauro Carvalho Chehab 782639c3eeSMauro Carvalho ChehabWhat: /sys/devices/system/edac/mc/mc*/max_location 792639c3eeSMauro Carvalho ChehabDate: April 2012 80*901b9dd5SMauro Carvalho ChehabContact: Mauro Carvalho Chehab <mchehab+samsung@kernel.org> 812639c3eeSMauro Carvalho Chehab linux-edac@vger.kernel.org 822639c3eeSMauro Carvalho ChehabDescription: This attribute file displays the information about the last 832639c3eeSMauro Carvalho Chehab available memory slot in this memory controller. It is used by 842639c3eeSMauro Carvalho Chehab userspace tools in order to display the memory filling layout. 852639c3eeSMauro Carvalho Chehab 862639c3eeSMauro Carvalho ChehabWhat: /sys/devices/system/edac/mc/mc*/(dimm|rank)*/size 872639c3eeSMauro Carvalho ChehabDate: April 2012 88*901b9dd5SMauro Carvalho ChehabContact: Mauro Carvalho Chehab <mchehab+samsung@kernel.org> 892639c3eeSMauro Carvalho Chehab linux-edac@vger.kernel.org 902639c3eeSMauro Carvalho ChehabDescription: This attribute file will display the size of dimm or rank. 912639c3eeSMauro Carvalho Chehab For dimm*/size, this is the size, in MB of the DIMM memory 922639c3eeSMauro Carvalho Chehab stick. For rank*/size, this is the size, in MB for one rank 932639c3eeSMauro Carvalho Chehab of the DIMM memory stick. On single rank memories (1R), this 942639c3eeSMauro Carvalho Chehab is also the total size of the dimm. On dual rank (2R) memories, 952639c3eeSMauro Carvalho Chehab this is half the size of the total DIMM memories. 962639c3eeSMauro Carvalho Chehab 972639c3eeSMauro Carvalho ChehabWhat: /sys/devices/system/edac/mc/mc*/(dimm|rank)*/dimm_dev_type 982639c3eeSMauro Carvalho ChehabDate: April 2012 99*901b9dd5SMauro Carvalho ChehabContact: Mauro Carvalho Chehab <mchehab+samsung@kernel.org> 1002639c3eeSMauro Carvalho Chehab linux-edac@vger.kernel.org 1012639c3eeSMauro Carvalho ChehabDescription: This attribute file will display what type of DRAM device is 1022639c3eeSMauro Carvalho Chehab being utilized on this DIMM (x1, x2, x4, x8, ...). 1032639c3eeSMauro Carvalho Chehab 1042639c3eeSMauro Carvalho ChehabWhat: /sys/devices/system/edac/mc/mc*/(dimm|rank)*/dimm_edac_mode 1052639c3eeSMauro Carvalho ChehabDate: April 2012 106*901b9dd5SMauro Carvalho ChehabContact: Mauro Carvalho Chehab <mchehab+samsung@kernel.org> 1072639c3eeSMauro Carvalho Chehab linux-edac@vger.kernel.org 1082639c3eeSMauro Carvalho ChehabDescription: This attribute file will display what type of Error detection 1092639c3eeSMauro Carvalho Chehab and correction is being utilized. For example: S4ECD4ED would 1102639c3eeSMauro Carvalho Chehab mean a Chipkill with x4 DRAM. 1112639c3eeSMauro Carvalho Chehab 1122639c3eeSMauro Carvalho ChehabWhat: /sys/devices/system/edac/mc/mc*/(dimm|rank)*/dimm_label 1132639c3eeSMauro Carvalho ChehabDate: April 2012 114*901b9dd5SMauro Carvalho ChehabContact: Mauro Carvalho Chehab <mchehab+samsung@kernel.org> 1152639c3eeSMauro Carvalho Chehab linux-edac@vger.kernel.org 1162639c3eeSMauro Carvalho ChehabDescription: This control file allows this DIMM to have a label assigned 1172639c3eeSMauro Carvalho Chehab to it. With this label in the module, when errors occur 1182639c3eeSMauro Carvalho Chehab the output can provide the DIMM label in the system log. 1192639c3eeSMauro Carvalho Chehab This becomes vital for panic events to isolate the 1202639c3eeSMauro Carvalho Chehab cause of the UE event. 1212639c3eeSMauro Carvalho Chehab DIMM Labels must be assigned after booting, with information 1222639c3eeSMauro Carvalho Chehab that correctly identifies the physical slot with its 1232639c3eeSMauro Carvalho Chehab silk screen label. This information is currently very 1242639c3eeSMauro Carvalho Chehab motherboard specific and determination of this information 1252639c3eeSMauro Carvalho Chehab must occur in userland at this time. 1262639c3eeSMauro Carvalho Chehab 1272639c3eeSMauro Carvalho ChehabWhat: /sys/devices/system/edac/mc/mc*/(dimm|rank)*/dimm_location 1282639c3eeSMauro Carvalho ChehabDate: April 2012 129*901b9dd5SMauro Carvalho ChehabContact: Mauro Carvalho Chehab <mchehab+samsung@kernel.org> 1302639c3eeSMauro Carvalho Chehab linux-edac@vger.kernel.org 1312639c3eeSMauro Carvalho ChehabDescription: This attribute file will display the location (csrow/channel, 1322639c3eeSMauro Carvalho Chehab branch/channel/slot or channel/slot) of the dimm or rank. 1332639c3eeSMauro Carvalho Chehab 1342639c3eeSMauro Carvalho ChehabWhat: /sys/devices/system/edac/mc/mc*/(dimm|rank)*/dimm_mem_type 1352639c3eeSMauro Carvalho ChehabDate: April 2012 136*901b9dd5SMauro Carvalho ChehabContact: Mauro Carvalho Chehab <mchehab+samsung@kernel.org> 1372639c3eeSMauro Carvalho Chehab linux-edac@vger.kernel.org 1382639c3eeSMauro Carvalho ChehabDescription: This attribute file will display what type of memory is 1392639c3eeSMauro Carvalho Chehab currently on this csrow. Normally, either buffered or 1402639c3eeSMauro Carvalho Chehab unbuffered memory (for example, Unbuffered-DDR3). 1414fb6fde7SAaron Miller 1424fb6fde7SAaron MillerWhat: /sys/devices/system/edac/mc/mc*/(dimm|rank)*/dimm_ce_count 1434fb6fde7SAaron MillerDate: October 2016 1444fb6fde7SAaron MillerContact: linux-edac@vger.kernel.org 1454fb6fde7SAaron MillerDescription: This attribute file displays the total count of correctable 1464fb6fde7SAaron Miller errors that have occurred on this DIMM. This count is very important 1474fb6fde7SAaron Miller to examine. CEs provide early indications that a DIMM is beginning 1484fb6fde7SAaron Miller to fail. This count field should be monitored for non-zero values 1494fb6fde7SAaron Miller and report such information to the system administrator. 1504fb6fde7SAaron Miller 1514fb6fde7SAaron MillerWhat: /sys/devices/system/edac/mc/mc*/(dimm|rank)*/dimm_ue_count 1524fb6fde7SAaron MillerDate: October 2016 1534fb6fde7SAaron MillerContact: linux-edac@vger.kernel.org 1544fb6fde7SAaron MillerDescription: This attribute file displays the total count of uncorrectable 1554fb6fde7SAaron Miller errors that have occurred on this DIMM. If panic_on_ue is set, this 1564fb6fde7SAaron Miller counter will not have a chance to increment, since EDAC will panic the 1574fb6fde7SAaron Miller system 158