forked from mirror/qemu
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
f5ee7413d5
The CDAT can be specified in two ways. One is to add ",cdat=<filename>" in "-device cxl-type3"'s command option. The file is required to provide the whole CDAT table in binary mode. The other is to use the default that provides some 'reasonable' numbers based on type of memory and size. The DOE capability supporting CDAT is added to hw/mem/cxl_type3.c with capability offset 0x190. The config read/write to this capability range can be generated in the OS to request the CDAT data. Signed-off-by: Huai-Cheng Kuo <hchkuo@avery-design.com.tw> Signed-off-by: Chris Browy <cbrowy@avery-design.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Message-Id: <20221014151045.24781-5-Jonathan.Cameron@huawei.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> |
2 years ago | |
---|---|---|
.. | ||
Kconfig | 3 years ago | |
cxl_type3.c | 2 years ago | |
memory-device.c | 4 years ago | |
meson.build | 3 years ago | |
npcm7xx_mc.c | 4 years ago | |
nvdimm.c | 2 years ago | |
pc-dimm.c | 3 years ago | |
sparse-mem.c | 4 years ago | |
trace-events | 4 years ago | |
trace.h | 4 years ago |