aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/testing/nvdimm/config_check.c
diff options
context:
space:
mode:
authorVishal Verma <vishal.l.verma@intel.com>2019-03-18 19:06:29 -0600
committerDan Williams <dan.j.williams@intel.com>2019-04-22 15:56:28 -0700
commit92f6f2d7f5c844faebf5b47d4a8f15de519b48c2 (patch)
tree4c31d67c62837785990c96e6dd6edc8bf26fcd72 /tools/testing/nvdimm/config_check.c
parentdax/pmem: Fix whitespace in dax_pmem (diff)
downloadwireguard-linux-92f6f2d7f5c844faebf5b47d4a8f15de519b48c2.tar.xz
wireguard-linux-92f6f2d7f5c844faebf5b47d4a8f15de519b48c2.zip
tools/testing/nvdimm: add watermarks for dax_pmem* modules
Add nfit_test 'watermarks' for the dax_pmem, dax_pmem_core, and dax_pmem_compat modules. This causes the nfit_test module to fail loading in case any of these modules are also not overridden with the ldconfig wrapped modules. Without this, nfit_test would sometimes fail creation of device-dax namespaces on the nfit_test_bus with an unhelpful error log such as: dax_pmem dax5.0: could not reserve metadata dax_pmem: probe of dax5.0 failed with error -16 Which was caused due to the unwrapped version of devm_request_mem_region() being called. Cc: Dan Williams <dan.j.williams@intel.com> Signed-off-by: Vishal Verma <vishal.l.verma@intel.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'tools/testing/nvdimm/config_check.c')
0 files changed, 0 insertions, 0 deletions