162306a36Sopenharmony_ciWhat: /sys/devices/system/edac/mc/mc*/reset_counters 262306a36Sopenharmony_ciDate: January 2006 362306a36Sopenharmony_ciContact: linux-edac@vger.kernel.org 462306a36Sopenharmony_ciDescription: This write-only control file will zero all the statistical 562306a36Sopenharmony_ci counters for UE and CE errors on the given memory controller. 662306a36Sopenharmony_ci Zeroing the counters will also reset the timer indicating how 762306a36Sopenharmony_ci long since the last counter were reset. This is useful for 862306a36Sopenharmony_ci computing errors/time. Since the counters are always reset 962306a36Sopenharmony_ci at driver initialization time, no module/kernel parameter 1062306a36Sopenharmony_ci is available. 1162306a36Sopenharmony_ci 1262306a36Sopenharmony_ciWhat: /sys/devices/system/edac/mc/mc*/seconds_since_reset 1362306a36Sopenharmony_ciDate: January 2006 1462306a36Sopenharmony_ciContact: linux-edac@vger.kernel.org 1562306a36Sopenharmony_ciDescription: This attribute file displays how many seconds have elapsed 1662306a36Sopenharmony_ci since the last counter reset. This can be used with the error 1762306a36Sopenharmony_ci counters to measure error rates. 1862306a36Sopenharmony_ci 1962306a36Sopenharmony_ciWhat: /sys/devices/system/edac/mc/mc*/mc_name 2062306a36Sopenharmony_ciDate: January 2006 2162306a36Sopenharmony_ciContact: linux-edac@vger.kernel.org 2262306a36Sopenharmony_ciDescription: This attribute file displays the type of memory controller 2362306a36Sopenharmony_ci that is being utilized. 2462306a36Sopenharmony_ci 2562306a36Sopenharmony_ciWhat: /sys/devices/system/edac/mc/mc*/size_mb 2662306a36Sopenharmony_ciDate: January 2006 2762306a36Sopenharmony_ciContact: linux-edac@vger.kernel.org 2862306a36Sopenharmony_ciDescription: This attribute file displays, in count of megabytes, of memory 2962306a36Sopenharmony_ci that this memory controller manages. 3062306a36Sopenharmony_ci 3162306a36Sopenharmony_ciWhat: /sys/devices/system/edac/mc/mc*/ue_count 3262306a36Sopenharmony_ciDate: January 2006 3362306a36Sopenharmony_ciContact: linux-edac@vger.kernel.org 3462306a36Sopenharmony_ciDescription: This attribute file displays the total count of uncorrectable 3562306a36Sopenharmony_ci errors that have occurred on this memory controller. If 3662306a36Sopenharmony_ci panic_on_ue is set, this counter will not have a chance to 3762306a36Sopenharmony_ci increment, since EDAC will panic the system 3862306a36Sopenharmony_ci 3962306a36Sopenharmony_ciWhat: /sys/devices/system/edac/mc/mc*/ue_noinfo_count 4062306a36Sopenharmony_ciDate: January 2006 4162306a36Sopenharmony_ciContact: linux-edac@vger.kernel.org 4262306a36Sopenharmony_ciDescription: This attribute file displays the number of UEs that have 4362306a36Sopenharmony_ci occurred on this memory controller with no information as to 4462306a36Sopenharmony_ci which DIMM slot is having errors. 4562306a36Sopenharmony_ci 4662306a36Sopenharmony_ciWhat: /sys/devices/system/edac/mc/mc*/ce_count 4762306a36Sopenharmony_ciDate: January 2006 4862306a36Sopenharmony_ciContact: linux-edac@vger.kernel.org 4962306a36Sopenharmony_ciDescription: This attribute file displays the total count of correctable 5062306a36Sopenharmony_ci errors that have occurred on this memory controller. This 5162306a36Sopenharmony_ci count is very important to examine. CEs provide early 5262306a36Sopenharmony_ci indications that a DIMM is beginning to fail. This count 5362306a36Sopenharmony_ci field should be monitored for non-zero values and report 5462306a36Sopenharmony_ci such information to the system administrator. 5562306a36Sopenharmony_ci 5662306a36Sopenharmony_ciWhat: /sys/devices/system/edac/mc/mc*/ce_noinfo_count 5762306a36Sopenharmony_ciDate: January 2006 5862306a36Sopenharmony_ciContact: linux-edac@vger.kernel.org 5962306a36Sopenharmony_ciDescription: This attribute file displays the number of CEs that 6062306a36Sopenharmony_ci have occurred on this memory controller wherewith no 6162306a36Sopenharmony_ci information as to which DIMM slot is having errors. Memory is 6262306a36Sopenharmony_ci handicapped, but operational, yet no information is available 6362306a36Sopenharmony_ci to indicate which slot the failing memory is in. This count 6462306a36Sopenharmony_ci field should be also be monitored for non-zero values. 6562306a36Sopenharmony_ci 6662306a36Sopenharmony_ciWhat: /sys/devices/system/edac/mc/mc*/sdram_scrub_rate 6762306a36Sopenharmony_ciDate: February 2007 6862306a36Sopenharmony_ciContact: linux-edac@vger.kernel.org 6962306a36Sopenharmony_ciDescription: Read/Write attribute file that controls memory scrubbing. 7062306a36Sopenharmony_ci The scrubbing rate used by the memory controller is set by 7162306a36Sopenharmony_ci writing a minimum bandwidth in bytes/sec to the attribute file. 7262306a36Sopenharmony_ci The rate will be translated to an internal value that gives at 7362306a36Sopenharmony_ci least the specified rate. 7462306a36Sopenharmony_ci Reading the file will return the actual scrubbing rate employed. 7562306a36Sopenharmony_ci If configuration fails or memory scrubbing is not implemented, 7662306a36Sopenharmony_ci the value of the attribute file will be -1. 7762306a36Sopenharmony_ci 7862306a36Sopenharmony_ciWhat: /sys/devices/system/edac/mc/mc*/max_location 7962306a36Sopenharmony_ciDate: April 2012 8062306a36Sopenharmony_ciContact: Mauro Carvalho Chehab <mchehab+samsung@kernel.org> 8162306a36Sopenharmony_ci linux-edac@vger.kernel.org 8262306a36Sopenharmony_ciDescription: This attribute file displays the information about the last 8362306a36Sopenharmony_ci available memory slot in this memory controller. It is used by 8462306a36Sopenharmony_ci userspace tools in order to display the memory filling layout. 8562306a36Sopenharmony_ci 8662306a36Sopenharmony_ciWhat: /sys/devices/system/edac/mc/mc*/(dimm|rank)*/size 8762306a36Sopenharmony_ciDate: April 2012 8862306a36Sopenharmony_ciContact: Mauro Carvalho Chehab <mchehab+samsung@kernel.org> 8962306a36Sopenharmony_ci linux-edac@vger.kernel.org 9062306a36Sopenharmony_ciDescription: This attribute file will display the size of dimm or rank. 9162306a36Sopenharmony_ci For dimm*/size, this is the size, in MB of the DIMM memory 9262306a36Sopenharmony_ci stick. For rank*/size, this is the size, in MB for one rank 9362306a36Sopenharmony_ci of the DIMM memory stick. On single rank memories (1R), this 9462306a36Sopenharmony_ci is also the total size of the dimm. On dual rank (2R) memories, 9562306a36Sopenharmony_ci this is half the size of the total DIMM memories. 9662306a36Sopenharmony_ci 9762306a36Sopenharmony_ciWhat: /sys/devices/system/edac/mc/mc*/(dimm|rank)*/dimm_dev_type 9862306a36Sopenharmony_ciDate: April 2012 9962306a36Sopenharmony_ciContact: Mauro Carvalho Chehab <mchehab+samsung@kernel.org> 10062306a36Sopenharmony_ci linux-edac@vger.kernel.org 10162306a36Sopenharmony_ciDescription: This attribute file will display what type of DRAM device is 10262306a36Sopenharmony_ci being utilized on this DIMM (x1, x2, x4, x8, ...). 10362306a36Sopenharmony_ci 10462306a36Sopenharmony_ciWhat: /sys/devices/system/edac/mc/mc*/(dimm|rank)*/dimm_edac_mode 10562306a36Sopenharmony_ciDate: April 2012 10662306a36Sopenharmony_ciContact: Mauro Carvalho Chehab <mchehab+samsung@kernel.org> 10762306a36Sopenharmony_ci linux-edac@vger.kernel.org 10862306a36Sopenharmony_ciDescription: This attribute file will display what type of Error detection 10962306a36Sopenharmony_ci and correction is being utilized. For example: S4ECD4ED would 11062306a36Sopenharmony_ci mean a Chipkill with x4 DRAM. 11162306a36Sopenharmony_ci 11262306a36Sopenharmony_ciWhat: /sys/devices/system/edac/mc/mc*/(dimm|rank)*/dimm_label 11362306a36Sopenharmony_ciDate: April 2012 11462306a36Sopenharmony_ciContact: Mauro Carvalho Chehab <mchehab+samsung@kernel.org> 11562306a36Sopenharmony_ci linux-edac@vger.kernel.org 11662306a36Sopenharmony_ciDescription: This control file allows this DIMM to have a label assigned 11762306a36Sopenharmony_ci to it. With this label in the module, when errors occur 11862306a36Sopenharmony_ci the output can provide the DIMM label in the system log. 11962306a36Sopenharmony_ci This becomes vital for panic events to isolate the 12062306a36Sopenharmony_ci cause of the UE event. 12162306a36Sopenharmony_ci DIMM Labels must be assigned after booting, with information 12262306a36Sopenharmony_ci that correctly identifies the physical slot with its 12362306a36Sopenharmony_ci silk screen label. This information is currently very 12462306a36Sopenharmony_ci motherboard specific and determination of this information 12562306a36Sopenharmony_ci must occur in userland at this time. 12662306a36Sopenharmony_ci 12762306a36Sopenharmony_ciWhat: /sys/devices/system/edac/mc/mc*/(dimm|rank)*/dimm_location 12862306a36Sopenharmony_ciDate: April 2012 12962306a36Sopenharmony_ciContact: Mauro Carvalho Chehab <mchehab+samsung@kernel.org> 13062306a36Sopenharmony_ci linux-edac@vger.kernel.org 13162306a36Sopenharmony_ciDescription: This attribute file will display the location (csrow/channel, 13262306a36Sopenharmony_ci branch/channel/slot or channel/slot) of the dimm or rank. 13362306a36Sopenharmony_ci 13462306a36Sopenharmony_ciWhat: /sys/devices/system/edac/mc/mc*/(dimm|rank)*/dimm_mem_type 13562306a36Sopenharmony_ciDate: April 2012 13662306a36Sopenharmony_ciContact: Mauro Carvalho Chehab <mchehab+samsung@kernel.org> 13762306a36Sopenharmony_ci linux-edac@vger.kernel.org 13862306a36Sopenharmony_ciDescription: This attribute file will display what type of memory is 13962306a36Sopenharmony_ci currently on this csrow. Normally, either buffered or 14062306a36Sopenharmony_ci unbuffered memory (for example, Unbuffered-DDR3). 14162306a36Sopenharmony_ci 14262306a36Sopenharmony_ciWhat: /sys/devices/system/edac/mc/mc*/(dimm|rank)*/dimm_ce_count 14362306a36Sopenharmony_ciDate: October 2016 14462306a36Sopenharmony_ciContact: linux-edac@vger.kernel.org 14562306a36Sopenharmony_ciDescription: This attribute file displays the total count of correctable 14662306a36Sopenharmony_ci errors that have occurred on this DIMM. This count is very important 14762306a36Sopenharmony_ci to examine. CEs provide early indications that a DIMM is beginning 14862306a36Sopenharmony_ci to fail. This count field should be monitored for non-zero values 14962306a36Sopenharmony_ci and report such information to the system administrator. 15062306a36Sopenharmony_ci 15162306a36Sopenharmony_ciWhat: /sys/devices/system/edac/mc/mc*/(dimm|rank)*/dimm_ue_count 15262306a36Sopenharmony_ciDate: October 2016 15362306a36Sopenharmony_ciContact: linux-edac@vger.kernel.org 15462306a36Sopenharmony_ciDescription: This attribute file displays the total count of uncorrectable 15562306a36Sopenharmony_ci errors that have occurred on this DIMM. If panic_on_ue is set, this 15662306a36Sopenharmony_ci counter will not have a chance to increment, since EDAC will panic the 15762306a36Sopenharmony_ci system 158