mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
hw/cxl/mbox: Wire up interrupts for background completion
Notify when the background operation is done. Note that for now background commands are only supported on the main Type 3 mailbox. Signed-off-by: Davidlohr Bueso <dave@stgolabs.net> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Message-Id: <20231023160806.13206-13-Jonathan.Cameron@huawei.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
parent
221d2cfbdb
commit
43efb0bfad
3 changed files with 24 additions and 18 deletions
|
@ -193,6 +193,7 @@ typedef struct cxl_device_state {
|
|||
struct {
|
||||
MemoryRegion mailbox;
|
||||
uint16_t payload_size;
|
||||
uint8_t mbox_msi_n;
|
||||
union {
|
||||
uint8_t mbox_reg_state[CXL_MAILBOX_REGISTERS_LENGTH];
|
||||
uint16_t mbox_reg_state16[CXL_MAILBOX_REGISTERS_LENGTH / 2];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue