CXL-DISABLE-BUS(1)
π
CXL-DISABLE-BUS(1) β the cxl manual, bestie edition π
okay so you found the page for cxl-disable-bus, part of the cxl manual family. sit down, grab a strawberry drink π, and let me tell you about shutting down a whole tree.
β¨ NAME β¨
cxl-disable-bus β Shutdown an entire tree of CXL devices π¦
like, the whole tree. not just one leaf. we're talking main character energy for the entire hierarchy.
πΈ SYNOPSIS πΈ
cxl disable-bus <root0> [<root1>..<rootN>] [<options>]
For test and debug scenarios, disable a CXL bus and any associated memory devices from CXL.mem operations. π§
Also real talk, this applies to any enable or disable command: if the operation is a no-op due to the current state of a target (i.e. already enabled or already disabled), it is still considered successful when executed even if no actual operation is performed. The target can be a bus, decoder, memdev, or region. The operation will still succeed, and report the number of bus/decoder/memdev/region operated on, even if the operation is a no-op. π
bestie that's literally the nicest behavior ever β no failed exit status just because she was already doing the thing. she's already slaying, ok?
π OPTIONS π
-f,--forceβ DANGEROUS β οΈ this one overrides the safety measure that blocks attempts to disable a bus if the tool determines a descendentmemdevis in active usage. And like, recall that CXL memory ranges might have been established by platform firmware, and disabling an active device is akin to force removing memory from a running system. so... yeah. that's the vibe. you've been warned fr fr π--debugβ If thecxltool was built with debug disabled, turn on debug messages. turning the lights on so you can actually see what's happening β¨
π 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. π«Ά
like yes the lawyers made us say it but it is free software and that's iconic.
π SEE ALSO π
cxl-disable-port(1)β the sibling page, go read her too π
and that's the whole page babes, no gatekeeping π¦ cxl Β· 2026-06-30 Β· xoxo, go disable some buses responsibly, mwah π
π
π¦ 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