]> Gentwo Git Trees - linux/.git/commit
cxl/test: Add support for acpi extended linear cache
authorDave Jiang <dave.jiang@intel.com>
Mon, 17 Nov 2025 14:46:11 +0000 (07:46 -0700)
committerDave Jiang <dave.jiang@intel.com>
Mon, 17 Nov 2025 16:46:44 +0000 (09:46 -0700)
commit68f4a852e18329e84bb5d36168a45b0a52cdf236
treee10519dbd7b096ba1e94e7b372b438e01e384210
parent4b1c0466c8fbe23d688a1f54584670a9d1dceabd
cxl/test: Add support for acpi extended linear cache

Add the mock wrappers for hmat_get_extended_linear_cache_size() in order
to emulate the ACPI helper function for the regions that are mock'd by
cxl_test.

Reviewed-by: Jonathan Cameron <jonathan.cameron@huawei.com>
Tested-by: Alison Schofield <alison.schofield@intel.com>
Reviewed-by: Alison Schofield <alison.schofield@intel.com>
Reviewed-by: Fabio M. De Francesco <fabio.m.de.francesco@linux.intel.com>
Link: https://patch.msgid.link/20251117144611.903692-4-dave.jiang@intel.com
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
tools/testing/cxl/Kbuild
tools/testing/cxl/test/cxl.c
tools/testing/cxl/test/mock.c
tools/testing/cxl/test/mock.h