Re: [PATCH] ARM: use default ioremap alignment for SMP or LPAE

2015-01-23 Thread Arnd Bergmann
On Friday 23 January 2015 14:52:36 Catalin Marinas wrote: > On Thu, Jan 22, 2015 at 11:03:00AM +, Arnd Bergmann wrote: > > Unrelated to this question however is whether we want to keep > > supersection mappings as a performance optimization to save TLBs. > > It seems useful to me, but not criti

Re: [PATCH] ARM: use default ioremap alignment for SMP or LPAE

2015-01-23 Thread Catalin Marinas
On Thu, Jan 22, 2015 at 11:03:00AM +, Arnd Bergmann wrote: > Unrelated to this question however is whether we want to keep > supersection mappings as a performance optimization to save TLBs. > It seems useful to me, but not critical. Currently in Linux we allow 16MB mappings only if the phys a

Re: [PATCH] ARM: use default ioremap alignment for SMP or LPAE

2015-01-23 Thread Arnd Bergmann
On Thursday 22 January 2015 10:04:41 Catalin Marinas wrote: > On Thu, Jan 22, 2015 at 07:17:55AM +, Sergey Dyasly wrote: > > 16MB alignment for ioremap mappings was added by commit a069c896d0d6 ("[ARM] > > 3705/1: add supersection support to ioremap()") in order to support > > supersection > >

Re: [PATCH] ARM: use default ioremap alignment for SMP or LPAE

2015-01-22 Thread Catalin Marinas
On Thu, Jan 22, 2015 at 07:17:55AM +, Sergey Dyasly wrote: > 16MB alignment for ioremap mappings was added by commit a069c896d0d6 ("[ARM] > 3705/1: add supersection support to ioremap()") in order to support > supersection > mappings. But __arm_ioremap_pfn_caller uses section and supersection

[PATCH] ARM: use default ioremap alignment for SMP or LPAE

2015-01-21 Thread Sergey Dyasly
16MB alignment for ioremap mappings was added by commit a069c896d0d6 ("[ARM] 3705/1: add supersection support to ioremap()") in order to support supersection mappings. But __arm_ioremap_pfn_caller uses section and supersection mappings only in !SMP && !LPAE case. There is no need for such big align