Linux CXL
 help / color / mirror / Atom feed
* [PATCH 0/4] cxl/region: Endpoint decoder fixes
@ 2022-08-03  7:24 Dan Williams
  2022-08-03  7:24 ` [PATCH 1/4] cxl/region: Fix decoder interleave programming Dan Williams
                   ` (3 more replies)
  0 siblings, 4 replies; 15+ messages in thread
From: Dan Williams @ 2022-08-03  7:24 UTC (permalink / raw)
  To: linux-cxl
  Cc: Jonathan Cameron, kernel test robot, vishal.l.verma,
	alison.schofield, ira.weiny, dave.jiang

It turns out that the driver was only programming "mid-level" decoders
and not endpoint decoders. This was missed because the default settings
still allowed traffic to flow, just not to the expected DPA, and not
without aliasing.

The following fixes address that problem, but this still wants a test
environment that validates the expected DPA relative to a given HPA.
Jonathan caught this bug while trying to develop such an environment for
QEMU, but this likely also wants a cxl_test scheme to do the same. In
the meantime here is the fixup to program interleave ways + granularity
and some miscellaneous fixups for build robot reports.

These apply against current cxl/pending.

---

Dan Williams (4):
      cxl/region: Fix decoder interleave programming
      cxl/region: Move HPA setup to cxl_region_attach()
      cxl/region: Fix port setup uninitialized variable warnings
      cxl/region: Fix region commit uninitialized variable warning


 drivers/cxl/core/hdm.c    |   17 ++---------------
 drivers/cxl/core/region.c |   36 +++++++++++++++++++++++++++---------
 2 files changed, 29 insertions(+), 24 deletions(-)

base-commit: 65fc1c3d26b96002a5aa1f4012fae4dc98fd5683

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

end of thread, other threads:[~2022-08-04 20:34 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-03  7:24 [PATCH 0/4] cxl/region: Endpoint decoder fixes Dan Williams
2022-08-03  7:24 ` [PATCH 1/4] cxl/region: Fix decoder interleave programming Dan Williams
2022-08-03 15:24   ` Jonathan Cameron
2022-08-03  7:24 ` [PATCH 2/4] cxl/region: Move HPA setup to cxl_region_attach() Dan Williams
2022-08-03 15:25   ` Jonathan Cameron
2022-08-03  7:24 ` [PATCH 3/4] cxl/region: Fix port setup uninitialized variable warnings Dan Williams
2022-08-03 15:28   ` Jonathan Cameron
2022-08-03 21:22   ` Ira Weiny
2022-08-04 20:26     ` Dan Williams
2022-08-03  7:24 ` [PATCH 4/4] cxl/region: Fix region commit uninitialized variable warning Dan Williams
2022-08-03 15:41   ` Jonathan Cameron
2022-08-03 21:49   ` Ira Weiny
2022-08-03 22:07     ` Ira Weiny
2022-08-04 20:33       ` Dan Williams
2022-08-04 20:30     ` Dan Williams

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