RE: [Linaro-mm-sig] [PATCH 6/8] drivers: add Contiguous Memory Allocator

2011-07-11 Thread Marek Szyprowski
Hello, On Saturday, July 09, 2011 4:57 PM Janusz Krzysztofik wrote: On Wed, 6 Jul 2011 at 16:59:45 Arnd Bergmann wrote: On Wednesday 06 July 2011, Nicolas Pitre wrote: On Wed, 6 Jul 2011, Russell King - ARM Linux wrote: Another issue is that when a platform has restricted DMA

Re: [Linaro-mm-sig] [PATCH 6/8] drivers: add Contiguous Memory Allocator

2011-07-11 Thread Janusz Krzysztofik
Dnia poniedziałek, 11 lipca 2011 o 15:47:32 Marek Szyprowski napisał(a): Hello, On Saturday, July 09, 2011 4:57 PM Janusz Krzysztofik wrote: On Wed, 6 Jul 2011 at 16:59:45 Arnd Bergmann wrote: On Wednesday 06 July 2011, Nicolas Pitre wrote: On Wed, 6 Jul 2011, Russell King - ARM Linux

RE: [Linaro-mm-sig] [PATCH 6/8] drivers: add Contiguous Memory Allocator

2011-07-11 Thread Marek Szyprowski
Hello, On Monday, July 11, 2011 9:01 PM Janusz Krzysztofik wrote: Dnia poniedziałek, 11 lipca 2011 o 15:47:32 Marek Szyprowski napisał(a): Hello, On Saturday, July 09, 2011 4:57 PM Janusz Krzysztofik wrote: On Wed, 6 Jul 2011 at 16:59:45 Arnd Bergmann wrote: On Wednesday 06

Re: [Linaro-mm-sig] [PATCH 6/8] drivers: add Contiguous Memory Allocator

2011-07-09 Thread Janusz Krzysztofik
On Wed, 6 Jul 2011 at 16:59:45 Arnd Bergmann wrote: On Wednesday 06 July 2011, Nicolas Pitre wrote: On Wed, 6 Jul 2011, Russell King - ARM Linux wrote: Another issue is that when a platform has restricted DMA regions, they typically don't fall into the highmem zone. As the dmabounce

Re: [Linaro-mm-sig] [PATCH 6/8] drivers: add Contiguous Memory Allocator

2011-07-06 Thread Nicolas Pitre
On Wed, 6 Jul 2011, Russell King - ARM Linux wrote: Another issue is that when a platform has restricted DMA regions, they typically don't fall into the highmem zone. As the dmabounce code allocates from the DMA coherent allocator to provide it with guaranteed DMA-able memory, that would be

Re: [Linaro-mm-sig] [PATCH 6/8] drivers: add Contiguous Memory Allocator

2011-07-06 Thread Arnd Bergmann
On Wednesday 06 July 2011, Nicolas Pitre wrote: On Wed, 6 Jul 2011, Russell King - ARM Linux wrote: Another issue is that when a platform has restricted DMA regions, they typically don't fall into the highmem zone. As the dmabounce code allocates from the DMA coherent allocator to

Re: [Linaro-mm-sig] [PATCH 6/8] drivers: add Contiguous Memory Allocator

2011-07-06 Thread Arnd Bergmann
On Wednesday 06 July 2011 21:10:07 Nicolas Pitre wrote: If you get a highmem page, because the cache is VIPT, that page might still be cached even if it wasn't mapped. With a VIVT cache we must flush the cache whenever a highmem page is unmapped. There is no such restriction with VIPT

Re: [Linaro-mm-sig] [PATCH 6/8] drivers: add Contiguous Memory Allocator

2011-07-06 Thread Nicolas Pitre
On Wed, 6 Jul 2011, Arnd Bergmann wrote: On Wednesday 06 July 2011 21:10:07 Nicolas Pitre wrote: If you get a highmem page, because the cache is VIPT, that page might still be cached even if it wasn't mapped. With a VIVT cache we must flush the cache whenever a highmem page is unmapped.