hw/cxl/cdat: CXL CDAT Data Object Exchange implementation
commitaba578bdace5303a441f8a37aad781b5cb06f38c
authorHuai-Cheng Kuo <hchkuo@avery-design.com.tw>
Fri, 14 Oct 2022 15:10:43 +0000 (14 16:10 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 7 Nov 2022 18:12:19 +0000 (7 13:12 -0500)
tree4998602462926d0b2ea290210ea97a72376a7cb2
parent23325c8df4318e5f4388dc2e53e6b7c8c3996880
hw/cxl/cdat: CXL CDAT Data Object Exchange implementation

The Data Object Exchange implementation of CXL Coherent Device Attribute
Table (CDAT). This implementation is referring to "Coherent Device
Attribute Table Specification, Rev. 1.03, July. 2022" and "Compute
Express Link Specification, Rev. 3.0, July. 2022"

This patch adds core support that will be shared by both
end-points and switch port emulation.

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-4-Jonathan.Cameron@huawei.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/cxl/cxl-cdat.c [new file with mode: 0644]
hw/cxl/meson.build
include/hw/cxl/cxl_cdat.h [new file with mode: 0644]
include/hw/cxl/cxl_component.h
include/hw/cxl/cxl_device.h
include/hw/cxl/cxl_pci.h