cxl/region: Improve Soft Reserved resource handling
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest2 patches 7 repliesIn review
- v22 patches 6 repliesSuperseded
- v12 patches 0 repliesSuperseded
Changes in v3 from the cover letter
- dev_dbg() on failure to insert resource to a soft reserved parent (Jonathan) Continue, as in previous versions of this patch, to insert the resource to the root decoder if insert to SR parent fails or SR parent does not exist.
- Replace goto/unlock with guard(mutex) in remove_soft_reserved() (DaveJ)
- Use automatic resource cleanup in add_soft_reserved() (DaveJ)
- Fixups to commit log grammar (DaveJ)
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | cxl/region: Try to add a region resource to a soft reserved parentdrivers/ | +47 | 2 replies | |
| 2/2 | cxl/region: Remove a soft reserved resource at region teardowndrivers/ | +121 | 5 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Dave Jiang | Jonathan Cameron |
|---|---|---|
| 1/2 | R-b | R-b |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v3 0/2] cxl/region: Improve Soft Reserved resource handling
From: Alison Schofield <[email protected]>
Changes in v3:
- dev_dbg() on failure to insert resource to a soft reserved parent (Jonathan) Continue, as in previous versions of this patch, to insert the resource to the root decoder if insert to SR parent fails or SR parent does not exist.
- Replace goto/unlock with guard(mutex) in remove_soft_reserved() (DaveJ)
- Use automatic resource cleanup in add_soft_reserved() (DaveJ)
- Fixups to commit log grammar (DaveJ)
v2: https://lore.kernel.org/linux-cxl/[email protected]/
Begin Cover Letter:
Make the CXL Region Driver handle these 2 observed scenarios:
1) Soft reserved resources were observed as sometimes being the parent and sometimes being the child of a region resource. Patch 1 clears up that inconsistency.
2) Soft reserved resources were also observed as stranded after region teardown, making the address space the region released unavailable for reallocation. Patch 2 implements soft reserved resource removal.
Alison Schofield (2):
cxl/region: Try to add a region resource to a soft reserved parent cxl/region: Remove a soft reserved resource at region teardown
drivers/cxl/core/region.c | 187 ++++++++++++++++++++++++++++++++++---- 1 file changed, 168 insertions(+), 19 deletions(-)
base-commit: 06c2afb862f9da8dc5efa4b6076a0e48c3fbaaa5
Signature · 1 line
2.37.3