Re: [net-next PATCH 1/2] mm: add dma_addr_t to struct page

2019-02-12 Thread Jesper Dangaard Brouer
On Mon, 11 Feb 2019 08:55:51 -0800 Matthew Wilcox wrote: > On Mon, Feb 11, 2019 at 05:06:46PM +0100, Jesper Dangaard Brouer wrote: > > The page_pool API is using page->private to store DMA addresses. > > As pointed out by David Miller we can't use that on 32-bit architectures > > with 64-bit DMA

Re: [net-next PATCH 1/2] mm: add dma_addr_t to struct page

2019-02-12 Thread Jesper Dangaard Brouer
On Mon, 11 Feb 2019 12:16:24 -0800 Andrew Morton wrote: > On Mon, 11 Feb 2019 17:06:46 +0100 Jesper Dangaard Brouer > wrote: > > > The page_pool API is using page->private to store DMA addresses. > > As pointed out by David Miller we can't use that on 32-bit architectures > > with 64-bit DMA >

Re: [net-next PATCH 1/2] mm: add dma_addr_t to struct page

2019-02-11 Thread Andrew Morton
On Mon, 11 Feb 2019 17:06:46 +0100 Jesper Dangaard Brouer wrote: > The page_pool API is using page->private to store DMA addresses. > As pointed out by David Miller we can't use that on 32-bit architectures > with 64-bit DMA > > This patch adds a new dma_addr_t struct to allow storing DMA addre

Re: [net-next PATCH 1/2] mm: add dma_addr_t to struct page

2019-02-11 Thread Matthew Wilcox
On Mon, Feb 11, 2019 at 05:06:46PM +0100, Jesper Dangaard Brouer wrote: > The page_pool API is using page->private to store DMA addresses. > As pointed out by David Miller we can't use that on 32-bit architectures > with 64-bit DMA > > This patch adds a new dma_addr_t struct to allow storing DMA a

[net-next PATCH 1/2] mm: add dma_addr_t to struct page

2019-02-11 Thread Jesper Dangaard Brouer
The page_pool API is using page->private to store DMA addresses. As pointed out by David Miller we can't use that on 32-bit architectures with 64-bit DMA This patch adds a new dma_addr_t struct to allow storing DMA addresses Signed-off-by: Jesper Dangaard Brouer Signed-off-by: Ilias Apalodimas