Enumerate HDM Decoder registers
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 13 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | cxl/mem: Use dev instead of pdev->devdrivers/ | +1 | 1 reply | |
| 2/7 | cxl/mem: Split creation from mapping in probedrivers/ | +40 | 1 reply | |
| 3/7 | cxl/mem: Move register locator logic into reg setupdrivers/ | +68 | 1 reply | |
| 4/7 | cxl/mem: Get rid of @cxlm.basedrivers/ drivers/ | +11 | 4 replies | |
| 5/7 | cxl/mem: Move device register setupdrivers/ | +9 | 1 reply | |
| 6/7 | cxl/mem: Create a helper to setup device regsdrivers/ | +23 | 2 replies | |
| 7/7 | cxl: Add HDM decoder capbilitiesdrivers/ drivers/ drivers/ +1 more | +155 | 4 replies |
Reviews trailers per patch
5 of 7 patches have a Reviewed-by or Acked-by.
| Patch | Jonathan Cameron |
|---|---|
| 1/7 | A-b |
| 2/7 | R-b |
| 3/7 | R-b |
| 4/7 | A-b A-b |
| 5/7 | A-b |
| 6/7 | |
| 7/7 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/7] Enumerate HDM Decoder registers
The arbiter of a Host-managed Device Memory (HDM) region is an "HDM Decoder". An HDM decoder is defined in the Compute eXpress Link (CXL) specification as hardware that handles the routing of memory ranges controlled by CXL devices in a linear, or interleaved fashion.
HDM decoders are not specific to CXL devices and therefore live in a different part of the MMIO space for CXL *components*. The CXL component registers are found and mapped in a similar way to the device registers and so a lot of this series is refactoring to try to easily add the new register block type.
Management of HDM decoders is not handled in this series. This work is the foundation for the eventual integration with libnvdimm. That integration will enable CXL persistent and volatile capacities to be managed by Linux and gain use of all the related existing infrastructure.
These patches go on top of the reworks and improvements recently submitted by Dan [1].
Ben Widawsky (7):
cxl/mem: Use dev instead of pdev->dev cxl/mem: Split creation from mapping in probe cxl/mem: Move register locator logic into reg setup cxl/mem: Get rid of @cxlm.base
cxl/mem: Move device register setup cxl/mem: Create a helper to setup device regs
cxl: Add HDM decoder capbilities
drivers/cxl/core.c | 73 +++++++++++++++ drivers/cxl/cxl.h | 48 ++++++++++ drivers/cxl/mem.c | 225 +++++++++++++++++++++++++++------------------ drivers/cxl/mem.h | 2 - drivers/cxl/pci.h | 1 + 5 files changed, 260 insertions(+), 89 deletions(-)
base-commit: 24ca2d6ff18cc59c14c0aff65025b0cc11a72722
Signature · 1 line
2.31.1