OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14628ae
)
tools/testing/cxl: Require cache invalidation bypass
author
Dan Williams
<dan.j.williams@intel.com>
Mon, 5 Dec 2022 19:44:41 +0000
(11:44 -0800)
committer
Dan Williams
<dan.j.williams@intel.com>
Mon, 5 Dec 2022 20:33:20 +0000
(12:33 -0800)
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
patch
|
blob
|
history
diff --git
a/tools/testing/cxl/config_check.c
b/tools/testing/cxl/config_check.c
index
de5e5b3
..
c4c457e
100644
(file)
--- a/
tools/testing/cxl/config_check.c
+++ b/
tools/testing/cxl/config_check.c
@@
-10,4
+10,6
@@
void check(void)
BUILD_BUG_ON(!IS_MODULE(CONFIG_CXL_BUS));
BUILD_BUG_ON(!IS_MODULE(CONFIG_CXL_ACPI));
BUILD_BUG_ON(!IS_MODULE(CONFIG_CXL_PMEM));
+ BUILD_BUG_ON(!IS_ENABLED(CONFIG_CXL_REGION_INVALIDATION_TEST));
+ BUILD_BUG_ON(!IS_ENABLED(CONFIG_NVDIMM_SECURITY_TEST));
}