1CXL-ENABLE-MEMDEV(1) CXL-ENABLE-MEMDEV(1)
2
3
4
6 cxl-enable-memdev - activate / hot-add a given CXL memdev
7
9 cxl enable-memdev <mem0> [<mem1>..<memN>] [<options>]
10
11 A memdev typically autoenables at initial device discovery. However, if
12 it was manually disabled this command can trigger the kernel to
13 activate it again. This involves detecting the state of the HDM (Host
14 Managed Device Memory) Decoders and validating that CXL.mem is enabled
15 for each port in the device’s hierarchy.
16
18 <memory device(s)>
19 A memX device name, or a memdev id number. Restrict the operation
20 to the specified memdev(s). The keyword all can be specified to
21 indicate the lack of any restriction.
22
23 -S, --serial
24 Rather an a memdev id number, interpret the <memdev> argument(s) as
25 a list of serial numbers.
26
27 -b, --bus=
28 Restrict the operation to the specified bus.
29
30 -v
31 Turn on verbose debug messages in the library (if libcxl was built
32 with logging and debug enabled).
33
35 Copyright © 2016 - 2022, Intel Corporation. License GPLv2: GNU GPL
36 version 2 http://gnu.org/licenses/gpl.html. This is free software: you
37 are free to change and redistribute it. There is NO WARRANTY, to the
38 extent permitted by law.
39
41 linkcxl:cxl-disable-memdev[1]
42
43
44
45 08/03/2023 CXL-ENABLE-MEMDEV(1)