Skip to content

Add DPA->HPA translation to dram & general_media events

[email protected] linux-cxl 6 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest4 patches 3 repliesIn review
  2. v54 patches 8 repliesSuperseded
  3. v43 patches 2 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v33 patches0 repliesSuperseded
v24 patches7 repliesSuperseded
v14 patches11 repliesSuperseded

Changes in v6 from the cover letter

- No code changes
- Patch 1: Remove wrong comment about rasdaemon not being available (Jonathan)
- Patch 1: Add Fixes tag (Jonathan)
- Patch 3: Remove blank line in tag block (Jonathan)
- Patch 1,4: Add Reviewed-by tags (Jonathan, Ira)
- Link to v5: https://lore.kernel.org/[email protected]/

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4cxl/trace: Correct DPA field masks for general_media & dram eventsdrivers/cxl/core/trace.h+2 -20 replies
2/4cxl/region: Move cxl_dpa_to_region() work to the region driverdrivers/cxl/core/core.h drivers/cxl/core/memdev.c drivers/cxl/core/region.c+51 -440 replies
3/4cxl/region: Move cxl_trace_hpa() work to the region driverdrivers/cxl/core/core.h drivers/cxl/core/region.c drivers/cxl/core/trace.c +1 more+98 -930 replies
4/4cxl/core: Add region info to cxl_general_media and cxl_dram eventsdrivers/cxl/core/mbox.c drivers/cxl/core/trace.h include/linux/cxl-event.h+75 -153 replies

Reviews trailers per patch

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

PatchIra WeinyJonathan CameronDan Williams
1/4R-b R-b
2/4R-b R-b
3/4R-b R-b
4/4R-b R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v6 thread

Cover letter [PATCH v6 0/4] Add DPA->HPA translation to dram & general_media events

From: Alison Schofield <[email protected]>

Changes in v6:
- No code changes
- Patch 1: Remove wrong comment about rasdaemon not being available (Jonathan)
- Patch 1: Add Fixes tag (Jonathan)
- Patch 3: Remove blank line in tag block (Jonathan)
- Patch 1,4: Add Reviewed-by tags (Jonathan, Ira)
- Link to v5: https://lore.kernel.org/[email protected]/

Begin Cover Letter:
Add HPA translations to CXL events: cxl_dram and cxl_general_media

Patch 1:
The DPA mask fix up patch must precede or be part of this set. It fixes the issue where upper 32 bits of DPA are truncated.

Patches 2 & 3:
Before adding the new support, do some housekeeping and move related helpers to the region driver because there is no looking up region related info without CONFIG_CXL_REGION.

Patch 4:
The new functionality is introduced - cxl_dram & cxl_general_media events. Lookup and log the DPA->HPA translation along with the region name and region uuid.

Alison Schofield (4):
cxl/trace: Correct DPA field masks for general_media & dram events cxl/region: Move cxl_dpa_to_region() work to the region driver cxl/region: Move cxl_trace_hpa() work to the region driver cxl/core: Add region info to cxl_general_media and cxl_dram events

 drivers/cxl/core/core.h   |  14 ++++
 drivers/cxl/core/mbox.c   |  36 ++++++++--
 drivers/cxl/core/memdev.c |  44 -------------
 drivers/cxl/core/region.c | 135 ++++++++++++++++++++++++++++++++++++++
 drivers/cxl/core/trace.c  |  91 -------------------------
 drivers/cxl/core/trace.h  |  50 ++++++++++----
 include/linux/cxl-event.h |  10 +++
 7 files changed, 226 insertions(+), 154 deletions(-)

base-commit: 4cece764965020c22cff7665b18a012006359095

Signature · 1 line
2.37.3