mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
mem/cxl-type3: Add sn option to provide serial number for PCI ecap
The Device Serial Number Extended Capability PCI r6.0 sec 7.9.3 provides a standard way to provide a device serial number as an IEEE defined 64-bit extended unique identifier EUI-64. CXL 2.0 section 8.1.12.2 Memory Device PCIe Capabilities and Extended Capabilities requires this to be used to uniquely identify CXL memory devices. Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Message-Id: <20220923161835.9805-1-Jonathan.Cameron@huawei.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Ben Widawsky <bwidawsk@kernel.org>
This commit is contained in:
parent
0a17270761
commit
9c769e0446
2 changed files with 14 additions and 1 deletions
|
@ -237,6 +237,7 @@ struct CXLType3Dev {
|
|||
/* Properties */
|
||||
HostMemoryBackend *hostmem;
|
||||
HostMemoryBackend *lsa;
|
||||
uint64_t sn;
|
||||
|
||||
/* State */
|
||||
AddressSpace hostmem_as;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue