Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1691058 > unrolled thread

Re: [RFC PATCH 1/2] drivers: dma-coherent: Introduce interface for default DMA pool

Started byChristoph Hellwig <hch@lst.de>
First post2017-07-19 09:30 +0200
Last post2017-07-19 09:30 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [RFC PATCH 1/2] drivers: dma-coherent: Introduce interface for         default DMA pool Christoph Hellwig <hch@lst.de> - 2017-07-19 09:30 +0200

#1691058 — Re: [RFC PATCH 1/2] drivers: dma-coherent: Introduce interface for default DMA pool

FromChristoph Hellwig <hch@lst.de>
Date2017-07-19 09:30 +0200
SubjectRe: [RFC PATCH 1/2] drivers: dma-coherent: Introduce interface for default DMA pool
Message-ID<u4RAJ-5hK-11@gated-at.bofh.it>
On Mon, Jul 17, 2017 at 09:58:04AM +0100, Vladimir Murzin wrote:
> Christoph noticed [1] that default DMA pool in current form overload
> the DMA coherent infrastructure. In reply, Robin suggested to split
> the per-device vs. global pool interfaces, so allocation/release from
> default DMA pool is driven by dma ops implementation.
> 
> This patch implements Robin's idea and provide interface to
> allocate/release/mmap the default/global DMA pool.
> 
> [1] https://lkml.org/lkml/2017/7/7/370
> [2] https://lkml.org/lkml/2017/7/7/431
> 
> Suggested-by: Robin Murphy <robin.murphy@arm.com>
> Signed-off-by: Vladimir Murzin <vladimir.murzin@arm.com>

This looks good to me.  I'd just rename the existin *_from_coherent
routines to *_from_dev_coherent.

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web