aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/cxl/mock_acpi.c
diff options
context:
space:
mode:
authorGravatar Dan Williams <dan.j.williams@intel.com> 2021-09-14 12:08:40 -0700
committerGravatar Dan Williams <dan.j.williams@intel.com> 2021-09-21 13:47:10 -0700
commit2e52b6256b9af23c5a881f56b5b5e7f5cb9b8b4b (patch)
tree3f2d5de620f4136b5441a20abd4bdf09ed17513c /tools/testing/cxl/mock_acpi.c
parentcxl/pmem: Translate NVDIMM label commands to CXL label commands (diff)
downloadlinux-2e52b6256b9af23c5a881f56b5b5e7f5cb9b8b4b.tar.gz
linux-2e52b6256b9af23c5a881f56b5b5e7f5cb9b8b4b.tar.bz2
linux-2e52b6256b9af23c5a881f56b5b5e7f5cb9b8b4b.zip
cxl/pmem: Add support for multiple nvdimm-bridge objects
In preparation for a mocked unit test environment for CXL objects, allow for multiple unique nvdimm-bridge objects. For now, just allow multiple bridges to be registered. Later, when there are multiple present, further updates are needed to cxl_find_nvdimm_bridge() to identify which bridge is associated with which CXL hierarchy for nvdimm registration. Note that this does change the kernel device-name for the bridge object. User space should not have any attachment to the device name at this point as it is still early days in the CXL driver development. Acked-by: Ben Widawsky <ben.widawsky@intel.com> Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Link: https://lore.kernel.org/r/163164647007.2831228.2150246954620721526.stgit@dwillia2-desk3.amr.corp.intel.com Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'tools/testing/cxl/mock_acpi.c')
0 files changed, 0 insertions, 0 deletions