linux/drivers/cxl
Dan Williams e7ad1bf683 tools/testing/cxl: Add partition support
In support of testing DPA allocation mechanisms in the CXL core, the
cxl_test environment needs to support establishing and retrieving the
'pmem partition boundary.

Replace the platform_device_add_resources() method for delineating DPA
within an endpoint with an emulated DEV_SIZE amount of partitionable
capacity. Set DEV_SIZE such that an endpoint has enough capacity to
simultaneously participate in 8 distinct regions.

Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Link: https://lore.kernel.org/r/165603887411.551046.13234212587991192347.stgit@dwillia2-xfh
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
2022-07-10 10:29:26 -07:00
..
core tools/testing/cxl: Add partition support 2022-07-10 10:29:26 -07:00
acpi.c cxl: Introduce cxl_to_{ways,granularity} 2022-07-09 16:42:44 -07:00
cxl.h cxl: Introduce cxl_to_{ways,granularity} 2022-07-09 16:42:44 -07:00
cxlmem.h tools/testing/cxl: Add partition support 2022-07-10 10:29:26 -07:00
cxlpci.h cxl/port: Reuse 'struct cxl_hdm' context for hdm init 2022-05-19 08:50:42 -07:00
Kconfig PM: CXL: Disable suspend 2022-04-22 16:09:42 -07:00
Makefile PM: CXL: Disable suspend 2022-04-22 16:09:42 -07:00
mem.c cxl/mem: Add a debugfs version of 'iomem' for DPA, 'dpamem' 2022-07-10 10:10:30 -07:00
pci.c cxl/mem: Convert partition-info to resources 2022-07-09 19:43:30 -07:00
pmem.c cxl/mbox: Use __le32 in get,set_lsa mailbox structures 2022-06-21 14:09:00 -07:00
port.c cxl/port: Reuse 'struct cxl_hdm' context for hdm init 2022-05-19 08:50:42 -07:00