cxl/core: Hold region_rwsem during poison ops
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | cxl/core: Always hold region_rwsem while reading poison listsdrivers/ drivers/ | +8 | 3 replies | |
| 2/2 | cxl/memdev: Hold region_rwsem during inject and clear poison opsdrivers/ | +16 | 2 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Dave Jiang | Davidlohr Bueso |
|---|---|---|
| 1/2 | R-b | R-b |
| 2/2 | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/2] cxl/core: Hold region_rwsem during poison ops
From: Alison Schofield <[email protected]>
This work was previously posted as a single patch [1] and is reposted here split into 2 patches. The first patch fixes up the poison list and the second patch the poison inject and clear.
They both are cleaning up locking issues exposed by:
Commit 458ba8189cb4 ("cxl: Add cxl_decoders_committed() helper") added a lockdep_assert_held() to make sure all callers hold the region state stable while doing work that depends on the number of committed decoders.
Changes since that single patch posting:
- Put back the _interruptible() on down_reads (DavidLohr, Dan)
- Split into 2 patches (Dan)
- Add impact statements in commit logs (Dan)
[1] https://lore.kernel.org/linux-cxl/[email protected]/
Alison Schofield (2):
cxl/core: Always hold region_rwsem while reading poison lists cxl/memdev: Hold region_rwsem during inject and clear poison ops
drivers/cxl/core/memdev.c | 27 ++++++++++++++++++++++++--- drivers/cxl/core/region.c | 5 ----- 2 files changed, 24 insertions(+), 8 deletions(-)
base-commit: b85ea95d086471afb4ad062012a4d73cd328fa86
Signature · 1 line
2.37.3