cxl/core: Move pmem functionality
authorDan Williams <dan.j.williams@intel.com>
Mon, 2 Aug 2021 17:29:49 +0000 (10:29 -0700)
committerDan Williams <dan.j.williams@intel.com>
Fri, 6 Aug 2021 15:22:53 +0000 (08:22 -0700)
commit06737cd0d216be1cf6e8052e4fca0d391298f184
tree76c8172133fa52148d271c10d238a8b503089292
parent95aaed266801a801add6d17cd3a4f7deb610af2e
cxl/core: Move pmem functionality

Refactor the pmem / nvdimm-bridge functionality from core/bus.c to
core/pmem.c. Introduce drivers/core/core.h to communicate data
structures and helpers between the core bus and other functionality that
registers devices on the bus.

Signed-off-by: Ben Widawsky <ben.widawsky@intel.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Link: https://lore.kernel.org/r/162792538899.368511.3881663908293411300.stgit@dwillia2-desk3.amr.corp.intel.com
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Documentation/driver-api/cxl/memory-devices.rst
drivers/cxl/core/Makefile
drivers/cxl/core/bus.c
drivers/cxl/core/core.h [new file with mode: 0644]
drivers/cxl/core/pmem.c [new file with mode: 0644]