Skip to content

hw/cxl/cxl-mailbox-utils: Add feature commands, device patrol scrub control and DDR5 ECS control feature

Jonathan Cameron linux-cxl qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v6 Latest4 patches 1 replyIn review

Changes in v6 from the cover letter

- 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.

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4cxl/mailbox: move mailbox effect definitions to a headerhw/cxl/cxl-mailbox-utils.c include/hw/cxl/cxl_mailbox.h+33 -190 replies
2/4hw/cxl/cxl-mailbox-utils: Add support for feature commands (8.2.9.6)hw/cxl/cxl-mailbox-utils.c include/hw/cxl/cxl_device.h+268 -00 replies
3/4hw/cxl/cxl-mailbox-utils: Add device patrol scrub control featurehw/cxl/cxl-mailbox-utils.c hw/mem/cxl_type3.c include/hw/cxl/cxl_device.h+107 -50 replies
4/4hw/cxl/cxl-mailbox-utils: Add device DDR5 ECS control featurehw/cxl/cxl-mailbox-utils.c hw/mem/cxl_type3.c include/hw/cxl/cxl_device.h+109 -01 reply

Reviews trailers per patch

3 of 4 patches have a Reviewed-by or Acked-by.

PatchDavidlohr BuesoFan Ni
1/4
2/4R-b R-b
3/4R-b R-b
4/4R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v6 thread

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

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: [email protected]

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
Signature · 1 line
2.43.0