CXL-DISABLE-PORT(1)
π CXL-DISABLE-PORT(1) π
okay so bestie, you're reading a page from the cxl manual β yes, that cxl β and this is the β¨glow-upβ¨ edition of the cxl-disable-port page. buckle up π
πΈ NAME πΈ
cxl-disable-port β disable / hot-remove a given CXL port and its whole lil descendant family π
π¦ SYNOPSIS π¦
cxl disable-port <port0> [<port1>..<portN>] [<options>]
β¨ what this is actually for (iykyk) β¨
For test and debug scenarios, bb π§ͺ β you disable a CXL port plus any memory devices that depend on that port being active for CXL.mem operation. like, the port has to be up for them to work, so it goes down, they go down. bye π
also, important vibes check on all these enable/disable commands generally: if your operation ends up being a no-op because the target's already in the state you asked for (already enabled, already disabled β been there, done that π), it's still considered successful when executed, even if literally nothing happened. the target can be a bus, decoder, memdev, or region. it succeeds, and it reports the number of bus/decoder/memdev/region operated on, even when the operation is a no-op. no cap π«Ά
π OPTIONS π
-e,--endpointβ toggle from treating the port arguments as Switch Port identifiers over to Endpoint Port identifiers. like flipping which flavor of port you're talking about π«-f,--forceβ β οΈ DANGEROUS β οΈ this overrides the safety measure that blocks attempts to disable a port when the tool determines a descendant memdev is in active usage. recall that CXL memory ranges might have been established by platform firmware, and disabling an active device is basically force-removing memory from a running system π do not come for me if you yeet your RAM, I warned you.--debugβ turn on additional debug messages, including library debug. maximum yapping mode π£οΈβ¨
bestie fr fr: --force is not a cute lil shortcut, it's a "yes I really do mean it, remove memory from a live system" button. handle with care π
π COPYRIGHT π
Copyright Β© 2016 - 2022, Intel Corporation. License GPLv2: GNU GPL version 2 http://gnu.org/licenses/gpl.html. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. π«Ά
π SEE ALSO π
cxl-disable-port(1)β yes, it links to itself. iconic, honestly. self-love π
and that's the whole thing babes π this page came from cxl, dated 2026-06-30, and the big fancy header name up top is literally just CXL-DISABLE-PORT(1) again β slay β¨ππ§
π¦ where this page comes from
- arch rolling: ndctl 85-1 Β· LGPL-2.1-only AND GPL-2.0-only AND CC0-1.0 AND MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms