diff options
author | Vishal Verma <vishal.l.verma@intel.com> | 2019-03-18 19:06:29 -0600 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2019-04-22 15:56:28 -0700 |
commit | 92f6f2d7f5c844faebf5b47d4a8f15de519b48c2 (patch) | |
tree | 4c31d67c62837785990c96e6dd6edc8bf26fcd72 /drivers/nvdimm | |
parent | d521fbaeda726ef3a9dad91c0239e7207d9864b7 (diff) |
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 'drivers/nvdimm')
0 files changed, 0 insertions, 0 deletions