Re: [PATCH] ARM:mm: define arch-specific IOREMAP_MAX_ORDER only in !SMP && !LPAE case

2015-09-09 Thread Sergey Dyasly
On 09.09.2015 6:10, Nicolas Pitre wrote: On Tue, 8 Sep 2015, Sergey Dyasly wrote: On 08.09.2015 5:45, Zhang Zhen wrote: The arch-specific IOREMAP_MAX_ORDER is introduced in commit: ff0daca([ARM] Add section support to ioremap) and commit: a069c89 ([ARM] 3705/1: add supersection support to

Re: [PATCH] ARM:mm: define arch-specific IOREMAP_MAX_ORDER only in !SMP && !LPAE case

2015-09-09 Thread Sergey Dyasly
On 09.09.2015 6:10, Nicolas Pitre wrote: On Tue, 8 Sep 2015, Sergey Dyasly wrote: On 08.09.2015 5:45, Zhang Zhen wrote: The arch-specific IOREMAP_MAX_ORDER is introduced in commit: ff0daca([ARM] Add section support to ioremap) and commit: a069c89 ([ARM] 3705/1: add supersection support to

Re: [PATCH] ARM:mm: define arch-specific IOREMAP_MAX_ORDER only in !SMP && !LPAE case

2015-09-08 Thread Nicolas Pitre
On Tue, 8 Sep 2015, Sergey Dyasly wrote: > On 08.09.2015 5:45, Zhang Zhen wrote: > > The arch-specific IOREMAP_MAX_ORDER is introduced in > > commit: ff0daca([ARM] Add section support to ioremap) and > > commit: a069c89 ([ARM] 3705/1: add supersection support to ioremap()). > > But supersections

Re: [PATCH] ARM:mm: define arch-specific IOREMAP_MAX_ORDER only in !SMP && !LPAE case

2015-09-08 Thread Zhang Zhen
On 2015/9/9 2:12, Sergey Dyasly wrote: > On 08.09.2015 5:45, Zhang Zhen wrote: >> The arch-specific IOREMAP_MAX_ORDER is introduced in >> commit: ff0daca([ARM] Add section support to ioremap) and >> commit: a069c89 ([ARM] 3705/1: add supersection support to ioremap()). >> But supersections and

Re: [PATCH] ARM:mm: define arch-specific IOREMAP_MAX_ORDER only in !SMP && !LPAE case

2015-09-08 Thread Sergey Dyasly
On 08.09.2015 5:45, Zhang Zhen wrote: The arch-specific IOREMAP_MAX_ORDER is introduced in commit: ff0daca([ARM] Add section support to ioremap) and commit: a069c89 ([ARM] 3705/1: add supersection support to ioremap()). But supersections and sections mappings are only used in !SMP && !LPAE case.

Re: [PATCH] ARM:mm: define arch-specific IOREMAP_MAX_ORDER only in !SMP && !LPAE case

2015-09-08 Thread Zhang Zhen
On 2015/9/9 2:12, Sergey Dyasly wrote: > On 08.09.2015 5:45, Zhang Zhen wrote: >> The arch-specific IOREMAP_MAX_ORDER is introduced in >> commit: ff0daca([ARM] Add section support to ioremap) and >> commit: a069c89 ([ARM] 3705/1: add supersection support to ioremap()). >> But supersections and

Re: [PATCH] ARM:mm: define arch-specific IOREMAP_MAX_ORDER only in !SMP && !LPAE case

2015-09-08 Thread Nicolas Pitre
On Tue, 8 Sep 2015, Sergey Dyasly wrote: > On 08.09.2015 5:45, Zhang Zhen wrote: > > The arch-specific IOREMAP_MAX_ORDER is introduced in > > commit: ff0daca([ARM] Add section support to ioremap) and > > commit: a069c89 ([ARM] 3705/1: add supersection support to ioremap()). > > But supersections

Re: [PATCH] ARM:mm: define arch-specific IOREMAP_MAX_ORDER only in !SMP && !LPAE case

2015-09-08 Thread Sergey Dyasly
On 08.09.2015 5:45, Zhang Zhen wrote: The arch-specific IOREMAP_MAX_ORDER is introduced in commit: ff0daca([ARM] Add section support to ioremap) and commit: a069c89 ([ARM] 3705/1: add supersection support to ioremap()). But supersections and sections mappings are only used in !SMP && !LPAE case.

[PATCH] ARM:mm: define arch-specific IOREMAP_MAX_ORDER only in !SMP && !LPAE case

2015-09-07 Thread Zhang Zhen
The arch-specific IOREMAP_MAX_ORDER is introduced in commit: ff0daca([ARM] Add section support to ioremap) and commit: a069c89 ([ARM] 3705/1: add supersection support to ioremap()). But supersections and sections mappings are only used in !SMP && !LPAE case. Otherwise, mapping is created using the

[PATCH] ARM:mm: define arch-specific IOREMAP_MAX_ORDER only in !SMP && !LPAE case

2015-09-07 Thread Zhang Zhen
The arch-specific IOREMAP_MAX_ORDER is introduced in commit: ff0daca([ARM] Add section support to ioremap) and commit: a069c89 ([ARM] 3705/1: add supersection support to ioremap()). But supersections and sections mappings are only used in !SMP && !LPAE case. Otherwise, mapping is created using the