hw/cxl/device: Add Flex Bus Port DVSEC
commit617564bf92cfc809fd50026c087c617d0e721f4c
authorIra Weiny <ira.weiny@intel.com>
Wed, 14 Dec 2022 20:54:11 +0000 (14 12:54 -0800)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 21 Dec 2022 12:32:24 +0000 (21 07:32 -0500)
tree32ac516b2c5e387a24e6486f916b0df04d9f4d35
parentfbae27e857061e1098c21944c81bd025c8946c62
hw/cxl/device: Add Flex Bus Port DVSEC

The Flex Bus Port DVSEC was missing on type 3 devices which was blocking
RAS checks.[1]

Add the Flex Bus Port DVSEC to type 3 devices as per CXL 3.0 8.2.1.3.

[1] https://lore.kernel.org/linux-cxl/167096738875.2861540.11815053323626849940.stgit@djiang5-desk3.ch.intel.com/

Cc: Dave Jiang <dave.jiang@intel.com>
Cc: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Cc: Ben Widawsky <bwidawsk@kernel.org>
Cc: qemu-devel@nongnu.org
Cc: linux-cxl@vger.kernel.org
Signed-off-by: Ira Weiny <ira.weiny@intel.com>
Message-Id: <20221213-ira-flexbus-port-v2-1-eaa48d0e0700@intel.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
hw/mem/cxl_type3.c