Skip to content

Commit ec559d1

Browse files
author
Gregory Price
committed
Linux: hotplug driver-managed kexec note
1 parent b767eb7 commit ec559d1

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

doc/linux/memory-hotplug.rst

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,12 @@ The final phase of surfacing CXL memory to the kernel page allocator is for
66
the `DAX` driver to surface a `Driver Managed` memory region via the
77
memory-hotplug component.
88

9-
There are three major configurations to consider
9+
There are four major configurations to consider
1010

1111
1) Default Online Behavior (on/off and zone)
1212
2) Hotplug Memory Block size
1313
3) Memory Map Resource location
14+
4) Driver-Managed Memory Designation
1415

1516
Default Online Behavior
1617
***********************
@@ -65,3 +66,12 @@ that node, as it is a :code:`GFP_KERNEL` allocation.
6566
Systems with extremely large amounts of :code:`ZONE_MOVABLE` memory (e.g.
6667
CXL memory pools) must ensure that there is sufficient local
6768
:code:`ZONE_NORMAL` capacity to host the memory map for the hotplugged capacity.
69+
70+
Driver Managed Memory
71+
*********************
72+
The DAX driver surfaces this memory to memory-hotplug as "Driver Managed". This
73+
is not a configurable setting, but it's important to not that driver managed
74+
memory is explicitly excluded from use during kexec. This is required to ensure
75+
any reset or out-of-band operations that the CXL device may be subject to during
76+
a functional system-reboot (such as a reset-on-probe) will not cause portions of
77+
the kexec kernel to be overwritten.

0 commit comments

Comments
 (0)