Re: [PATCH 1/3] powerpc/dma: Always configure ZONE_DMA32 correctly

2015-02-21 Thread Kevin Hao
On Sun, Feb 22, 2015 at 09:23:51AM +1100, Benjamin Herrenschmidt wrote: > No it won't, or am I missing something ? Ie, limit_zone_pfn() will only > reduce the size of the window, never increase it. Yes, you are right. Just overlook this. Sorry for the noise. Thanks, Kevin pgpH0IxyneZ4n.pgp Desc

Re: [PATCH 1/3] powerpc/dma: Always configure ZONE_DMA32 correctly

2015-02-21 Thread Benjamin Herrenschmidt
On Sat, 2015-02-21 at 19:26 +0800, Kevin Hao wrote: > On Fri, Feb 20, 2015 at 07:35:25PM +1100, Benjamin Herrenschmidt wrote: > > We do this for consistency and also in order to support the use of a > > consistent mask smaller than the dma mask in subsequent patches. > > > > Signed-off-by: Benjami

Re: [PATCH 1/3] powerpc/dma: Always configure ZONE_DMA32 correctly

2015-02-21 Thread Kevin Hao
On Fri, Feb 20, 2015 at 07:35:25PM +1100, Benjamin Herrenschmidt wrote: > We do this for consistency and also in order to support the use of a > consistent mask smaller than the dma mask in subsequent patches. > > Signed-off-by: Benjamin Herrenschmidt > --- > arch/powerpc/kernel/dma-swiotlb.c |

[PATCH 1/3] powerpc/dma: Always configure ZONE_DMA32 correctly

2015-02-20 Thread Benjamin Herrenschmidt
We do this for consistency and also in order to support the use of a consistent mask smaller than the dma mask in subsequent patches. Signed-off-by: Benjamin Herrenschmidt --- arch/powerpc/kernel/dma-swiotlb.c | 3 --- arch/powerpc/mm/mem.c | 6 ++ 2 files changed, 6 insertions(+