linux/tools/testing/nvdimm
Dan Williams 979fccfb73 libnvdimm, pfn: enable pfn sysfs interface unit testing
The unit test infrastructure uses CMA and real memory to emulate nvdimm
resources.  The call to devm_memremap_pages() can simply be mocked in
the same manner as memremap and we mock phys_to_pfn_t() to clear PFN_MAP
since these resources are not registered with in the pgmap_radix.

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
2015-12-15 00:34:21 -08:00
..
test libnvdimm, pfn: enable pfn sysfs interface unit testing 2015-12-15 00:34:21 -08:00
config_check.c tools/testing/nvdimm: libnvdimm unit test infrastructure 2015-06-26 11:23:38 -04:00
Kbuild libnvdimm, pfn: enable pfn sysfs interface unit testing 2015-12-15 00:34:21 -08:00
Makefile tools/testing/nvdimm: libnvdimm unit test infrastructure 2015-06-26 11:23:38 -04:00