RFC Region creation/configuration ABI
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest2 patches 7 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | cxl/region: Add region creation ABIDocumentation/ Documentation/ drivers/ +6 more | +313 | 4 replies | |
| 2/2 | cxl/region: Introduce concept of region configurationDocumentation/ drivers/ drivers/ +2 more | +495 | 3 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC PATCH 0/2] Region creation/configuration ABI
I'm looking for feedback on the next generation of the region configuration and creation ABI. The primary changes from the v3 posting of the region driver [1] are:
- Decoders instead of memdevs for targets
- Substantial rework around creation
- configuration sanitization at ABI boundary
- teardown region on memdev/decoder removal
With the new changes, it makes the most sense to rework the series so that existing region enumeration (setup by boot firmware) be done prior to allowing region creation. This is because the changes requested will require claiming resources at configuration time rather than region->probe() time.
That said, these patches do reflect the proposed ABI and they can be reviewed in parallel with that work. I'd appreciate feedback around whether the proposed ABI is missing anything, and, whether there are inherent flaws in the implementation.
[1]: https://lore.kernel.org/linux-cxl/[email protected]/
Ben Widawsky (2):
cxl/region: Add region creation ABI cxl/region: Introduce concept of region configuration
Documentation/ABI/testing/sysfs-bus-cxl | 82 +++ .../driver-api/cxl/memory-devices.rst | 11 + drivers/cxl/core/Makefile | 1 + drivers/cxl/core/core.h | 3 + drivers/cxl/core/port.c | 26 + drivers/cxl/core/region.c | 568 ++++++++++++++++++ drivers/cxl/cxl.h | 21 +- drivers/cxl/region.h | 93 +++ tools/testing/cxl/Kbuild | 1 + 9 files changed, 805 insertions(+), 1 deletion(-) create mode 100644 drivers/cxl/core/region.c create mode 100644 drivers/cxl/region.h
base-commit: 3bdf187d313e067de2a81109f9a1dd3da7f3dc2c
Signature · 1 line
2.35.1