cxl/core: Move register mapping infrastructure
authorDan Williams <dan.j.williams@intel.com>
Tue, 3 Aug 2021 14:25:38 +0000 (07:25 -0700)
committerDan Williams <dan.j.williams@intel.com>
Fri, 6 Aug 2021 15:22:53 +0000 (08:22 -0700)
commit0f06157e0135f5563efbc9aadbd93ba3d9322cab
tree913ab2fdca5ef03d60966113803f8e5b3bc0e1e9
parent06737cd0d216be1cf6e8052e4fca0d391298f184
cxl/core: Move register mapping infrastructure

The register mapping infrastructure is large enough to move to its own
compilation unit. This also cleans up an unnecessary include of <mem.h>
core/bus.c.

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Ben Widawsky <ben.widawsky@intel.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Link: https://lore.kernel.org/r/162800068975.665205.12895551621746585289.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/regs.c [new file with mode: 0644]