mbox series

[0/2] cxl: Dirty shutdown followups

Message ID 20250205040842.1253616-1-dave@stgolabs.net
Headers show
Series cxl: Dirty shutdown followups | expand

Message

Davidlohr Bueso Feb. 5, 2025, 4:08 a.m. UTC
Hi,

Two followup patches to the GPF work. The first adds a
$platform/dirty_shutdown sysfs attribute - my only doubt
here is where this should be documented, and for now I just
left it in the regular ABI doc for cxl bus. The second
patch adds support emulating the set shutdown state command
for the mock device.

Patch 1 has been tested with qemu, and patch 2 is only compile
tested. Applies against the -next branch.

Thanks!

Davidlohr Bueso (2):
  cxl/pmem: Export dirty shutdown count via sysfs
  tools/testing/cxl: Set Shutdown State support

 Documentation/ABI/testing/sysfs-bus-cxl       | 12 ++++
 Documentation/driver-api/cxl/maturity-map.rst |  2 +-
 drivers/cxl/core/mbox.c                       | 21 ++++++
 drivers/cxl/core/pci.c                        | 23 +++++++
 drivers/cxl/cxl.h                             |  1 +
 drivers/cxl/cxlmem.h                          | 15 ++++
 drivers/cxl/pmem.c                            | 69 ++++++++++++++++---
 tools/testing/cxl/test/mem.c                  | 23 +++++++
 8 files changed, 157 insertions(+), 9 deletions(-)