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
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 |
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
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