xref: /OK3568_Linux_fs/kernel/Documentation/ABI/testing/sysfs-devices-edac (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunWhat:		/sys/devices/system/edac/mc/mc*/reset_counters
2*4882a593SmuzhiyunDate:		January 2006
3*4882a593SmuzhiyunContact:	linux-edac@vger.kernel.org
4*4882a593SmuzhiyunDescription:	This write-only control file will zero all the statistical
5*4882a593Smuzhiyun		counters for UE and CE errors on the given memory controller.
6*4882a593Smuzhiyun		Zeroing the counters will also reset the timer indicating how
7*4882a593Smuzhiyun		long since the last counter were reset. This is useful for
8*4882a593Smuzhiyun		computing errors/time.  Since the counters are always reset
9*4882a593Smuzhiyun		at driver initialization time, no module/kernel parameter
10*4882a593Smuzhiyun		is available.
11*4882a593Smuzhiyun
12*4882a593SmuzhiyunWhat:		/sys/devices/system/edac/mc/mc*/seconds_since_reset
13*4882a593SmuzhiyunDate:		January 2006
14*4882a593SmuzhiyunContact:	linux-edac@vger.kernel.org
15*4882a593SmuzhiyunDescription:	This attribute file displays how many seconds have elapsed
16*4882a593Smuzhiyun		since the last counter reset. This can be used with the error
17*4882a593Smuzhiyun		counters to measure error rates.
18*4882a593Smuzhiyun
19*4882a593SmuzhiyunWhat:		/sys/devices/system/edac/mc/mc*/mc_name
20*4882a593SmuzhiyunDate:		January 2006
21*4882a593SmuzhiyunContact:	linux-edac@vger.kernel.org
22*4882a593SmuzhiyunDescription:	This attribute file displays the type of memory controller
23*4882a593Smuzhiyun		that is being utilized.
24*4882a593Smuzhiyun
25*4882a593SmuzhiyunWhat:		/sys/devices/system/edac/mc/mc*/size_mb
26*4882a593SmuzhiyunDate:		January 2006
27*4882a593SmuzhiyunContact:	linux-edac@vger.kernel.org
28*4882a593SmuzhiyunDescription:	This attribute file displays, in count of megabytes, of memory
29*4882a593Smuzhiyun		that this memory controller manages.
30*4882a593Smuzhiyun
31*4882a593SmuzhiyunWhat:		/sys/devices/system/edac/mc/mc*/ue_count
32*4882a593SmuzhiyunDate:		January 2006
33*4882a593SmuzhiyunContact:	linux-edac@vger.kernel.org
34*4882a593SmuzhiyunDescription:	This attribute file displays the total count of uncorrectable
35*4882a593Smuzhiyun		errors that have occurred on this memory controller. If
36*4882a593Smuzhiyun		panic_on_ue is set, this counter will not have a chance to
37*4882a593Smuzhiyun		increment, since EDAC will panic the system
38*4882a593Smuzhiyun
39*4882a593SmuzhiyunWhat:		/sys/devices/system/edac/mc/mc*/ue_noinfo_count
40*4882a593SmuzhiyunDate:		January 2006
41*4882a593SmuzhiyunContact:	linux-edac@vger.kernel.org
42*4882a593SmuzhiyunDescription:	This attribute file displays the number of UEs that have
43*4882a593Smuzhiyun		occurred on this memory controller with no information as to
44*4882a593Smuzhiyun		which DIMM slot is having errors.
45*4882a593Smuzhiyun
46*4882a593SmuzhiyunWhat:		/sys/devices/system/edac/mc/mc*/ce_count
47*4882a593SmuzhiyunDate:		January 2006
48*4882a593SmuzhiyunContact:	linux-edac@vger.kernel.org
49*4882a593SmuzhiyunDescription:	This attribute file displays the total count of correctable
50*4882a593Smuzhiyun		errors that have occurred on this memory controller. This
51*4882a593Smuzhiyun		count is very important to examine. CEs provide early
52*4882a593Smuzhiyun		indications that a DIMM is beginning to fail. This count
53*4882a593Smuzhiyun		field should be monitored for non-zero values and report
54*4882a593Smuzhiyun		such information to the system administrator.
55*4882a593Smuzhiyun
56*4882a593SmuzhiyunWhat:		/sys/devices/system/edac/mc/mc*/ce_noinfo_count
57*4882a593SmuzhiyunDate:		January 2006
58*4882a593SmuzhiyunContact:	linux-edac@vger.kernel.org
59*4882a593SmuzhiyunDescription:	This attribute file displays the number of CEs that
60*4882a593Smuzhiyun		have occurred on this memory controller wherewith no
61*4882a593Smuzhiyun		information as to which DIMM slot is having errors. Memory is
62*4882a593Smuzhiyun		handicapped, but operational, yet no information is available
63*4882a593Smuzhiyun		to indicate which slot the failing memory is in. This count
64*4882a593Smuzhiyun		field should be also be monitored for non-zero values.
65*4882a593Smuzhiyun
66*4882a593SmuzhiyunWhat:		/sys/devices/system/edac/mc/mc*/sdram_scrub_rate
67*4882a593SmuzhiyunDate:		February 2007
68*4882a593SmuzhiyunContact:	linux-edac@vger.kernel.org
69*4882a593SmuzhiyunDescription:	Read/Write attribute file that controls memory scrubbing.
70*4882a593Smuzhiyun		The scrubbing rate used by the memory controller is set by
71*4882a593Smuzhiyun		writing a minimum bandwidth in bytes/sec to the attribute file.
72*4882a593Smuzhiyun		The rate will be translated to an internal value that gives at
73*4882a593Smuzhiyun		least the specified rate.
74*4882a593Smuzhiyun		Reading the file will return the actual scrubbing rate employed.
75*4882a593Smuzhiyun		If configuration fails or memory scrubbing is not implemented,
76*4882a593Smuzhiyun		the value of the attribute file will be -1.
77*4882a593Smuzhiyun
78*4882a593SmuzhiyunWhat:		/sys/devices/system/edac/mc/mc*/max_location
79*4882a593SmuzhiyunDate:		April 2012
80*4882a593SmuzhiyunContact:	Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
81*4882a593Smuzhiyun		linux-edac@vger.kernel.org
82*4882a593SmuzhiyunDescription:	This attribute file displays the information about the last
83*4882a593Smuzhiyun		available memory slot in this memory controller. It is used by
84*4882a593Smuzhiyun		userspace tools in order to display the memory filling layout.
85*4882a593Smuzhiyun
86*4882a593SmuzhiyunWhat:		/sys/devices/system/edac/mc/mc*/(dimm|rank)*/size
87*4882a593SmuzhiyunDate:		April 2012
88*4882a593SmuzhiyunContact:	Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
89*4882a593Smuzhiyun		linux-edac@vger.kernel.org
90*4882a593SmuzhiyunDescription:	This attribute file will display the size of dimm or rank.
91*4882a593Smuzhiyun		For dimm*/size, this is the size, in MB of the DIMM memory
92*4882a593Smuzhiyun		stick. For rank*/size, this is the size, in MB for one rank
93*4882a593Smuzhiyun		of the DIMM memory stick. On single rank memories (1R), this
94*4882a593Smuzhiyun		is also the total size of the dimm. On dual rank (2R) memories,
95*4882a593Smuzhiyun		this is half the size of the total DIMM memories.
96*4882a593Smuzhiyun
97*4882a593SmuzhiyunWhat:		/sys/devices/system/edac/mc/mc*/(dimm|rank)*/dimm_dev_type
98*4882a593SmuzhiyunDate:		April 2012
99*4882a593SmuzhiyunContact:	Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
100*4882a593Smuzhiyun		linux-edac@vger.kernel.org
101*4882a593SmuzhiyunDescription:	This attribute file will display what type of DRAM device is
102*4882a593Smuzhiyun		being utilized on this DIMM (x1, x2, x4, x8, ...).
103*4882a593Smuzhiyun
104*4882a593SmuzhiyunWhat:		/sys/devices/system/edac/mc/mc*/(dimm|rank)*/dimm_edac_mode
105*4882a593SmuzhiyunDate:		April 2012
106*4882a593SmuzhiyunContact:	Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
107*4882a593Smuzhiyun		linux-edac@vger.kernel.org
108*4882a593SmuzhiyunDescription:	This attribute file will display what type of Error detection
109*4882a593Smuzhiyun		and correction is being utilized. For example: S4ECD4ED would
110*4882a593Smuzhiyun		mean a Chipkill with x4 DRAM.
111*4882a593Smuzhiyun
112*4882a593SmuzhiyunWhat:		/sys/devices/system/edac/mc/mc*/(dimm|rank)*/dimm_label
113*4882a593SmuzhiyunDate:		April 2012
114*4882a593SmuzhiyunContact:	Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
115*4882a593Smuzhiyun		linux-edac@vger.kernel.org
116*4882a593SmuzhiyunDescription:	This control file allows this DIMM to have a label assigned
117*4882a593Smuzhiyun		to it. With this label in the module, when errors occur
118*4882a593Smuzhiyun		the output can provide the DIMM label in the system log.
119*4882a593Smuzhiyun		This becomes vital for panic events to isolate the
120*4882a593Smuzhiyun		cause of the UE event.
121*4882a593Smuzhiyun		DIMM Labels must be assigned after booting, with information
122*4882a593Smuzhiyun		that correctly identifies the physical slot with its
123*4882a593Smuzhiyun		silk screen label. This information is currently very
124*4882a593Smuzhiyun		motherboard specific and determination of this information
125*4882a593Smuzhiyun		must occur in userland at this time.
126*4882a593Smuzhiyun
127*4882a593SmuzhiyunWhat:		/sys/devices/system/edac/mc/mc*/(dimm|rank)*/dimm_location
128*4882a593SmuzhiyunDate:		April 2012
129*4882a593SmuzhiyunContact:	Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
130*4882a593Smuzhiyun		linux-edac@vger.kernel.org
131*4882a593SmuzhiyunDescription:	This attribute file will display the location (csrow/channel,
132*4882a593Smuzhiyun		branch/channel/slot or channel/slot) of the dimm or rank.
133*4882a593Smuzhiyun
134*4882a593SmuzhiyunWhat:		/sys/devices/system/edac/mc/mc*/(dimm|rank)*/dimm_mem_type
135*4882a593SmuzhiyunDate:		April 2012
136*4882a593SmuzhiyunContact:	Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
137*4882a593Smuzhiyun		linux-edac@vger.kernel.org
138*4882a593SmuzhiyunDescription:	This attribute file will display what type of memory is
139*4882a593Smuzhiyun		currently on this csrow. Normally, either buffered or
140*4882a593Smuzhiyun		unbuffered memory (for example, Unbuffered-DDR3).
141*4882a593Smuzhiyun
142*4882a593SmuzhiyunWhat:		/sys/devices/system/edac/mc/mc*/(dimm|rank)*/dimm_ce_count
143*4882a593SmuzhiyunDate:		October 2016
144*4882a593SmuzhiyunContact:	linux-edac@vger.kernel.org
145*4882a593SmuzhiyunDescription:	This attribute file displays the total count of correctable
146*4882a593Smuzhiyun		errors that have occurred on this DIMM. This count is very important
147*4882a593Smuzhiyun		to examine. CEs provide early indications that a DIMM is beginning
148*4882a593Smuzhiyun		to fail. This count field should be monitored for non-zero values
149*4882a593Smuzhiyun		and report such information to the system administrator.
150*4882a593Smuzhiyun
151*4882a593SmuzhiyunWhat:		/sys/devices/system/edac/mc/mc*/(dimm|rank)*/dimm_ue_count
152*4882a593SmuzhiyunDate:		October 2016
153*4882a593SmuzhiyunContact:	linux-edac@vger.kernel.org
154*4882a593SmuzhiyunDescription:	This attribute file displays the total count of uncorrectable
155*4882a593Smuzhiyun		errors that have occurred on this DIMM. If panic_on_ue is set, this
156*4882a593Smuzhiyun		counter will not have a chance to increment, since EDAC will panic the
157*4882a593Smuzhiyun		system
158