CXL-FREE-DPA(1)
π cxl-free-dpa π
okay so this is from the cxl manual, section 1, and itβs literally about releasing device-physical address space. bestie, weβre freeing DPA and itβs giving βcleanup eraβ β¨.
πΈ NAME πΈ
cxl-free-dpa β release device-physical address space π«Ά
β¨ SYNOPSIS β¨
cxl free-dpa <mem0> [<mem1>..<memN>] [<options>]
The CXL region provisioning process proceeds in multiple steps. One of the steps is identifying and reserving the DPA span that each member of the interleave-set (region) contributes in advance of attaching that allocation to a region. For development, test, and debug purposes this command is a helper to find the last allocated decoder on a device and zero-out / free its DPA allocation. π
π OPTIONS π
<memory device(s)>β amemXdevice name, or a memdev id number. Restrict the operation to the specified memdev(s). The keywordallcan be specified to indicate the lack of any restriction. π-S,--serialβ instead of a memdev id number, interpret the<memdev>argument(s) as a list of serial numbers. π-b,--bus=β restrict the operation to the specified bus. π-d,--decoderβ specify the decoder to free. The CXL specification mandates that DPA must be released in the reverse order it was allocated. Seecxl-reserve-dpa(1)π₯-t,--typeβ constrain the search for "last allocated decoder" to decoders targeting the given partition. π-f,--forceβ the kernel enforces CXL DPA ordering constraints on deallocation events, and the tool anticipates those and fails operations that are expected to fail without sending them to the kernel. For test purposes, continue to attempt "expected to fail" operations to exercise the driver. (yes, this is the testing-only little gremlin move π)-vβ turn on verbose debug messages in the library (iflibcxlwas built with logging and debug enabled). π¦
π 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-reserve-dpa(1) β like, go read the reserve buddy too, iykyk π«
source/version + date moment: this page is from the cxl manual, dated 2026-06-30, and its page tag is CXL-FREE-DPA(1) β mwah, bye bestie π
π¦ 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