Linux CXL
 help / color / mirror / Atom feed
* [PATCH 0/3] Add sanity check for interleave setup
@ 2022-08-08 21:06 Dave Jiang
  2022-08-08 21:06 ` [PATCH 1/3] cxl: Add check for result of interleave ways plus granularity combo Dave Jiang
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Dave Jiang @ 2022-08-08 21:06 UTC (permalink / raw)
  To: linux-cxl
  Cc: dan.j.williams, vishal.l.verma, ira.weiny, alison.schofield,
	Jonathan.Cameron

The small series adds sanity check for the combination of interleave ways
and interleave granularity during region and port configuration. The
calculation references CXL spec 3.0 8.2.4.19.13 implementation note #3. The
checks also added HDM CAP retrieval for the support of new interleave ways
where 3, 6, and 12 ways support as well as 16 ways support.

---

Dave Jiang (3):
      cxl: Add check for result of interleave ways plus granularity combo
      cxl: Add CXL spec v3.0 interleave support
      tools/testing/cxl: Add interleave check support to mock cxl port device


 drivers/cxl/core/hdm.c       |  4 +++
 drivers/cxl/core/region.c    | 17 +++++++++-
 drivers/cxl/cxl.h            | 13 ++++++++
 drivers/cxl/cxlmem.h         | 60 ++++++++++++++++++++++++++++++++++++
 tools/testing/cxl/test/cxl.c |  2 ++
 5 files changed, 95 insertions(+), 1 deletion(-)

--


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

end of thread, other threads:[~2022-08-11 23:33 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-08 21:06 [PATCH 0/3] Add sanity check for interleave setup Dave Jiang
2022-08-08 21:06 ` [PATCH 1/3] cxl: Add check for result of interleave ways plus granularity combo Dave Jiang
2022-08-09 16:18   ` Dan Williams
2022-08-11 23:18     ` Dave Jiang
2022-08-09 17:06   ` Alison Schofield
2022-08-11 23:33     ` Dave Jiang
2022-08-08 21:07 ` [PATCH 2/3] cxl: Add CXL spec v3.0 interleave support Dave Jiang
2022-08-09 16:20   ` Dan Williams
2022-08-11 23:19     ` Dave Jiang
2022-08-08 21:07 ` [PATCH 3/3] tools/testing/cxl: Add interleave check support to mock cxl port device Dave Jiang
2022-08-09 16:21   ` Dan Williams
2022-08-11 23:22     ` Dave Jiang

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