On Thu, Apr 18, 2024 at 04:10:53PM -0700, nifan....@gmail.com wrote: > From: Fan Ni <fan...@samsung.com> > > Per cxl spec r3.1, add dynamic capacity region representative based on > Table 8-165 and extend the cxl type3 device definition to include DC region > information. Also, based on info in 8.2.9.9.9.1, add 'Get Dynamic Capacity > Configuration' mailbox support. > > Note: we store region decode length as byte-wise length on the device, which > should be divided by 256 * MiB before being returned to the host > for "Get Dynamic Capacity Configuration" mailbox command per > specification. > > Reviewed-by: Jonathan Cameron <jonathan.came...@huawei.com> > Signed-off-by: Fan Ni <fan...@samsung.com> > --- > hw/cxl/cxl-mailbox-utils.c | 96 +++++++++++++++++++++++++++++++++++++ > include/hw/cxl/cxl_device.h | 16 +++++++ > 2 files changed, 112 insertions(+) >
Reviewed-by: Gregory Price <gregory.pr...@memverge.com>