hw/cxl: Fix Get LSA input payload size which should be 8 bytes.
commit66a2356485895f82b14585bda8e04bd190841fc0
authorJonathan Cameron <Jonathan.Cameron@huawei.com>
Wed, 17 Aug 2022 14:57:58 +0000 (17 15:57 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 17 Aug 2022 17:08:11 +0000 (17 13:08 -0400)
treea02e17d484c541a8d4fc6ffb084a07e749d00432
parent29d1fbc6c6ff04492fc67626aec5ebf2439739d0
hw/cxl: Fix Get LSA input payload size which should be 8 bytes.

Get LSA needs 4 byte offset and 4 byte length arguments.
CXL rev 2.0 Table 178.

Fixes: 3ebe676a34 ("hw/cxl/device: Implement get/set Label Storage Area (LSA)")
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Message-Id: <20220817145759.32603-3-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