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.
qemu/include/hw/cxl
Li Zhijian 8f90a54cfa hw/cxl: Introduce CXL_T3_MSIX_VECTOR enumeration
Introduce the `CXL_T3_MSIX_VECTOR` enumeration to specify MSIX vector
assignments specific to the Type 3 (T3) CXL device.

The primary goal of this change is to encapsulate the MSIX vector uses
that are unique to the T3 device within an enumeration, improving code
readability and maintenance by avoiding magic numbers. This organizational
change allows for more explicit references to each vector’s role, thereby
reducing the potential for misconfiguration.

It also modified `mailbox_reg_init_common` to accept the `msi_n` parameter,
reflecting the new MSIX vector setup.

This pertains to the T3 device privately; other endpoints should refrain from
using it, despite its public accessibility to all of them.

Signed-off-by: Li Zhijian <lizhijian@fujitsu.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Message-Id: <20250203161908.145406-2-Jonathan.Cameron@huawei.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2 months ago
..
cxl.h hw/cxl/mbox: Add Physical Switch Identify command. 1 year ago
cxl_cdat.h hw/mem/cxl_type3: Fix problem with g_steal_pointer() 1 year ago
cxl_component.h hw/cxl/cxl-cdat: Make cxl_doe_cdat_init() return boolean 1 year ago
cxl_device.h hw/cxl: Introduce CXL_T3_MSIX_VECTOR enumeration 2 months ago
cxl_events.h hw/cxl/events: Add qmp interfaces to add/release dynamic capacity extents 10 months ago
cxl_host.h
cxl_mailbox.h cxl/mailbox: move mailbox effect definitions to a header 9 months ago
cxl_pci.h hw/cxl: Fix missing reserved data in CXL Device DVSEC 1 year ago