Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1674571
| From | Christoph Hellwig <hch@infradead.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v5 3/7] drivers: dma-coherent: Account dma_pfn_offset when used with device tree |
| Date | 2017-06-26 11:40 +0200 |
| Message-ID | <tWyEX-Ba-35@gated-at.bofh.it> (permalink) |
| References | <tKBIe-15d-7@gated-at.bofh.it> <tKCkW-1Ap-29@gated-at.bofh.it> <tUrHB-Q2-47@gated-at.bofh.it> <tUrRg-Tl-19@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Tue, Jun 20, 2017 at 02:50:34PM +0100, Robin Murphy wrote: > On 20/06/17 14:42, Christoph Hellwig wrote: > > Wouldn't the smal patch below solve the same issue in a simple way? > > That assumes that all devices accessing a shared pool will have the same > dma_pfn_offset as the first one, which cannot strictly be relied upon > (even if it is highly likely in practice). Which seems like another argument why the global pool should be a different implementation / interface than the per-device dma mapping helpers..
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: [PATCH v5 3/7] drivers: dma-coherent: Account dma_pfn_offset when used with device tree Christoph Hellwig <hch@infradead.org> - 2017-06-20 15:50 +0200
Re: [PATCH v5 3/7] drivers: dma-coherent: Account dma_pfn_offset when used with device tree Robin Murphy <robin.murphy@arm.com> - 2017-06-20 16:00 +0200
Re: [PATCH v5 3/7] drivers: dma-coherent: Account dma_pfn_offset when used with device tree Christoph Hellwig <hch@infradead.org> - 2017-06-26 11:40 +0200
Re: [PATCH v5 3/7] drivers: dma-coherent: Account dma_pfn_offset when used with device tree Vladimir Murzin <vladimir.murzin@arm.com> - 2017-06-22 15:00 +0200
csiph-web