linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/8] cxl: support CXL memory RAS features
@ 2025-02-27 22:38 shiju.jose
  2025-02-27 22:38 ` [PATCH 1/8] cxl: Add helper function to retrieve a feature entry shiju.jose
                   ` (7 more replies)
  0 siblings, 8 replies; 26+ messages in thread
From: shiju.jose @ 2025-02-27 22:38 UTC (permalink / raw)
  To: linux-cxl, dan.j.williams, dave, jonathan.cameron, dave.jiang,
	alison.schofield, vishal.l.verma, ira.weiny, david,
	Vilas.Sridharan
  Cc: linux-edac, linux-acpi, linux-mm, linux-kernel, bp, tony.luck,
	rafael, lenb, mchehab, leo.duran, Yazen.Ghannam, rientjes,
	jiaqiyan, Jon.Grimm, dave.hansen, naoya.horiguchi, james.morse,
	jthoughton, somasundaram.a, erdemaktas, pgonda, duenwen, gthelen,
	wschwartz, dferguson, wbs, nifan.cxl, yazen.ghannam, tanxiaofei,
	prime.zeng, roberto.sassu, kangkang.shen, wanghuiqiang, linuxarm,
	shiju.jose

From: Shiju Jose <shiju.jose@huawei.com>

Support for CXL memory RAS features: patrol scrub, ECS, soft-PPR and
memory sparing.

This CXL series was part of the EDAC series [1].

The code is based on cxl.git: next branch [2] merged with ras.git: edac-cxl
branch [3].

1. https://lore.kernel.org/linux-cxl/20250212143654.1893-1-shiju.jose@huawei.com/
2. https://web.git.kernel.org/pub/scm/linux/kernel/git/cxl/cxl.git/log/?h=next
3. https://web.git.kernel.org/pub/scm/linux/kernel/git/ras/ras.git/log/?h=edac-cxl

Userspace code for CXL memory repair features [4] and
sample boot-script for CXL memory repair [5].

[4]: https://lore.kernel.org/lkml/20250207143028.1865-1-shiju.jose@huawei.com/
[5]: https://lore.kernel.org/lkml/20250207143028.1865-5-shiju.jose@huawei.com/

Shiju Jose (8):
  cxl: Add helper function to retrieve a feature entry
  cxl/memfeature: Add CXL memory device patrol scrub control feature
  cxl/memfeature: Add CXL memory device ECS control feature
  cxl/mbox: Add support for PERFORM_MAINTENANCE mailbox command
  cxl/region: Add helper function to determine memory is online
  cxl: Support for finding memory operation attributes from the current
    boot
  cxl/memfeature: Add CXL memory device soft PPR control feature
  cxl/memfeature: Add CXL memory device memory sparing control feature

 Documentation/edac/memory_repair.rst |  103 ++
 Documentation/edac/scrub.rst         |   64 +
 drivers/cxl/Kconfig                  |   20 +
 drivers/cxl/core/Makefile            |    1 +
 drivers/cxl/core/core.h              |   11 +
 drivers/cxl/core/features.c          |   20 +
 drivers/cxl/core/mbox.c              |   45 +-
 drivers/cxl/core/memdev.c            |    9 +
 drivers/cxl/core/memfeatures.c       | 1728 ++++++++++++++++++++++++++
 drivers/cxl/core/ras.c               |  151 +++
 drivers/cxl/core/region.c            |   15 +
 drivers/cxl/cxlmem.h                 |   82 ++
 drivers/cxl/mem.c                    |    4 +
 drivers/cxl/pci.c                    |    3 +
 drivers/edac/mem_repair.c            |    9 +
 include/linux/edac.h                 |    7 +
 16 files changed, 2270 insertions(+), 2 deletions(-)
 create mode 100644 drivers/cxl/core/memfeatures.c
 create mode 100644 drivers/cxl/core/ras.c

-- 
2.43.0



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

end of thread, other threads:[~2025-03-11  9:51 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-02-27 22:38 [PATCH 0/8] cxl: support CXL memory RAS features shiju.jose
2025-02-27 22:38 ` [PATCH 1/8] cxl: Add helper function to retrieve a feature entry shiju.jose
2025-03-07  0:55   ` Jonathan Cameron
2025-03-07  1:58   ` Fan Ni
2025-03-07 19:19   ` Alison Schofield
2025-03-10 18:15     ` Shiju Jose
2025-03-10 20:28       ` Alison Schofield
2025-03-11  9:51         ` Shiju Jose
2025-02-27 22:38 ` [PATCH 2/8] cxl/memfeature: Add CXL memory device patrol scrub control feature shiju.jose
2025-03-07  1:39   ` Dan Williams
2025-03-07 19:53   ` Alison Schofield
2025-02-27 22:38 ` [PATCH 3/8] cxl/memfeature: Add CXL memory device ECS " shiju.jose
2025-03-07  1:01   ` Jonathan Cameron
2025-03-07  2:46   ` Fan Ni
2025-03-08  1:48   ` Alison Schofield
2025-02-27 22:38 ` [PATCH 4/8] cxl/mbox: Add support for PERFORM_MAINTENANCE mailbox command shiju.jose
2025-02-27 22:38 ` [PATCH 5/8] cxl/region: Add helper function to determine memory is online shiju.jose
2025-03-07 22:01   ` Alison Schofield
2025-02-27 22:38 ` [PATCH 6/8] cxl: Support for finding memory operation attributes from the current boot shiju.jose
2025-03-08  2:09   ` Alison Schofield
2025-02-27 22:38 ` [PATCH 7/8] cxl/memfeature: Add CXL memory device soft PPR control feature shiju.jose
2025-03-07  1:04   ` Jonathan Cameron
2025-02-27 22:38 ` [PATCH 8/8] cxl/memfeature: Add CXL memory device memory sparing " shiju.jose
2025-03-07  1:11   ` Jonathan Cameron
2025-03-07 23:32     ` Alison Schofield
2025-03-08  2:35   ` Alison Schofield

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