1What:		/sys/bus/edac/devices/<dev-name>/scrubX
2Date:		March 2025
3KernelVersion:	6.15
4Contact:	linux-edac@vger.kernel.org
5Description:
6		The sysfs EDAC bus devices /<dev-name>/scrubX subdirectory
7		belongs to an instance of memory scrub control feature,
8		where <dev-name> directory corresponds to a device/memory
9		region registered with the EDAC device driver for the
10		scrub control feature.
11
12		The sysfs scrub attr nodes are only present if the parent
13		driver has implemented the corresponding attr callback
14		function and provided the necessary operations to the EDAC
15		device driver during registration.
16
17What:		/sys/bus/edac/devices/<dev-name>/scrubX/addr
18Date:		March 2025
19KernelVersion:	6.15
20Contact:	linux-edac@vger.kernel.org
21Description:
22		(RW) The base address of the memory region to be scrubbed
23		for on-demand scrubbing. Setting address starts scrubbing.
24		The size must be set before that.
25
26		The readback addr value is non-zero if the requested
27		on-demand scrubbing is in progress, zero otherwise.
28
29What:		/sys/bus/edac/devices/<dev-name>/scrubX/size
30Date:		March 2025
31KernelVersion:	6.15
32Contact:	linux-edac@vger.kernel.org
33Description:
34		(RW) The size of the memory region to be scrubbed
35		(on-demand scrubbing).
36
37What:		/sys/bus/edac/devices/<dev-name>/scrubX/enable_background
38Date:		March 2025
39KernelVersion:	6.15
40Contact:	linux-edac@vger.kernel.org
41Description:
42		(RW) Start/Stop background (patrol) scrubbing if supported.
43
44What:		/sys/bus/edac/devices/<dev-name>/scrubX/min_cycle_duration
45Date:		March 2025
46KernelVersion:	6.15
47Contact:	linux-edac@vger.kernel.org
48Description:
49		(RO) Supported minimum scrub cycle duration in seconds
50		by the memory scrubber.
51
52What:		/sys/bus/edac/devices/<dev-name>/scrubX/max_cycle_duration
53Date:		March 2025
54KernelVersion:	6.15
55Contact:	linux-edac@vger.kernel.org
56Description:
57		(RO) Supported maximum scrub cycle duration in seconds
58		by the memory scrubber.
59
60What:		/sys/bus/edac/devices/<dev-name>/scrubX/current_cycle_duration
61Date:		March 2025
62KernelVersion:	6.15
63Contact:	linux-edac@vger.kernel.org
64Description:
65		(RW) The current scrub cycle duration in seconds and must be
66		within the supported range by the memory scrubber.
67
68		Scrub has an overhead when running and that may want to be
69		reduced by taking longer to do it.
70