Linux CXL
 help / color / mirror / Atom feed
* [PATCH 0/2] cxl: Dirty shutdown followups
@ 2025-02-05  4:08 Davidlohr Bueso
  2025-02-05  4:08 ` [PATCH 1/2] cxl/pmem: Export dirty shutdown count via sysfs Davidlohr Bueso
  2025-02-05  4:08 ` [PATCH 2/2] tools/testing/cxl: Set Shutdown State support Davidlohr Bueso
  0 siblings, 2 replies; 9+ messages in thread
From: Davidlohr Bueso @ 2025-02-05  4:08 UTC (permalink / raw)
  To: dave.jiang, dan.j.williams
  Cc: jonathan.cameron, alison.schofield, ira.weiny, vishal.l.verma,
	seven.yi.lee, a.manzanares, fan.ni, anisa.su, dave, linux-cxl

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(-)

-- 
2.39.5


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2025-02-18 18:58 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-05  4:08 [PATCH 0/2] cxl: Dirty shutdown followups Davidlohr Bueso
2025-02-05  4:08 ` [PATCH 1/2] cxl/pmem: Export dirty shutdown count via sysfs Davidlohr Bueso
2025-02-07 10:46   ` Yee Li
2025-02-11  2:09   ` Dave Jiang
2025-02-11  4:50     ` Davidlohr Bueso
2025-02-18 18:58       ` Dave Jiang
2025-02-05  4:08 ` [PATCH 2/2] tools/testing/cxl: Set Shutdown State support Davidlohr Bueso
2025-02-11  2:16   ` Dave Jiang
2025-02-11  4:13     ` Davidlohr Bueso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox