hw/cxl: Add clear poison mailbox command support.
commit6bda41a69bdcee8ff7dcf75df2f9647ce55908ab
authorJonathan Cameron <Jonathan.Cameron@huawei.com>
Fri, 26 May 2023 17:00:10 +0000 (26 18:00 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 22 Jun 2023 22:55:14 +0000 (22 18:55 -0400)
tree10555b5fd1647822344c4450180c9b7dd6e14735
parentff04b207a0525b3f77b6352ce3a2e610b11ea34f
hw/cxl: Add clear poison mailbox command support.

Current implementation is very simple so many of the corner
cases do not exist (e.g. fragmenting larger poison list entries)

Reviewed-by: Fan Ni <fan.ni@samsung.com>
Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Message-Id: <20230526170010.574-5-Jonathan.Cameron@huawei.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/cxl/cxl-mailbox-utils.c
hw/mem/cxl_type3.c
include/hw/cxl/cxl_device.h