tools/testing/cxl: Add a physical_node link
authorDan Williams <dan.j.williams@intel.com>
Mon, 24 Jan 2022 00:32:12 +0000 (16:32 -0800)
committerDan Williams <dan.j.williams@intel.com>
Wed, 9 Feb 2022 06:57:33 +0000 (22:57 -0800)
commit64cda3ae6bc785960cd1b4f78c19f7ca53e0130b
treec34ef6c35e4a20a0e93fba04d08eda5a05abb4c4
parent7c7d68db0254e1b50d2d80b47774fc605846d49c
tools/testing/cxl: Add a physical_node link

Emulate what ACPI does to link a host bridge platform firmware device to
device node on the PCI bus. In this case it's just self referencing
link, but it otherwise lets the tooling test out its lookup code.

Link: https://lore.kernel.org/r/164298433209.3018233.18101085948127163720.stgit@dwillia2-desk3.amr.corp.intel.com
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
tools/testing/cxl/test/cxl.c