Delivery reports about your e-mail

2017-08-07 Thread ke-aa
The original message was received at Tue, 8 Aug 2017 11:03:41 +0800 from frisurf.no [99.201.167.82] - The following addresses had permanent fatal errors - ___ Linux-nvdimm mailing list Linux-nvdimm@lists.01.org

[PATCH] mm, devm_memremap_pages: use multi-order radix for ZONE_DEVICE lookups

2017-08-07 Thread Dan Williams
devm_memremap_pages() records mapped ranges in pgmap_radix with an entry per section's worth of memory (128MB). The key for each of those entries is a section number. This leads to false positives when devm_memremap_pages() is passed a section-unaligned range as lookups in the misalignment fail

Re: [RFC PATCH 0/7] dax, ext4: Synchronous page faults

2017-08-07 Thread Dan Williams
On Tue, Aug 1, 2017 at 4:26 AM, Jan Kara wrote: > On Tue 01-08-17 04:02:41, Christoph Hellwig wrote: >> On Fri, Jul 28, 2017 at 11:38:21AM +0200, Jan Kara wrote: >> > Well, you are right I can make the implementation work with struct file >> > flag as well - let's call it

Re: [PATCH 0/6] arm64 pmem support

2017-08-07 Thread Will Deacon
On Tue, Jul 25, 2017 at 11:55:37AM +0100, Robin Murphy wrote: > With the latest updates to the pmem API, the arch code contribution > becomes very straightforward to wire up - I think there's about as > much code here to just cope with the existence of our new instruction > as there is to actually

Re: [PATCH 5/6] arm64: Implement pmem API support

2017-08-07 Thread Will Deacon
On Fri, Aug 04, 2017 at 04:25:42PM +0100, Catalin Marinas wrote: > Two minor comments below. > > On Tue, Jul 25, 2017 at 11:55:42AM +0100, Robin Murphy wrote: > > --- a/arch/arm64/Kconfig > > +++ b/arch/arm64/Kconfig > > @@ -960,6 +960,17 @@ config ARM64_UAO > > regular load/store

Re: [PATCH 6/6] arm64: uaccess: Implement *_flushcache variants

2017-08-07 Thread Will Deacon
On Tue, Jul 25, 2017 at 11:55:43AM +0100, Robin Murphy wrote: > Implement the set of copy functions with guarantees of a clean cache > upon completion necessary to support the pmem driver. > > Signed-off-by: Robin Murphy > --- > arch/arm64/Kconfig | 1 + >

Re: [PATCH] nvdimm: Remove minimum size requirement

2017-08-07 Thread Dan Williams
On Mon, Aug 7, 2017 at 11:09 AM, Cheng-mean Liu (SOCCER) wrote: > Hi Dan: > >I am wondering if failing on those unittests is still an issue for this > minimum size requirement change. Yes, I just haven't had a chance to circle back and get this fixed up. You can

RE: [PATCH] nvdimm: Remove minimum size requirement

2017-08-07 Thread Cheng-mean Liu (SOCCER)
Hi Dan: I am wondering if failing on those unittests is still an issue for this minimum size requirement change. Thanks Cheng-mean -Original Message- From: Dan Williams [mailto:dan.j.willi...@intel.com] Sent: Thursday, July 13, 2017 5:14 PM To: Socer Liu Cc:

[PATCH v4 8/8] libnvdimm: add DMA support for pmem blk-mq

2017-08-07 Thread Dave Jiang
Adding DMA support for pmem blk reads. This provides signficant CPU reduction with large memory reads with good performance. DMAs are triggered with test against bio_multiple_segment(), so the small I/Os (4k or less?) are still performed by the CPU in order to reduce latency. By default the pmem

[PATCH v4 7/8] libnvdimm: Adding blk-mq support to the pmem driver

2017-08-07 Thread Dave Jiang
Adding blk-mq support to the pmem driver in addition to the direct bio support. This allows for hardware offloading via DMA engines. By default the bio method will be enabled. The blk-mq support can be turned on via module parameter queue_mode=1. Signed-off-by: Dave Jiang

[PATCH v4 6/8] dmaengine: add SG support to dmaengine_unmap

2017-08-07 Thread Dave Jiang
This should provide support to unmap scatterlist with the dmaengine_unmap_data. We will support only 1 scatterlist per direction. The DMA addresses array has been overloaded for the 2 or less entries DMA unmap data structure in order to store the SG pointer(s). Signed-off-by: Dave Jiang

[PATCH v4 5/8] dmaengine: ioatdma: dma_prep_memcpy_sg support

2017-08-07 Thread Dave Jiang
Adding ioatdma support to copy from a physically contiguous buffer to a provided scatterlist and vice versa. This is used to support reading/writing persistent memory in the pmem driver. Signed-off-by: Dave Jiang --- drivers/dma/ioat/dma.h |4 +++

[PATCH v4 4/8] dmaengine: add verification of DMA_MEMSET_SG in dmaengine

2017-08-07 Thread Dave Jiang
DMA_MEMSET_SG is missing the verification of having the operation set and also a supporting function provided. Fixes: Commit 50c7cd2bd ("dmaengine: Add scatter-gathered memset") Signed-off-by: Dave Jiang --- drivers/dma/dmaengine.c |2 ++ 1 file changed, 2

[PATCH v4 3/8] dmaengine: Add DMA_MEMCPY_SG transaction op

2017-08-07 Thread Dave Jiang
Adding a dmaengine transaction operation that allows copy to/from a scatterlist and a flat buffer. Signed-off-by: Dave Jiang --- Documentation/dmaengine/provider.txt |3 +++ drivers/dma/dmaengine.c |2 ++ include/linux/dmaengine.h|6

[PATCH v4 2/8] dmaengine: change transaction type DMA_SG to DMA_SG_SG

2017-08-07 Thread Dave Jiang
In preparation of adding an API to perform SG to/from buffer for dmaengine, we will change DMA_SG to DMA_SG_SG in order to explicitly making clear what this op type is for. Signed-off-by: Dave Jiang --- Documentation/dmaengine/provider.txt |2 +-

[PATCH v4 1/8] dmaengine: ioatdma: revert 7618d035 to allow sharing of DMA channels

2017-08-07 Thread Dave Jiang
Commit 7618d0359c16 ("dmaengine: ioatdma: Set non RAID channels to be private capable") makes all non-RAID ioatdma channels as private to be requestable by dma_request_channel(). With PQ CAP support going away for ioatdma, this would make all channels private. To support the usage of ioatdma for

[PATCH v4 0/8] Adding blk-mq and DMA support to pmem block driver

2017-08-07 Thread Dave Jiang
v4: - Addressed kbuild test bot issues. Passed kbuild test bot, 179 configs. v3: - Added patch to rename DMA_SG to DMA_SG_SG to make it explicit - Added DMA_MEMCPY_SG transaction type to dmaengine - Misc patch to add verification of DMA_MEMSET_SG that was missing - Addressed all nd_pmem driver

Re: [PATCH 0/3] remove rw_page() from brd, pmem and btt

2017-08-07 Thread Minchan Kim
On Fri, Aug 04, 2017 at 11:24:49AM -0700, Dan Williams wrote: > On Fri, Aug 4, 2017 at 11:21 AM, Ross Zwisler > wrote: > > On Fri, Aug 04, 2017 at 11:01:08AM -0700, Dan Williams wrote: > >> [ adding Dave who is working on a blk-mq + dma offload version of the > >>