Re: [PATCH 7/8] powerpc/dma: split the two __dma_alloc_coherent implementations

2018-12-17 Thread Gerhard Pircher
Am 2018-12-17 um 08:35 schrieb Christoph Hellwig: > On Mon, Dec 17, 2018 at 07:51:05AM +0100, Christophe Leroy wrote: >> >> >> Le 16/12/2018 à 18:19, Christoph Hellwig a écrit : >>> The implemementation for the CONFIG_NOT_COHERENT_CACHE case doesn't share >>> any code with the one for systems with

Re: [PATCH 7/8] powerpc/dma: split the two __dma_alloc_coherent implementations

2018-12-16 Thread Christoph Hellwig
On Mon, Dec 17, 2018 at 07:51:05AM +0100, Christophe Leroy wrote: > > > Le 16/12/2018 à 18:19, Christoph Hellwig a écrit : >> The implemementation for the CONFIG_NOT_COHERENT_CACHE case doesn't share >> any code with the one for systems with coherent caches. Split it off >> and merge it with the h

Re: [PATCH 7/8] powerpc/dma: split the two __dma_alloc_coherent implementations

2018-12-16 Thread Christophe Leroy
Le 16/12/2018 à 18:19, Christoph Hellwig a écrit : The implemementation for the CONFIG_NOT_COHERENT_CACHE case doesn't share any code with the one for systems with coherent caches. Split it off and merge it with the helpers in dma-noncoherent.c that have no other callers. Signed-off-by: Chri

[PATCH 7/8] powerpc/dma: split the two __dma_alloc_coherent implementations

2018-12-16 Thread Christoph Hellwig
The implemementation for the CONFIG_NOT_COHERENT_CACHE case doesn't share any code with the one for systems with coherent caches. Split it off and merge it with the helpers in dma-noncoherent.c that have no other callers. Signed-off-by: Christoph Hellwig Acked-by: Benjamin Herrenschmidt --- ar