Linux CXL
 help / color / mirror / Atom feed
* [PATCH RFC v2 0/1] cxl/pci: Support Global Persistent Flush (GPF)
@ 2024-12-20 16:43 Davidlohr Bueso
  2024-12-20 16:43 ` [PATCH RFC 1/1] " Davidlohr Bueso
  0 siblings, 1 reply; 8+ messages in thread
From: Davidlohr Bueso @ 2024-12-20 16:43 UTC (permalink / raw)
  To: dave.jiang, dan.j.williams
  Cc: jonathan.cameron, alison.schofield, ira.weiny, vishal.l.verma,
	seven.yi.lee, hch, a.manzanares, fan.ni, dave, linux-cxl

Hello,

Changes from previous RFC:
 - Added dirty shutdown support such that users can tell via Health
   if there was any data integrity issues. This patch is still marked
   RFC because while in fail (GPF) scenarios that successfully flush the
   data the dirty state is cleared, there is no mention of the regular
   reboot and shutdown scenarios:
   
      o Is the spec relying on the driver to do so? (currently we can
        only reach hot-unplug for this). Regardless, this could use some
	clarification in the spec.
	
      o The spec only mentions reboot/shutdown in that it sets the dirty
        state upon data integrity issues.
   
 - Limited max T1 timeout to 20 seconds (lockup detector default)

For testing, there are patches out for qemu (dirty shutdown):

    https://lore.kernel.org/linux-cxl/20241220160026.204055-3-dave@stgolabs.net/
    
... as well as those shown in the previous RFC:

   https://lore.kernel.org/linux-cxl/20241205082101.1193038-1-dave@stgolabs.net/

Thanks!

Davidlohr Bueso (1):
  cxl/pci: Support Global Persistent Flush (GPF)

 Documentation/driver-api/cxl/maturity-map.rst |   2 +-
 drivers/cxl/core/mbox.c                       |  17 +++
 drivers/cxl/core/pci.c                        | 104 ++++++++++++++++++
 drivers/cxl/core/port.c                       |  68 ++++++++++++
 drivers/cxl/cxl.h                             |   3 +
 drivers/cxl/cxlmem.h                          |  24 ++++
 drivers/cxl/cxlpci.h                          |  64 +++++++++++
 drivers/cxl/pci.c                             |  97 ++++++++++++++++
 8 files changed, 378 insertions(+), 1 deletion(-)

--
2.39.5


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

end of thread, other threads:[~2025-01-17 11:49 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-20 16:43 [PATCH RFC v2 0/1] cxl/pci: Support Global Persistent Flush (GPF) Davidlohr Bueso
2024-12-20 16:43 ` [PATCH RFC 1/1] " Davidlohr Bueso
2024-12-20 18:21   ` Ira Weiny
2024-12-21  4:14     ` Davidlohr Bueso
2024-12-23 19:53   ` Jonathan Cameron
2025-01-17  2:28   ` Dan Williams
2025-01-17  7:17     ` Davidlohr Bueso
2025-01-17  7:33       ` Dan Williams

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