Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

cxl/Documentation: Add more description about min/max scrub cycle

user can configurare scrub cycle for a region or a memory device via
sysfs interface. Currently, these interfaces have not enough description
for the return value. So adding return value description to these
interfaces.

Suggested-by: Alison Schofield <alison.schofield@intel.com>
Signed-off-by: Shiju Jose <shiju.jose@huawei.com>
Signed-off-by: Li Ming <ming.li@zohomail.com>
Reviewed-by: Jonathan Cameron <jonathan.cameron@huawei.com>
Reviewed-by: Dave Jiang <dave.jiang@intel.com>
Reviewed-by: Davidlohr Bueso <dave@stgolabs.net>
Link: https://patch.msgid.link/20250603104314.25569-2-ming.li@zohomail.com
Signed-off-by: Dave Jiang <dave.jiang@intel.com>

authored by

Li Ming and committed by
Dave Jiang
85cc50bf fdc9be90

+16
+16
Documentation/ABI/testing/sysfs-edac-scrub
··· 49 49 (RO) Supported minimum scrub cycle duration in seconds 50 50 by the memory scrubber. 51 51 52 + Device-based scrub: returns the minimum scrub cycle 53 + supported by the memory device. 54 + 55 + Region-based scrub: returns the max of minimum scrub cycles 56 + supported by individual memory devices that back the region. 57 + 52 58 What: /sys/bus/edac/devices/<dev-name>/scrubX/max_cycle_duration 53 59 Date: March 2025 54 60 KernelVersion: 6.15 ··· 62 56 Description: 63 57 (RO) Supported maximum scrub cycle duration in seconds 64 58 by the memory scrubber. 59 + 60 + Device-based scrub: returns the maximum scrub cycle supported 61 + by the memory device. 62 + 63 + Region-based scrub: returns the min of maximum scrub cycles 64 + supported by individual memory devices that back the region. 65 + 66 + If the memory device does not provide maximum scrub cycle 67 + information, return the maximum supported value of the scrub 68 + cycle field. 65 69 66 70 What: /sys/bus/edac/devices/<dev-name>/scrubX/current_cycle_duration 67 71 Date: March 2025