mirror_ubuntu-kernels/drivers/cxl/core
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.h cxl/debug: Move debugfs init to cxl_core_init() 2022-07-10 09:57:28 -07:00
hdm.c cxl/mem: Add a debugfs version of 'iomem' for DPA, 'dpamem' 2022-07-10 10:10:30 -07:00
Makefile PM: CXL: Disable suspend 2022-04-22 16:09:42 -07:00
mbox.c tools/testing/cxl: Add partition support 2022-07-10 10:29:26 -07:00
memdev.c cxl/mem: Convert partition-info to resources 2022-07-09 19:43:30 -07:00
pci.c cxl/core: Drop ->platform_res attribute for root decoders 2022-07-09 16:23:37 -07:00
pmem.c cxl: Drop cxl_device_lock() 2022-04-28 14:01:55 -07:00
port.c cxl/mem: Add a debugfs version of 'iomem' for DPA, 'dpamem' 2022-07-10 10:10:30 -07:00
regs.c cxl/regs: Fix size of CXL Capability Header Register 2022-02-08 23:15:33 -08:00
suspend.c PM: CXL: Disable suspend 2022-04-22 16:09:42 -07:00