// SPDX-License-Identifier: GPL-2.0

cxl-disable-region(1)
=====================

NAME
----
cxl-disable-region - disable specified region(s).

SYNOPSIS
--------
[verse]
'cxl disable-region <region> [<options>]'

include::region-description.txt[]

If there are memory blocks that are still online, the operation will attempt to
offline the relevant blocks. If the offlining fails, the operation fails when not
using the -f (force) parameter.

EXAMPLE
-------
----
# cxl disable-region all
disabled 2 regions
----

include::xable-no-op.txt[]

OPTIONS
-------
include::bus-option.txt[]

-f::
--force::
	Attempt to disable-region even though memory cannot be offlined successfully.
	Will emit warning that operation will permanently leak physical address space
	and cannot be recovered until a reboot.

include::decoder-option.txt[]

include::debug-option.txt[]

include::../copyright.txt[]

SEE ALSO
--------
linkcxl:cxl-list[1], linkcxl:cxl-enable-region[1]
