aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/testing/cxl
diff options
context:
space:
mode:
authorAlison Schofield <alison.schofield@intel.com>2023-04-18 20:26:34 -0700
committerDan Williams <dan.j.williams@intel.com>2023-04-23 12:08:39 -0700
commit30a8a105f0ce9f2c83063b289f76833386d4a120 (patch)
tree3f7c9fc97e3808e2aa6936d9c04a58460a27ec35 /tools/testing/cxl
parenttools/testing/cxl: Add a sysfs attr to test poison inject limits (diff)
downloadwireguard-linux-30a8a105f0ce9f2c83063b289f76833386d4a120.tar.xz
wireguard-linux-30a8a105f0ce9f2c83063b289f76833386d4a120.zip
tools/testing/cxl: Require CONFIG_DEBUG_FS
The cxl_mem driver uses debugfs to support poison inject and clear. Add debugfs to the list of required symbols so that cxl_test can emulate those poison operations. Signed-off-by: Alison Schofield <alison.schofield@intel.com> Reviewed-by: Dave Jiang <dave.jiang@intel.com> Link: https://lore.kernel.org/r/4f3aab57fbf1cc3ccde2eb887c5d90566c8d0e90.1681874357.git.alison.schofield@intel.com Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'tools/testing/cxl')
-rw-r--r--tools/testing/cxl/config_check.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/cxl/config_check.c b/tools/testing/cxl/config_check.c
index 99b56b5f6edf..0902c5d6e410 100644
--- a/tools/testing/cxl/config_check.c
+++ b/tools/testing/cxl/config_check.c
@@ -13,4 +13,5 @@ void check(void)
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));
+ BUILD_BUG_ON(!IS_ENABLED(CONFIG_DEBUG_FS));
}