]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/cxl/mbox: Add support for background operations
authorDavidlohr Bueso <dave@stgolabs.net>
Mon, 23 Oct 2023 16:08:00 +0000 (17:08 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 7 Nov 2023 08:39:11 +0000 (03:39 -0500)
commit221d2cfbdb5301f8f0cfbf26baf76544a5d71c27
tree6c2b63f3d477503f6a0e4f0873ba1a31e9577348
parent892e3479d7283a38b50e06f42624f5a1ce61d24a
hw/cxl/mbox: Add support for background operations

Support background commands in the mailbox, and update
cmd_infostat_bg_op_sts() accordingly. This patch does not implement mbox
interrupts upon completion, so the kernel driver must rely on polling to
know when the operation is done.

Signed-off-by: Davidlohr Bueso <dave@stgolabs.net>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Message-Id: <20231023160806.13206-12-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