While backporting nfit_test to distro kernels a conflict between CMA and SWIOTLB was discovered. CMA requirements have also been a stumbling point for others trying to execute the tests.
--- Dan Williams (2): libnvdimm, pmem: allow nfit_test to override pmem_direct_access() tools/testing/nvdimm: replace CONFIG_DMA_CMA dependency with vmalloc() drivers/nvdimm/pmem.c | 18 ++--------- drivers/nvdimm/pmem.h | 24 +++++++++++++++ include/linux/pfn_t.h | 5 ++- kernel/memremap.c | 6 ---- tools/testing/nvdimm/Kbuild | 5 ++- tools/testing/nvdimm/pmem-dax.c | 54 +++++++++++++++++++++++++++++++++ tools/testing/nvdimm/test/iomap.c | 19 +++++++++++- tools/testing/nvdimm/test/nfit.c | 48 ++++------------------------- tools/testing/nvdimm/test/nfit_test.h | 2 + 9 files changed, 115 insertions(+), 66 deletions(-) create mode 100644 drivers/nvdimm/pmem.h create mode 100644 tools/testing/nvdimm/pmem-dax.c