hw/cxl/cxl-mailbox-utils: Add superset extent release mailbox support
authorFan Ni <fan.ni@samsung.com>
Thu, 23 May 2024 17:44:53 +0000 (10:44 -0700)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 1 Jul 2024 21:16:04 +0000 (17:16 -0400)
commit3083f018b59fd35b9ee993715694f967c49afeb1
tree43e376432ffb5bc237776c237756414b43aa0673
parente4180db4e63b904183374c6e7ec07f66aa0decde
hw/cxl/cxl-mailbox-utils: Add superset extent release mailbox support

With the change, we extend the extent release mailbox command processing
to allow more flexible release. As long as the DPA range of the extent to
release is covered by accepted extent(s) in the device, the release can be
performed.

Tested-by: Svetly Todorov <svetly.todorov@memverge.com>
Reviewed-by: Gregory Price <gregory.price@memverge.com>
Signed-off-by: Fan Ni <fan.ni@samsung.com>
Message-Id: <20240523174651.1089554-14-nifan.cxl@gmail.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/cxl/cxl-mailbox-utils.c