linux/drivers/cxl
Ben Widawsky 1d5a415907 cxl/mem: Move register locator logic into reg setup
Start moving code around to ultimately get rid of @cxlm.base. The
@cxlm.base member serves no purpose other than intermediate storage of
the offset found in cxl_mem_map_regblock() later used by
cxl_mem_setup_regs(). Aside from wanting to get rid of this useless
member, it will help later when adding new register block identifiers.

While @cxlm.base still exists, it will become trivial to remove it in a
future patch.

No functional change is meant to be introduced in this patch.

Signed-off-by: Ben Widawsky <ben.widawsky@intel.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Link: https://lore.kernel.org/r/20210407222625.320177-4-ben.widawsky@intel.com
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
2021-05-26 11:20:18 -07:00
..
core.c cxl/mem: Demarcate vendor specific capability IDs 2021-05-26 11:20:17 -07:00
cxl.h cxl/core: Refactor CXL register lookup for bridge reuse 2021-05-14 16:13:19 -07:00
Kconfig cxl: Rename mem to pci 2021-05-26 11:19:05 -07:00
Makefile cxl: Rename mem to pci 2021-05-26 11:19:05 -07:00
mem.h cxl/pci.c: Add a 'label_storage_size' attribute to the memdev 2021-05-26 11:20:17 -07:00
pci.c cxl/mem: Move register locator logic into reg setup 2021-05-26 11:20:18 -07:00
pci.h