Lines Matching +full:memory +full:- +full:to +full:- +full:memory
1 What: /sys/bus/edac/devices/<dev-name>/mem_repairX
4 Contact: linux-edac@vger.kernel.org
6 The sysfs EDAC bus devices /<dev-name>/mem_repairX subdirectory
7 pertains to the memory media repair features control, such as
8 PPR (Post Package Repair), memory sparing etc, where <dev-name>
9 directory corresponds to a device registered with the EDAC
10 device driver for the memory repair features.
12 Post Package Repair is a maintenance operation requests the memory
13 device to perform a repair operation on its media. It is a memory
14 self-healing feature that fixes a failing memory location by
16 CXL memory device with DRAM components that support PPR features may
25 to the EDAC device driver during registration.
28 decoders have been configured), memory devices (e.g. CXL)
30 physical address map. As such, the memory to repair must be
33 attributes to use will be presented in related error records.
35 What: /sys/bus/edac/devices/<dev-name>/mem_repairX/repair_type
38 Contact: linux-edac@vger.kernel.org
40 (RO) Memory repair type. For eg. post package repair,
41 memory sparing etc. Valid values are:
43 - ppr - Post package repair.
45 - cacheline-sparing
47 - row-sparing
49 - bank-sparing
51 - rank-sparing
53 - All other values are reserved.
55 What: /sys/bus/edac/devices/<dev-name>/mem_repairX/persist_mode
58 Contact: linux-edac@vger.kernel.org
62 device, based on a memory repair function, either is temporary,
65 - 0 - Soft memory repair (temporary repair).
67 - 1 - Hard memory repair (permanent repair).
69 - All other values are reserved.
71 What: /sys/bus/edac/devices/<dev-name>/mem_repairX/repair_safe_when_in_use
74 Contact: linux-edac@vger.kernel.org
76 (RO) True if memory media is accessible and data is retained
77 during the memory repair operation.
78 The data may not be retained and memory requests may not be
80 repair operation can not be executed at runtime. The memory
83 What: /sys/bus/edac/devices/<dev-name>/mem_repairX/hpa
86 Contact: linux-edac@vger.kernel.org
88 (RW) Host Physical Address (HPA) of the memory to repair.
89 The HPA to use will be provided in related error records.
91 What: /sys/bus/edac/devices/<dev-name>/mem_repairX/dpa
94 Contact: linux-edac@vger.kernel.org
96 (RW) Device Physical Address (DPA) of the memory to repair.
97 The specific DPA to use will be provided in related error
101 decoders have been configured), memory devices (e.g. CXL)
103 physical address map. As such, the memory to repair must be
105 using a DPA. The device physical address(DPA) to use will be
108 What: /sys/bus/edac/devices/<dev-name>/mem_repairX/nibble_mask
111 Contact: linux-edac@vger.kernel.org
113 (RW) Read/Write Nibble mask of the memory to repair.
115 memory bus that produced the error event. Nibble Mask bit 0
116 shall be set if nibble 0 on the memory bus produced the
118 bit set to 1 indicates the request to perform repair
120 to 1 indicates the request to perform the operation in all
121 devices. Eg. for CXL memory repair, the specific value of
122 nibble mask to use will be provided in related error records.
124 section 8.2.9.7.1.2 Table 8-103 soft PPR and section
125 8.2.9.7.1.3 Table 8-104 hard PPR, section 8.2.9.7.1.4
126 Table 8-105 memory sparing.
128 What: /sys/bus/edac/devices/<dev-name>/mem_repairX/min_hpa
129 What: /sys/bus/edac/devices/<dev-name>/mem_repairX/max_hpa
130 What: /sys/bus/edac/devices/<dev-name>/mem_repairX/min_dpa
131 What: /sys/bus/edac/devices/<dev-name>/mem_repairX/max_dpa
134 Contact: linux-edac@vger.kernel.org
136 (RW) The supported range of memory address that is to be
137 repaired. The memory device may give the supported range of
138 attributes to use and it will depend on the memory device
139 and the portion of memory to repair.
141 to use for a repair operation from the memory device via
143 and CXL general media error records in CXL memory devices.
145 What: /sys/bus/edac/devices/<dev-name>/mem_repairX/bank_group
146 What: /sys/bus/edac/devices/<dev-name>/mem_repairX/bank
147 What: /sys/bus/edac/devices/<dev-name>/mem_repairX/rank
148 What: /sys/bus/edac/devices/<dev-name>/mem_repairX/row
149 What: /sys/bus/edac/devices/<dev-name>/mem_repairX/column
150 What: /sys/bus/edac/devices/<dev-name>/mem_repairX/channel
151 What: /sys/bus/edac/devices/<dev-name>/mem_repairX/sub_channel
154 Contact: linux-edac@vger.kernel.org
156 (RW) The control attributes for the memory to be repaired.
157 The specific value of attributes to use depends on the
158 portion of memory to repair and will be reported to the host
159 in related error records and be available to userspace
161 error records of CXL memory devices.
164 value of memory requested to be repaired.
166 bank_group - The bank group of the memory to repair.
168 bank - The bank number of the memory to repair.
170 rank - The rank of the memory to repair. Rank is defined as a
171 set of memory devices on a channel that together execute a
174 row - The row number of the memory to repair.
176 column - The column number of the memory to repair.
178 channel - The channel of the memory to repair. Channel is
182 sub_channel - The subchannel of the memory to repair.
184 The requirement to set these attributes varies based on the
188 For example, CXL spec ver 3.1, Section 8.2.9.7.1.2 Table 8-103
189 soft PPR and Section 8.2.9.7.1.3 Table 8-104 hard PPR operations,
190 these attributes are not required to set. CXL spec ver 3.1,
191 Section 8.2.9.7.1.4 Table 8-105 memory sparing, these attributes
192 are required to set based on memory sparing granularity.
194 What: /sys/bus/edac/devices/<dev-name>/mem_repairX/repair
197 Contact: linux-edac@vger.kernel.org
199 (WO) Issue the memory repair operation for the specified
200 memory repair attributes. The operation may fail if resources
201 are insufficient based on the requirements of the memory
204 - 1 - Issue the repair operation.
206 - All other values are reserved.