Re: [PATCH] Documentation: DMA-API: Clarify semantics of dma_set_mask_and_coherent

2016-10-24 Thread Arnd Bergmann
On Friday, October 21, 2016 3:09:16 PM CEST Jonathan Corbet wrote: > On Mon, 17 Oct 2016 16:26:23 +0100 > Punit Agrawal wrote: > > > The dma mapping api howto gives the impression that using the > > dma_set_mask_and_coherent (and related DMA APIs) will cause the kernel > >

Re: [PATCH] Documentation: DMA-API: Clarify semantics of dma_set_mask_and_coherent

2016-10-24 Thread Punit Agrawal
Jonathan Corbet writes: > On Mon, 17 Oct 2016 16:26:23 +0100 > Punit Agrawal wrote: > >> The dma mapping api howto gives the impression that using the >> dma_set_mask_and_coherent (and related DMA APIs) will cause the kernel >> to check all the components

Re: [PATCH] Documentation: DMA-API: Clarify semantics of dma_set_mask_and_coherent

2016-10-24 Thread Punit Agrawal
Joerg Roedel writes: > On Fri, Oct 21, 2016 at 03:09:16PM -0600, Jonathan Corbet wrote: >> On Mon, 17 Oct 2016 16:26:23 +0100 >> Punit Agrawal wrote: >> >> > The dma mapping api howto gives the impression that using the >> > dma_set_mask_and_coherent

Re: [PATCH] Documentation: DMA-API: Clarify semantics of dma_set_mask_and_coherent

2016-10-24 Thread Joerg Roedel
On Fri, Oct 21, 2016 at 03:09:16PM -0600, Jonathan Corbet wrote: > On Mon, 17 Oct 2016 16:26:23 +0100 > Punit Agrawal wrote: > > > The dma mapping api howto gives the impression that using the > > dma_set_mask_and_coherent (and related DMA APIs) will cause the kernel > >

Re: [PATCH] Documentation: DMA-API: Clarify semantics of dma_set_mask_and_coherent

2016-10-21 Thread Jonathan Corbet
On Mon, 17 Oct 2016 16:26:23 +0100 Punit Agrawal wrote: > The dma mapping api howto gives the impression that using the > dma_set_mask_and_coherent (and related DMA APIs) will cause the kernel > to check all the components in the path from the device to memory for >

[PATCH] Documentation: DMA-API: Clarify semantics of dma_set_mask_and_coherent

2016-10-17 Thread Punit Agrawal
The dma mapping api howto gives the impression that using the dma_set_mask_and_coherent (and related DMA APIs) will cause the kernel to check all the components in the path from the device to memory for addressing restrictions. In systems with address translations between the device and memory