Re: [PATCH 0/2] cxl: Fix nvdimm_bus race for nvdimm_bridge

Alison Schofield
2026-02-21T01:03:49Z

On Wed, Feb 04, 2026 at 05:16:31PM -0700, Dave Jiang wrote:
> A small series to address a race for nvdimm_bus object when using the
> nvdimm_bridge object.
>
Hi Dave,

Sorry for the delay tagging. I was hoping to find a crisp
reproducer to add to the commit log, but nothing nice enough
for a unit test, yet!

For the series:
Tested-by: Alison Schofield <alison.schofield@intel.com>
Reviewed-by: Alison Schofield <alison.schofield@intel.com?

>
> Dave Jiang (2):
> cxl/test: Removal of nvdimm_bus_register() wrapper in cxl_test
> cxl: Fix race of nvdimm_bus for the nvdimm_bridge object
>
> drivers/cxl/core/pmem.c | 236 +++++++++++++++++++++++++++++++---
> drivers/cxl/pmem.c | 199 +---------------------------
> include/linux/libnvdimm.h | 2 +-
> tools/testing/cxl/Kbuild | 1 -
> tools/testing/cxl/test/mock.c | 15 ---
> 5 files changed, 221 insertions(+), 232 deletions(-)
>
>
> base-commit: 18f7fcd5e69a04df57b563360b88be72471d6b62
> --
> 2.52.0
>