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


Groups > linux.kernel > #1539624

Re: [PATCH 3/5] Move dma_ops from archdata into struct device

From David Woodhouse <dwmw2@infradead.org>
Newsgroups linux.kernel
Subject Re: [PATCH 3/5] Move dma_ops from archdata into struct device
Date 2016-12-09 20:20 +0100
Message-ID <sMyS5-7aZ-1@gated-at.bofh.it> (permalink)
References <sMy5I-6DX-29@gated-at.bofh.it> <sMy5I-6DX-31@gated-at.bofh.it> <sMy5I-6DX-27@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Fri, 2016-12-09 at 19:22 +0100, Christoph Hellwig wrote:
> We'll need a bit of a wieder audience for this I think..
> 
> On Wed, Dec 07, 2016 at 05:11:28PM -0800, Bart Van Assche wrote:
> > Additionally, introduce set_dma_ops(). A later patch will introduce a
> > call to that function in the RDMA drivers that will be modified to use
> > dma_noop_ops.
> 
> This looks good to me, and we had a lot of talk about this for other
> purposes for a while. 

Hm, I'm not convinced we want per-device dma_ops. What we want is per-
device IOMMU ops, and any dma_ops are just a generic or platform-
specific (in some cases) wrapper around those. We shouldn't normally
need per-device DMA ops at all.

-- 
dwmw2

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: [PATCH 3/5] Move dma_ops from archdata into struct device Christoph Hellwig <hch@lst.de> - 2016-12-09 19:30 +0100
  Re: [PATCH 3/5] Move dma_ops from archdata into struct device David Woodhouse <dwmw2@infradead.org> - 2016-12-09 20:20 +0100

csiph-web