Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

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