@@ -198,7 +198,7 @@ Description:
198198
199199What: /sys/bus/cxl/devices/endpointX/CDAT
200200Date: July, 2022
201- KernelVersion: v5.20
201+ KernelVersion: v6.0
202202Contact: linux-cxl@vger.kernel.org
203203Description:
204204 (RO) If this sysfs entry is not present no DOE mailbox was
@@ -209,7 +209,7 @@ Description:
209209
210210What: /sys/bus/cxl/devices/decoderX.Y/mode
211211Date: May, 2022
212- KernelVersion: v5.20
212+ KernelVersion: v6.0
213213Contact: linux-cxl@vger.kernel.org
214214Description:
215215 (RW) When a CXL decoder is of devtype "cxl_decoder_endpoint" it
@@ -229,7 +229,7 @@ Description:
229229
230230What: /sys/bus/cxl/devices/decoderX.Y/dpa_resource
231231Date: May, 2022
232- KernelVersion: v5.20
232+ KernelVersion: v6.0
233233Contact: linux-cxl@vger.kernel.org
234234Description:
235235 (RO) When a CXL decoder is of devtype "cxl_decoder_endpoint",
@@ -240,7 +240,7 @@ Description:
240240
241241What: /sys/bus/cxl/devices/decoderX.Y/dpa_size
242242Date: May, 2022
243- KernelVersion: v5.20
243+ KernelVersion: v6.0
244244Contact: linux-cxl@vger.kernel.org
245245Description:
246246 (RW) When a CXL decoder is of devtype "cxl_decoder_endpoint" it
@@ -260,7 +260,7 @@ Description:
260260
261261What: /sys/bus/cxl/devices/decoderX.Y/interleave_ways
262262Date: May, 2022
263- KernelVersion: v5.20
263+ KernelVersion: v6.0
264264Contact: linux-cxl@vger.kernel.org
265265Description:
266266 (RO) The number of targets across which this decoder's host
@@ -275,7 +275,7 @@ Description:
275275
276276What: /sys/bus/cxl/devices/decoderX.Y/interleave_granularity
277277Date: May, 2022
278- KernelVersion: v5.20
278+ KernelVersion: v6.0
279279Contact: linux-cxl@vger.kernel.org
280280Description:
281281 (RO) The number of consecutive bytes of host physical address
@@ -285,25 +285,25 @@ Description:
285285 interleave_granularity).
286286
287287
288- What: /sys/bus/cxl/devices/decoderX.Y/create_pmem_region
289- Date: May, 2022
290- KernelVersion: v5.20
288+ What: /sys/bus/cxl/devices/decoderX.Y/create_{pmem,ram}_region
289+ Date: May, 2022, January, 2023
290+ KernelVersion: v6.0 (pmem), v6.3 (ram)
291291Contact: linux-cxl@vger.kernel.org
292292Description:
293293 (RW) Write a string in the form 'regionZ' to start the process
294- of defining a new persistent memory region (interleave-set)
295- within the decode range bounded by root decoder 'decoderX.Y'.
296- The value written must match the current value returned from
297- reading this attribute. An atomic compare exchange operation is
298- done on write to assign the requested id to a region and
299- allocate the region-id for the next creation attempt. EBUSY is
300- returned if the region name written does not match the current
301- cached value.
294+ of defining a new persistent, or volatile memory region
295+ (interleave-set) within the decode range bounded by root decoder
296+ 'decoderX.Y'. The value written must match the current value
297+ returned from reading this attribute. An atomic compare exchange
298+ operation is done on write to assign the requested id to a
299+ region and allocate the region-id for the next creation attempt.
300+ EBUSY is returned if the region name written does not match the
301+ current cached value.
302302
303303
304304What: /sys/bus/cxl/devices/decoderX.Y/delete_region
305305Date: May, 2022
306- KernelVersion: v5.20
306+ KernelVersion: v6.0
307307Contact: linux-cxl@vger.kernel.org
308308Description:
309309 (WO) Write a string in the form 'regionZ' to delete that region,
@@ -312,17 +312,18 @@ Description:
312312
313313What: /sys/bus/cxl/devices/regionZ/uuid
314314Date: May, 2022
315- KernelVersion: v5.20
315+ KernelVersion: v6.0
316316Contact: linux-cxl@vger.kernel.org
317317Description:
318318 (RW) Write a unique identifier for the region. This field must
319319 be set for persistent regions and it must not conflict with the
320- UUID of another region.
320+ UUID of another region. For volatile ram regions this
321+ attribute is a read-only empty string.
321322
322323
323324What: /sys/bus/cxl/devices/regionZ/interleave_granularity
324325Date: May, 2022
325- KernelVersion: v5.20
326+ KernelVersion: v6.0
326327Contact: linux-cxl@vger.kernel.org
327328Description:
328329 (RW) Set the number of consecutive bytes each device in the
@@ -333,7 +334,7 @@ Description:
333334
334335What: /sys/bus/cxl/devices/regionZ/interleave_ways
335336Date: May, 2022
336- KernelVersion: v5.20
337+ KernelVersion: v6.0
337338Contact: linux-cxl@vger.kernel.org
338339Description:
339340 (RW) Configures the number of devices participating in the
@@ -343,7 +344,7 @@ Description:
343344
344345What: /sys/bus/cxl/devices/regionZ/size
345346Date: May, 2022
346- KernelVersion: v5.20
347+ KernelVersion: v6.0
347348Contact: linux-cxl@vger.kernel.org
348349Description:
349350 (RW) System physical address space to be consumed by the region.
@@ -358,9 +359,20 @@ Description:
358359 results in the same address being allocated.
359360
360361
362+ What: /sys/bus/cxl/devices/regionZ/mode
363+ Date: January, 2023
364+ KernelVersion: v6.3
365+ Contact: linux-cxl@vger.kernel.org
366+ Description:
367+ (RO) The mode of a region is established at region creation time
368+ and dictates the mode of the endpoint decoder that comprise the
369+ region. For more details on the possible modes see
370+ /sys/bus/cxl/devices/decoderX.Y/mode
371+
372+
361373What: /sys/bus/cxl/devices/regionZ/resource
362374Date: May, 2022
363- KernelVersion: v5.20
375+ KernelVersion: v6.0
364376Contact: linux-cxl@vger.kernel.org
365377Description:
366378 (RO) A region is a contiguous partition of a CXL root decoder
@@ -372,7 +384,7 @@ Description:
372384
373385What: /sys/bus/cxl/devices/regionZ/target[0..N]
374386Date: May, 2022
375- KernelVersion: v5.20
387+ KernelVersion: v6.0
376388Contact: linux-cxl@vger.kernel.org
377389Description:
378390 (RW) Write an endpoint decoder object name to 'targetX' where X
@@ -391,7 +403,7 @@ Description:
391403
392404What: /sys/bus/cxl/devices/regionZ/commit
393405Date: May, 2022
394- KernelVersion: v5.20
406+ KernelVersion: v6.0
395407Contact: linux-cxl@vger.kernel.org
396408Description:
397409 (RW) Write a boolean 'true' string value to this attribute to
0 commit comments