qemu/hw/cxl
Jonathan Cameron c9460561ed hw/cxl/mbox: Generalize the CCI command processing
By moving the parts of the mailbox command handling that are CCI type
specific out to the caller, make the main handling code generic. Rename it
to cxl_process_cci_message() to reflect this new generality.

Change the type3 mailbox handling (reused shortly for the switch
mailbox CCI) to take a snapshot of the mailbox input data rather
than operating on it in place.  This reduces the chance of bugs
due to aliasing going forwars.

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>

Message-Id: <20231023160806.13206-5-Jonathan.Cameron@huawei.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2023-11-07 03:39:11 -05:00
..
cxl-cdat.c hw/cxl: Line length reductions 2023-11-07 03:39:11 -05:00
cxl-component-utils.c hw/cxl: Fix a QEMU_BUILD_BUG_ON() in switch statement scope issue. 2023-11-07 03:39:11 -05:00
cxl-device-utils.c hw/cxl/mbox: Generalize the CCI command processing 2023-11-07 03:39:11 -05:00
cxl-events.c hw/cxl/mbox: Split mailbox command payload into separate input and output 2023-11-07 03:39:11 -05:00
cxl-host-stubs.c pci/pci_expander_bridge: For CXL HB delay the HB register memory region setup. 2022-06-09 19:32:49 -04:00
cxl-host.c hw/cxl: Support 4 HDM decoders at all levels of topology 2023-10-04 18:15:06 -04:00
cxl-mailbox-utils.c hw/cxl/mbox: Generalize the CCI command processing 2023-11-07 03:39:11 -05:00
Kconfig hw/cxl/component: Introduce CXL components (8.1.x, 8.2.5) 2022-05-13 06:13:35 -04:00
meson.build hw/cxl/events: Wire up get/clear event mailbox commands 2023-06-22 18:55:14 -04:00