OSDN Git Service

hw/cxl/device: Implement get/set Label Storage Area (LSA)
authorBen Widawsky <ben.widawsky@intel.com>
Fri, 29 Apr 2022 14:40:46 +0000 (15:40 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 13 May 2022 10:13:36 +0000 (06:13 -0400)
commit3ebe676a3463b886cfc112b3eff58e4991051b0d
tree8cd9246588f531c918e344271058196021957fbd
parent639daf8e93bcf266d0518eecbcfe12d26644a0a9
hw/cxl/device: Implement get/set Label Storage Area (LSA)

Implement get and set handlers for the Label Storage Area
used to hold data describing persistent memory configuration
so that it can be ensured it is seen in the same configuration
after reboot.

Signed-off-by: Ben Widawsky <ben.widawsky@intel.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Message-Id: <20220429144110.25167-22-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