1CXL-DISABLE-MEMDEV(1) CXL-DISABLE-MEMDEV(1)
2
3
4
6 cxl-disable-memdev - deactivate / hot-remove a given CXL memdev
7
9 cxl disable-memdev <mem0> [<mem1>..<memN>] [<options>]
10
12 <memory device(s)>
13 A memX device name, or a memdev id number. Restrict the operation
14 to the specified memdev(s). The keyword all can be specified to
15 indicate the lack of any restriction.
16
17 -S, --serial
18 Rather an a memdev id number, interpret the <memdev> argument(s) as
19 a list of serial numbers.
20
21 -b, --bus=
22 Restrict the operation to the specified bus.
23
24 -f, --force
25 DANGEROUS: Override the safety measure that blocks attempts to
26 disable a device if the tool determines the memdev is in active
27 usage. Recall that CXL memory ranges might have been established by
28 platform firmware and disabling an active device is akin to force
29 removing memory from a running system.
30
31 -v
32 Turn on verbose debug messages in the library (if libcxl was built
33 with logging and debug enabled).
34
36 Copyright © 2016 - 2022, Intel Corporation. License GPLv2: GNU GPL
37 version 2 http://gnu.org/licenses/gpl.html. This is free software: you
38 are free to change and redistribute it. There is NO WARRANTY, to the
39 extent permitted by law.
40
42 linkcxl:cxl-enable-memdev[1]
43
44
45
46 08/03/2023 CXL-DISABLE-MEMDEV(1)