diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-04-17 10:13:10 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-06-11 12:23:47 -0400 |
commit | 2639c3ee298401881cc560c5e3987f8b222b9f7c (patch) | |
tree | de1de8e3da9803cb72d4486906bf67566ef25079 /Documentation/ABI | |
parent | 8b6f04ce6b9fb3aa8dd5dcd57d91be5d73e643a0 (diff) |
Edac: Add ABI Documentation for the new device nodes
The EDAC ABI were extended to add support for per-DIMM or per-rank
information and silkscreen labels. Properly document them.
Most of the comments there came from edac.txt descriptions of the
fields that are part of the legacy csrowX ABI (e. g.
/sys/devices/system/edac/mc/mc*/csrow*/*).
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'Documentation/ABI')
-rw-r--r-- | Documentation/ABI/testing/sysfs-devices-edac | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/sysfs-devices-edac b/Documentation/ABI/testing/sysfs-devices-edac index 40db633b00f6..30ee78aaed75 100644 --- a/Documentation/ABI/testing/sysfs-devices-edac +++ b/Documentation/ABI/testing/sysfs-devices-edac | |||
@@ -74,3 +74,67 @@ Description: Read/Write attribute file that controls memory scrubbing. | |||
74 | Reading the file will return the actual scrubbing rate employed. | 74 | Reading the file will return the actual scrubbing rate employed. |
75 | If configuration fails or memory scrubbing is not implemented, | 75 | If configuration fails or memory scrubbing is not implemented, |
76 | the value of the attribute file will be -1. | 76 | the value of the attribute file will be -1. |
77 | |||
78 | What: /sys/devices/system/edac/mc/mc*/max_location | ||
79 | Date: April 2012 | ||
80 | Contact: Mauro Carvalho Chehab <mchehab@redhat.com> | ||
81 | linux-edac@vger.kernel.org | ||
82 | Description: This attribute file displays the information about the last | ||
83 | available memory slot in this memory controller. It is used by | ||
84 | userspace tools in order to display the memory filling layout. | ||
85 | |||
86 | What: /sys/devices/system/edac/mc/mc*/(dimm|rank)*/size | ||
87 | Date: April 2012 | ||
88 | Contact: Mauro Carvalho Chehab <mchehab@redhat.com> | ||
89 | linux-edac@vger.kernel.org | ||
90 | Description: This attribute file will display the size of dimm or rank. | ||
91 | For dimm*/size, this is the size, in MB of the DIMM memory | ||
92 | stick. For rank*/size, this is the size, in MB for one rank | ||
93 | of the DIMM memory stick. On single rank memories (1R), this | ||
94 | is also the total size of the dimm. On dual rank (2R) memories, | ||
95 | this is half the size of the total DIMM memories. | ||
96 | |||
97 | What: /sys/devices/system/edac/mc/mc*/(dimm|rank)*/dimm_dev_type | ||
98 | Date: April 2012 | ||
99 | Contact: Mauro Carvalho Chehab <mchehab@redhat.com> | ||
100 | linux-edac@vger.kernel.org | ||
101 | Description: This attribute file will display what type of DRAM device is | ||
102 | being utilized on this DIMM (x1, x2, x4, x8, ...). | ||
103 | |||
104 | What: /sys/devices/system/edac/mc/mc*/(dimm|rank)*/dimm_edac_mode | ||
105 | Date: April 2012 | ||
106 | Contact: Mauro Carvalho Chehab <mchehab@redhat.com> | ||
107 | linux-edac@vger.kernel.org | ||
108 | Description: This attribute file will display what type of Error detection | ||
109 | and correction is being utilized. For example: S4ECD4ED would | ||
110 | mean a Chipkill with x4 DRAM. | ||
111 | |||
112 | What: /sys/devices/system/edac/mc/mc*/(dimm|rank)*/dimm_label | ||
113 | Date: April 2012 | ||
114 | Contact: Mauro Carvalho Chehab <mchehab@redhat.com> | ||
115 | linux-edac@vger.kernel.org | ||
116 | Description: This control file allows this DIMM to have a label assigned | ||
117 | to it. With this label in the module, when errors occur | ||
118 | the output can provide the DIMM label in the system log. | ||
119 | This becomes vital for panic events to isolate the | ||
120 | cause of the UE event. | ||
121 | DIMM Labels must be assigned after booting, with information | ||
122 | that correctly identifies the physical slot with its | ||
123 | silk screen label. This information is currently very | ||
124 | motherboard specific and determination of this information | ||
125 | must occur in userland at this time. | ||
126 | |||
127 | What: /sys/devices/system/edac/mc/mc*/(dimm|rank)*/dimm_location | ||
128 | Date: April 2012 | ||
129 | Contact: Mauro Carvalho Chehab <mchehab@redhat.com> | ||
130 | linux-edac@vger.kernel.org | ||
131 | Description: This attribute file will display the location (csrow/channel, | ||
132 | branch/channel/slot or channel/slot) of the dimm or rank. | ||
133 | |||
134 | What: /sys/devices/system/edac/mc/mc*/(dimm|rank)*/dimm_mem_type | ||
135 | Date: April 2012 | ||
136 | Contact: Mauro Carvalho Chehab <mchehab@redhat.com> | ||
137 | linux-edac@vger.kernel.org | ||
138 | Description: This attribute file will display what type of memory is | ||
139 | currently on this csrow. Normally, either buffered or | ||
140 | unbuffered memory (for example, Unbuffered-DDR3). | ||