diff options
author | Dan Williams <dan.j.williams@intel.com> | 2022-06-11 02:39:59 +0200 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2022-07-26 21:23:01 +0200 |
commit | 99183d26ed6191010fca09518dae34d6aff3cd14 (patch) | |
tree | 8718b7ea34f914b4b8b385679e7cf656494c3937 /drivers/nvdimm/virtio_pmem.h | |
parent | cxl/region: Add region driver boiler plate (diff) | |
download | linux-99183d26ed6191010fca09518dae34d6aff3cd14.tar.xz linux-99183d26ed6191010fca09518dae34d6aff3cd14.zip |
cxl/pmem: Fix offline_nvdimm_bus() to offline by bridge
Be careful to only disable cxl_pmem objects related to a given
cxl_nvdimm_bridge. Otherwise, offline_nvdimm_bus() reaches across CXL
domains and disables more than is expected.
Fixes: 21083f51521f ("cxl/pmem: Register 'pmem' / cxl_nvdimm devices")
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Link: https://lore.kernel.org/r/165784339569.1758207.1557084545278004577.stgit@dwillia2-xfh.jf.intel.com
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/nvdimm/virtio_pmem.h')
0 files changed, 0 insertions, 0 deletions