linux/drivers/cxl
Dan Williams 16d53cb0d6 cxl/region: Drop redundant pmem region release handling
Now that a cxl_nvdimm object can only experience ->remove() via an
unregistration event (because the cxl_nvdimm bind attributes are
suppressed), additional cleanups are possible.

It is already the case that the removal of a cxl_memdev object triggers
->remove() on any associated region. With that mechanism in place there
is no need for the cxl_nvdimm removal to trigger the same. Just rely on
cxl_region_detach() to tear down the whole cxl_pmem_region.

Tested-by: Robert Richter <rrichter@amd.com>
Link: https://lore.kernel.org/r/166993041215.1882361.6321535567798911286.stgit@dwillia2-xfh.jf.intel.com
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
2022-12-02 23:06:29 -08:00
..
core cxl/region: Drop redundant pmem region release handling 2022-12-02 23:06:29 -08:00
acpi.c cxl/acpi: Simplify cxl_nvdimm_bridge probing 2022-12-01 15:52:36 -08:00
cxl.h cxl/region: Drop redundant pmem region release handling 2022-12-02 23:06:29 -08:00
cxlmem.h cxl/region: Attach endpoint decoders 2022-07-25 12:18:07 -07:00
cxlpci.h cxl/port: Read CDAT table 2022-07-19 15:38:05 -07:00
Kconfig cxl/region: Allocate HPA capacity to regions 2022-07-25 12:18:06 -07:00
Makefile PM: CXL: Disable suspend 2022-04-22 16:09:42 -07:00
mem.c cxl/mem: Enumerate port targets before adding endpoints 2022-07-21 17:19:25 -07:00
pci.c cxl/doe: Request exclusive DOE access 2022-11-14 10:07:22 -08:00
pmem.c cxl/region: Drop redundant pmem region release handling 2022-12-02 23:06:29 -08:00
port.c cxl/port: Read CDAT table 2022-07-19 15:38:05 -07:00