Skip to content

cxl/region: Carry the effective interleave state through target setup

Alison Schofield linux-cxl 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3cxl/region: Carry the effective interleave state through target setupdrivers/cxl/core/region.c drivers/cxl/cxl.h+27 -60 replies
2/3cxl/test: Add a 2-way 16K root decoder for passthrough testingtools/testing/cxl/test/cxl.c+46 -30 replies
3/3cxl/test: Program a don't-care granularity into the passthrough host bridgetools/testing/cxl/test/cxl.c+8 -40 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchRichard ChengDave Jiang
1/3
2/3R-b R-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] cxl/region: Carry the effective interleave state through target setup

This replaces "cxl: Allow passthrough decoders with >16K granularity"[1]

Review of that series showed the >16K failure was actually a symptom of a pre-existing problem. The switch decoder setup used the parent decoder object to carry the interleave state down the hierarchy, and a passthrough decoder's granularity is a hardware don't-care.

Patch 1 carries the effective interleave ways and granularity in each port's region reference. The approach was discussed here [2].

Patches 2 and 3 add support for cxl_test coverage.

Based on cxl/for-7.5/cxl-port-refactor

[1] https://lore.kernel.org/linux-cxl/[email protected]/
[2] https://lore.kernel.org/linux-cxl/[email protected]/

Alison Schofield (3):
cxl/region: Carry the effective interleave state through target setup cxl/test: Add a 2-way 16K root decoder for passthrough testing cxl/test: Program a don't-care granularity into the passthrough host
bridge

 drivers/cxl/core/region.c    | 28 +++++++++++++----
 drivers/cxl/cxl.h            |  5 +++
 tools/testing/cxl/test/cxl.c | 61 +++++++++++++++++++++++++++++++-----
 3 files changed, 81 insertions(+), 13 deletions(-)

base-commit: 0e3e8b653ca3ab145aced729861cf0d1a06da69e

Signature · 1 line
2.37.3