Re: [PATCH][v2] powerpc/mm: using two zones for freescale 64 bit kernel

2012-09-27 Thread Kumar Gala
On Sep 24, 2012, at 7:31 AM, Kumar Gala wrote: On Sep 20, 2012, at 8:36 AM, Kumar Gala wrote: On Sep 20, 2012, at 5:14 AM, Xie Shaohui-B21989 wrote: On Thu, 2012-08-30 at 15:49 -0500, Kumar Gala wrote: On Aug 24, 2012, at 5:50 AM, Shaohui Xie wrote: PowerPC platform only supports

Re: [PATCH][v2] powerpc/mm: using two zones for freescale 64 bit kernel

2012-09-24 Thread Kumar Gala
On Sep 20, 2012, at 8:36 AM, Kumar Gala wrote: On Sep 20, 2012, at 5:14 AM, Xie Shaohui-B21989 wrote: On Thu, 2012-08-30 at 15:49 -0500, Kumar Gala wrote: On Aug 24, 2012, at 5:50 AM, Shaohui Xie wrote: PowerPC platform only supports ZONE_DMA zone for 64bit kernel, so all the memory

RE: [PATCH][v2] powerpc/mm: using two zones for freescale 64 bit kernel

2012-09-20 Thread Xie Shaohui-B21989
On Thu, 2012-08-30 at 15:49 -0500, Kumar Gala wrote: On Aug 24, 2012, at 5:50 AM, Shaohui Xie wrote: PowerPC platform only supports ZONE_DMA zone for 64bit kernel, so all the memory will be put into this zone. If the memory size is greater than the device's DMA capability and

RE: [PATCH][v2] powerpc/mm: using two zones for freescale 64 bit kernel

2012-09-10 Thread Xie Shaohui-B21989
two zones for freescale 64 bit kernel On Thu, 2012-08-30 at 15:49 -0500, Kumar Gala wrote: On Aug 24, 2012, at 5:50 AM, Shaohui Xie wrote: PowerPC platform only supports ZONE_DMA zone for 64bit kernel, so all the memory will be put into this zone. If the memory size is greater than

Re: [PATCH][v2] powerpc/mm: using two zones for freescale 64 bit kernel

2012-09-09 Thread Benjamin Herrenschmidt
On Thu, 2012-08-30 at 15:49 -0500, Kumar Gala wrote: On Aug 24, 2012, at 5:50 AM, Shaohui Xie wrote: PowerPC platform only supports ZONE_DMA zone for 64bit kernel, so all the memory will be put into this zone. If the memory size is greater than the device's DMA capability and device uses

Re: [PATCH][v2] powerpc/mm: using two zones for freescale 64 bit kernel

2012-08-30 Thread Kumar Gala
On Aug 24, 2012, at 5:50 AM, Shaohui Xie wrote: PowerPC platform only supports ZONE_DMA zone for 64bit kernel, so all the memory will be put into this zone. If the memory size is greater than the device's DMA capability and device uses dma_alloc_coherent to allocate memory, it will get an

[PATCH][v2] powerpc/mm: using two zones for freescale 64 bit kernel

2012-08-24 Thread Shaohui Xie
PowerPC platform only supports ZONE_DMA zone for 64bit kernel, so all the memory will be put into this zone. If the memory size is greater than the device's DMA capability and device uses dma_alloc_coherent to allocate memory, it will get an address which is over the device's DMA addressing, the