cxl: Fix nvdimm_bus race for nvdimm devices
Status from this message: Applied to cxl/fixes
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest2 patches 3 repliesApplied
- v23 patches 4 repliesSuperseded
- v12 patches 3 repliesSuperseded
Changes in v3 from the cover letter
- Just move the symbol of devm_cxl_add_nvdimm_bridge() with a wrapper function. (Dan)
- Squash the functionality of patch 2 and 3. (Dan)
- Introduce a flag to invalidate cxl_nvdimm when releasing nvdimm_bus. (Dan)
- With cxl_nvdimm marked as "invalidated" no need the check in cxl_nvdimm_driver. (Dan)
Patches in v3 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | cxl: Move devm_cxl_add_nvdimm_bridge() to cxl_pmem.kodrivers/ drivers/ drivers/ | +19 | 0 replies | |
| 2/2 | cxl: Fix race of nvdimm_bus object when creating nvdimm objectsdrivers/ drivers/ drivers/ | +39 | 2 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [PATCH v3 0/2] cxl: Fix nvdimm_bus race for nvdimm devices
v3:
- Just move the symbol of devm_cxl_add_nvdimm_bridge() with a wrapper function. (Dan)
- Squash the functionality of patch 2 and 3. (Dan)
- Introduce a flag to invalidate cxl_nvdimm when releasing nvdimm_bus. (Dan)
- With cxl_nvdimm marked as "invalidated" no need the check in cxl_nvdimm_driver. (Dan)
v2:
- Try a different approach
A small series to address a race for nvdimm_bus object when using the nvdimm_bridge object.
Dave Jiang (2):
cxl: Move devm_cxl_add_nvdimm_bridge() to cxl_pmem.ko
cxl: Fix race of nvdimm_bus object when creating nvdimm objects
drivers/cxl/core/pmem.c | 40 ++++++++++++++++++++++++++++++---------- drivers/cxl/cxl.h | 7 +++++++ drivers/cxl/pmem.c | 22 +++++++++++++++++++++- 3 files changed, 58 insertions(+), 11 deletions(-)
base-commit: 63fbf275fa9f18f7020fb8acf54fa107e51d0f23
Signature · 1 line
2.53.0