Skip to content

Commit

Permalink
qemu-options: Fix CXL Fixed Memory Window interleave-granularity typo
Browse files Browse the repository at this point in the history
Fix the unit typo of interleave-granularity of CXL Fixed Memory
Window in qemu-option.hx.

Fixes: 03b39fc ("hw/cxl: Make the CFMW a machine parameter.")
Signed-off-by: Yuquan Wang wangyuquan1236@phytium.com.cn
Message-ID: <20240407083539.1488172-2-wangyuquan1236@phytium.com.cn>
[PMD: Reworded]
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
(cherry picked from commit aa88f99)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
  • Loading branch information
Yuquan Wang authored and Michael Tokarev committed Apr 10, 2024
1 parent 4f01537 commit 5d53ff2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions qemu-options.hx
Original file line number Diff line number Diff line change
Expand Up @@ -149,14 +149,14 @@ SRST
platform and configuration dependent.

``interleave-granularity=granularity`` sets the granularity of
interleave. Default 256KiB. Only 256KiB, 512KiB, 1024KiB, 2048KiB
4096KiB, 8192KiB and 16384KiB granularities supported.
interleave. Default 256 (bytes). Only 256, 512, 1k, 2k,
4k, 8k and 16k granularities supported.

Example:

::

-machine cxl-fmw.0.targets.0=cxl.0,cxl-fmw.0.targets.1=cxl.1,cxl-fmw.0.size=128G,cxl-fmw.0.interleave-granularity=512k
-machine cxl-fmw.0.targets.0=cxl.0,cxl-fmw.0.targets.1=cxl.1,cxl-fmw.0.size=128G,cxl-fmw.0.interleave-granularity=512
ERST

DEF("M", HAS_ARG, QEMU_OPTION_M,
Expand Down

0 comments on commit 5d53ff2

Please sign in to comment.