[PATCH qemu 0/8] hw/cxl: new features for 10.0 (possibly)

Jonathan Cameron via posted 8 patches 3 weeks, 5 days ago
docs/system/devices/cxl.rst  |  18 +-
include/hw/cxl/cxl_device.h  |  43 +++
include/hw/cxl/cxl_mailbox.h |   6 +
hw/cxl/cxl-device-utils.c    |  14 +-
hw/cxl/cxl-mailbox-utils.c   | 668 +++++++++++++++++++++++++++++++++--
hw/mem/cxl_type3.c           |  22 +-
6 files changed, 722 insertions(+), 49 deletions(-)
[PATCH qemu 0/8] hw/cxl: new features for 10.0 (possibly)
Posted by Jonathan Cameron via 3 weeks, 5 days ago
Hi Michael / All,

This is a bit late in the cycle due to some travel and alignment with the
end of a kernel cycle which has made me very busy. If needed I'll send a
rebased version of these right at the start of the 10.1 cycle.

As in previous cycles I have been gathering up reviewed patches so as to
resolve merge conflicts etc before proposing a set to merge to Michael
Tsirkin (and for additional review). The focus of the CXL support continues
to be on emulating a subset of features useful to Linux kernel testing +
more limited support for out of band management over mctp
(one patch in here)

Note that I've only picked up the first of Arpit's series for log
manipulation as the clear and populate log functions are only useful if
any of the supported logs actually allow those functions otherwise they
will always return an error (which will occur for all logs we currently
emulate) The capabilities query is applicable for the Command Effects Log
and indeed indicates that we can't clear or populate it. So that is fine
on it's own.

Otherwise this is a mixed bag of features. The media operations are
particularly interesting as they enable offloading of memory zeroing
/ wiping.  Support for aborting background operations is needed to
enable testing of a feature that allows us to enable userspace access
to background commands without risking lockout of urgent kernel commands

Thanks,

Jonathan

Arpit Kumar (1):
  hw/cxl/cxl-mailbox-utils: Added support for Get Log Capabilities
    (Opcode 0402h)

Davidlohr Bueso (2):
  hw/cxl: Support aborting background commands
  hw/cxl: Support get/set mctp response payload size

Sweta Kumari (1):
  hw/cxl/cxl-mailbox-utils: CXL CCI Get/Set alert config commands

Vinayak Holikatti (3):
  hw/cxl/cxl-mailbox-utils: Add support for Media operations discovery
    commands cxl r3.2 (8.2.10.9.5.3)
  hw/cxl: factor out calculation of sanitize duration from
    cmd_santize_overwrite
  hw/cxl/cxl-mailbox-utils: Media operations Sanitize and Write Zeros
    commands CXL r3.2(8.2.10.9.5.3)

Yuquan Wang (1):
  docs/cxl: Add serial number for persistent-memdev

 docs/system/devices/cxl.rst  |  18 +-
 include/hw/cxl/cxl_device.h  |  43 +++
 include/hw/cxl/cxl_mailbox.h |   6 +
 hw/cxl/cxl-device-utils.c    |  14 +-
 hw/cxl/cxl-mailbox-utils.c   | 668 +++++++++++++++++++++++++++++++++--
 hw/mem/cxl_type3.c           |  22 +-
 6 files changed, 722 insertions(+), 49 deletions(-)

-- 
2.43.0