Skip to content

cxl: Fixes for hdm decoder initialization from DVSEC ranges

Yanfei Xu linux-cxl 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest4 patches 4 repliesIn review
  2. v34 patches 9 repliesSuperseded
  3. v24 patches 8 repliesSuperseded

Changes in v4 from the cover letter

- improved the commit messages for patch2 and patch3 based on Jonathan's comments.
- collected "Reviewed-by" from Jonathan v3:https://lore.kernel.org/all/[email protected]/T/

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4cxl/pci: Fix to record only non-zero rangesdrivers/cxl/core/pci.c+1 -71 reply
2/4cxl/pci: Remove duplicated implementation of waiting for memory_info_validdrivers/cxl/core/pci.c drivers/cxl/cxl.h drivers/cxl/port.c +1 more+9 -401 reply
3/4cxl/pci: Check Mem_info_valid bit for each applicable DVSECdrivers/cxl/core/pci.c+4 -41 reply
4/4cxl/pci: simplify the check of mem_enabled in cxl_hdm_decode_init()drivers/cxl/core/pci.c+11 -101 reply

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchJonathan CameronAlison Schofield
1/4R-b R-b
2/4R-b R-b
3/4R-b R-b
4/4R-b R-b

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

Read the v4 thread

Cover letter [v4 0/4] cxl: Fixes for hdm decoder initialization from DVSEC ranges

The first and third patch are intended to fix potential issues regarding to retrieve and record DVSEC ranges. The second and fourth are cleanup.

v3->v4:
- improved the commit messages for patch2 and patch3 based on Jonathan's comments.
- collected "Reviewed-by" from Jonathan v3:https://lore.kernel.org/all/[email protected]/T/

v2->v3:
- improved the commit message of patch1 to indicate potential impact of the change. (Dan)
- Dropped un-appropriate "Fixes" tag. (Dan)
- Dropped the patch2 which is a code movement in original patchset.
- Separated the original patch3 into cleanup one and logic change one which are corresponding to patch2 and patch3 in current patchset. (Dan)
v2:https://lore.kernel.org/linux-cxl/[email protected]/T/#t

Yanfei Xu (4):
cxl/pci: Fix to record only non-zero ranges
cxl/pci: Remove duplicated implementation of waiting for
memory_info_valid
cxl/pci: Check Mem_info_valid bit for each applicable DVSEC cxl/pci: simplify the check of mem_enabled in cxl_hdm_decode_init()

 drivers/cxl/core/pci.c        | 74 +++++++++--------------------------
 drivers/cxl/cxl.h             |  2 +-
 drivers/cxl/port.c            |  2 +-
 tools/testing/cxl/test/mock.c |  4 +-
 4 files changed, 23 insertions(+), 59 deletions(-)
Signature · 1 line
2.39.2