summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorAlison Schofield <alison.schofield@intel.com>2026-11-04 19:28:31 -0800
committerDave Jiang <dave.jiang@intel.com>2026-11-10 10:51:51 -0700
commitcbba07ba71d5acdfe3fca34973357fdddf388ba5 (patch)
tree7642a0a8c97f990dcd4a0e583013dd7d83711d98 /scripts/Makefile.thinlto
parentcd60d381afc158bf9ad242a7dc6c109b03603391 (diff)
downloadlinux-next-cbba07ba71d5acdfe3fca34973357fdddf388ba5.tar.gz
linux-next-cbba07ba71d5acdfe3fca34973357fdddf388ba5.zip
cxl/test: Give each mock memdev its own performance data
Assign distinct and predictable latency and bandwidth values to mock memdevs so region performance calculations can be tested against the expected contributions of individual targets. Derive each memdev's performance data from its memdev id: latency = 100 + 10 * id (nanoseconds) bandwidth = 1000 + 100 * id (MB/s) These values allow tests to detect stale or duplicate contributions from targets that are not members of the completed region. Since mock memdevs are not PCI devices, the shared-upstream bandwidth calculation is skipped. Region bandwidth in cxl_test will be the sum of the individual memdev bandwidths, providing a predictable result for testing. Signed-off-by: Alison Schofield <alison.schofield@intel.com> Reviewed-by: Li Ming <ming.li@zohomail.com> Link: https://patch.msgid.link/a078fadc9d039a34645ab8778fbf17faa3c85f27.1793847269.git.alison.schofield@intel.com Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions