hw/cxl/mbox: Wire up interrupts for background completion
authorDavidlohr Bueso <dave@stgolabs.net>
Mon, 23 Oct 2023 16:08:01 +0000 (17:08 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 7 Nov 2023 08:39:11 +0000 (03:39 -0500)
commit43efb0bfad2b81b32fc19da442cbea2835cf38d4
treef6034bd57ff132f6a8df0c01b6f66f1c5f7b2e88
parent221d2cfbdb5301f8f0cfbf26baf76544a5d71c27
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>
hw/cxl/cxl-device-utils.c
hw/cxl/cxl-mailbox-utils.c
include/hw/cxl/cxl_device.h