[PATCH 16/51] DMA-API: ppc: vio.c: replace dma_set_mask()+dma_set_coherent_mask() with new helper

2013-09-20 Thread Russell King
Replace the following sequence: dma_set_mask(dev, mask); dma_set_coherent_mask(dev, mask); with a call to the new helper dma_set_mask_and_coherent(). Signed-off-by: Russell King --- arch/powerpc/kernel/vio.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --g

Re: [PATCH 16/51] DMA-API: ppc: vio.c: replace dma_set_mask()+dma_set_coherent_mask() with new helper

2013-11-15 Thread Cedric Le Goater
Hi, On 09/19/2013 11:41 PM, Russell King wrote: > Replace the following sequence: > > dma_set_mask(dev, mask); > dma_set_coherent_mask(dev, mask); > > with a call to the new helper dma_set_mask_and_coherent(). > > Signed-off-by: Russell King > --- > arch/powerpc/kernel/vio.c |

Re: [PATCH 16/51] DMA-API: ppc: vio.c: replace dma_set_mask()+dma_set_coherent_mask() with new helper

2013-11-16 Thread Russell King - ARM Linux
On Fri, Nov 15, 2013 at 05:16:55PM +0100, Cedric Le Goater wrote: > The new helper routine dma_set_mask_and_coherent() breaks the > initialization of the pseries vio devices which do not have an > initial dev->dma_mask. I think we need to use dma_coerce_mask_and_coherent() > instead. Who wants t

Re: [PATCH 16/51] DMA-API: ppc: vio.c: replace dma_set_mask()+dma_set_coherent_mask() with new helper

2013-11-18 Thread Cedric Le Goater
On 11/16/2013 04:32 PM, Russell King - ARM Linux wrote: > On Fri, Nov 15, 2013 at 05:16:55PM +0100, Cedric Le Goater wrote: >> The new helper routine dma_set_mask_and_coherent() breaks the >> initialization of the pseries vio devices which do not have an >> initial dev->dma_mask. I think we need