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 -f, --force
22 DANGEROUS: Override the safety measure that blocks attempts to
23 disable a device if the tool determines the memdev is in active
24 usage. Recall that CXL memory ranges might have been established by
25 platform firmware and disabling an active device is akin to force
26 removing memory from a running system.
27
28 -v
29 Turn on verbose debug messages in the library (if libcxl was built
30 with logging and debug enabled).
31
33 Copyright © 2016 - 2022, Intel Corporation. License GPLv2: GNU GPL
34 version 2 http://gnu.org/licenses/gpl.html. This is free software: you
35 are free to change and redistribute it. There is NO WARRANTY, to the
36 extent permitted by law.
37
39 linkcxl:cxl-enable-memdev[1]
40
41
42
43 03/08/2022 CXL-DISABLE-MEMDEV(1)