Re: [PATCH 0/2] nfit_test: convert to vmalloc()
From: Johannes Thumshirn
Date: Mon Jun 27 2016 - 02:00:58 EST
On Sun, Jun 26, 2016 at 04:12:08PM -0700, Dan Williams wrote:
> 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.
>
Oh this is more than welcome, thanks for changing this.
Consider this series
Acked-by: Johannes Thumshirn <jthumshirn@xxxxxxx>
> ---
>
> 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
> _______________________________________________
> Linux-nvdimm mailing list
> Linux-nvdimm@xxxxxxxxxxxx
> https://lists.01.org/mailman/listinfo/linux-nvdimm
--
Johannes Thumshirn Storage
jthumshirn@xxxxxxx +49 911 74053 689
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Felix Imendörffer, Jane Smithard, Graham Norton
HRB 21284 (AG Nürnberg)
Key fingerprint = EC38 9CAB C2C4 F25D 8600 D0D0 0393 969D 2D76 0850