[PATCH 0/1] mem/cxl-type3: Add a default value of sn

Yuquan Wang posted 1 patch 12 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20250211022413.80842-1-wangyuquan1236@phytium.com.cn
Maintainers: Jonathan Cameron <jonathan.cameron@huawei.com>, Fan Ni <fan.ni@samsung.com>
hw/mem/cxl_type3.c | 17 ++++-------------
1 file changed, 4 insertions(+), 13 deletions(-)
[PATCH 0/1] mem/cxl-type3: Add a default value of sn
Posted by Yuquan Wang 12 months ago
The previous default value of sn is UI64_NULL which would cause the
cookie of nd_interleave_set be '0' and the "invalid interleave-set
-cookie" failure in label validation.

As many users maybe not know how to set a unique sn for cxl-type3
device and perhaps be confuesd by the failure of label validation,
so this defines '1' as the default value of serial number to fix the
problem.

Yuquan Wang (1):
  mem/cxl-type3: Add a default value of sn

 hw/mem/cxl_type3.c | 17 ++++-------------
 1 file changed, 4 insertions(+), 13 deletions(-)

-- 
2.34.1