All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] cxl: Allow passthrough decoders with >16K granularity
@ 2026-06-11  0:29 Alison Schofield
  2026-06-11  0:29 ` [PATCH 1/2] cxl/region: " Alison Schofield
  2026-06-11  0:29 ` [PATCH 2/2] cxl/test: Add a 2-way 16K root decoder for passthrough testing Alison Schofield
  0 siblings, 2 replies; 4+ messages in thread
From: Alison Schofield @ 2026-06-11  0:29 UTC (permalink / raw)
  To: Davidlohr Bueso, Jonathan Cameron, Dave Jiang, Alison Schofield,
	Vishal Verma, Ira Weiny, Dan Williams, Li Ming
  Cc: linux-cxl

Sashiko reported [1] that region setup rejects valid topologies
containing a passthrough decoder beneath a wide parent interleave. In
these configurations, a passthrough decoder can compute a granularity
above the 16K maximum encodable in the interleave granularity (IG)
field even though non-interleaving decoders do not consume that field.

The first patch avoids validating the interleave granularity of
non-interleaving decoders, encodes the IG field as a don't-care when
committing those decoders, and updates the sysfs ABI documentation
accordingly.

The second patch extends cxl-test with a topology that allows a CXL
unit test to cover this case.

A unit test update for this case is posted for review [2].

[1] https://lore.kernel.org/all/20260530002613.682E71F00893@smtp.kernel.org/
[2] https://lore.kernel.org/all/cover.1781136221.git.alison.schofield@intel.com/


Alison Schofield (2):
  cxl/region: Allow passthrough decoders with >16K granularity
  cxl/test: Add a 2-way 16K root decoder for passthrough testing

 Documentation/ABI/testing/sysfs-bus-cxl |  5 ++-
 drivers/cxl/core/hdm.c                  | 13 +++++--
 drivers/cxl/core/region.c               | 47 ++++++++++++++----------
 tools/testing/cxl/test/cxl.c            | 48 +++++++++++++++++++++++--
 4 files changed, 88 insertions(+), 25 deletions(-)


base-commit: 4549871118cf616eecdd2d939f78e3b9e1dddc48
-- 
2.37.3


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

end of thread, other threads:[~2026-06-11  0:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-11  0:29 [PATCH 0/2] cxl: Allow passthrough decoders with >16K granularity Alison Schofield
2026-06-11  0:29 ` [PATCH 1/2] cxl/region: " Alison Schofield
2026-06-11  0:42   ` sashiko-bot
2026-06-11  0:29 ` [PATCH 2/2] cxl/test: Add a 2-way 16K root decoder for passthrough testing Alison Schofield

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.