49 lines
1.8 KiB
Diff
49 lines
1.8 KiB
Diff
|
|
From 34fc72b12cc4887cb2b551b171f6a76c860b6997 Mon Sep 17 00:00:00 2001
|
||
|
|
From: Yuquan Wang <wangyuquan1236@phytium.com.cn>
|
||
|
|
Date: Sun, 7 Apr 2024 16:35:39 +0800
|
||
|
|
Subject: [PATCH] qemu-options: Fix CXL Fixed Memory Window
|
||
|
|
interleave-granularity typo
|
||
|
|
MIME-Version: 1.0
|
||
|
|
Content-Type: text/plain; charset=UTF-8
|
||
|
|
Content-Transfer-Encoding: 8bit
|
||
|
|
|
||
|
|
Fix the unit typo of interleave-granularity of CXL Fixed Memory
|
||
|
|
Window in qemu-option.hx.
|
||
|
|
|
||
|
|
Fixes: 03b39fcf64 ("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 aa88f99c87c0e5d195d6d96190374650553ea61f)
|
||
|
|
Signed-off-by: zhujun2 <zhujun2_yewu@cmss.chinamobile.com>
|
||
|
|
---
|
||
|
|
qemu-options.hx | 6 +++---
|
||
|
|
1 file changed, 3 insertions(+), 3 deletions(-)
|
||
|
|
|
||
|
|
diff --git a/qemu-options.hx b/qemu-options.hx
|
||
|
|
index 9829b1020a..4df4dcea21 100644
|
||
|
|
--- a/qemu-options.hx
|
||
|
|
+++ b/qemu-options.hx
|
||
|
|
@@ -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,
|
||
|
|
--
|
||
|
|
2.41.0.windows.1
|
||
|
|
|