mbox series

[qemu,v6,0/4] hw/cxl/cxl-mailbox-utils: Add feature commands, device patrol scrub control and DDR5 ECS control feature

Message ID 20240705123039.963781-1-Jonathan.Cameron@huawei.com
Headers show
Series hw/cxl/cxl-mailbox-utils: Add feature commands, device patrol scrub control and DDR5 ECS control feature | expand

Message

Jonathan Cameron July 5, 2024, 12:30 p.m. UTC
I believe this is ready to merge (I was holding it until DCD was
in place and that is upstream now)

Changes since v5:
- Include Gregory's patch to bring forward the renames.  Not strictly
  needed here, but a sensible change and it makes reordring my
  CXL staging tree a lot simpler.

Based-on: [PATCH qemu 0/4] hw/cxl: Add support for scan media
Message-id: 20240705120643.959422-1-Jonathan.Cameron@huawei.com

Add support for the feature commands, device patrol scrub control and
DDR5 ECS control features.

CXL spec 3.1 section 8.2.9.6 describes optional device specific features.
CXL spec 3.1 section 8.2.9.9.11.1 describes the device patrol scrub control
feature.
CXL spec 3.1 section 8.2.9.9.11.2 describes the DDR5 Error Check Scrub (ECS)
control feature.

This series is one of the test vehicles for the support of RAS feature
control in Linux and having it upstream would be useful to support that work.
There are also a lot more 'features' using the feature infrastructure
that are dependent on the first 2 patches.

Gregory Price (1):
  cxl/mailbox: move mailbox effect definitions to a header

Shiju Jose (3):
  hw/cxl/cxl-mailbox-utils: Add support for feature commands (8.2.9.6)
  hw/cxl/cxl-mailbox-utils: Add device patrol scrub control feature
  hw/cxl/cxl-mailbox-utils: Add device DDR5 ECS control feature

 include/hw/cxl/cxl_device.h  |  58 +++++
 include/hw/cxl/cxl_mailbox.h |  18 ++
 hw/cxl/cxl-mailbox-utils.c   | 432 +++++++++++++++++++++++++++++++++--
 hw/mem/cxl_type3.c           |  23 ++
 4 files changed, 512 insertions(+), 19 deletions(-)
 create mode 100644 include/hw/cxl/cxl_mailbox.h