tools/testing/cxl: Require cache invalidation bypass
authorDan Williams <dan.j.williams@intel.com>
Mon, 5 Dec 2022 19:44:41 +0000 (11:44 -0800)
committerDan Williams <dan.j.williams@intel.com>
Mon, 5 Dec 2022 20:33:20 +0000 (12:33 -0800)
commit878b2de67af7095ddd35da859a9ef8db15a36163
treedca5c492c33f3161a6e9bafceffe1cf687628a08
parent14628aec8415e4847ae7e470b175412896716cd8
tools/testing/cxl: Require cache invalidation bypass

The typical environment where cxl_test is run, QEMU, does not support
cpu_cache_invalidate_memregion(). Add the 'test' bypass symbols to the
configuration check.

Reported-by: Alison Schofield <alison.schofield@intel.com>
Reviewed-by: Dave Jiang <dave.jiang@intel.com>
Link: https://lore.kernel.org/r/167026948179.3527561.4535373655515827457.stgit@dwillia2-xfh.jf.intel.com
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
tools/testing/cxl/config_check.c