mbox series

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

Message ID 20250211022413.80842-1-wangyuquan1236@phytium.com.cn (mailing list archive)
Headers show
Series mem/cxl-type3: Add a default value of sn | expand

Message

Yuquan Wang Feb. 11, 2025, 2:24 a.m. UTC
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(-)