Re: [V2] powerpc/Kconfig: Update config option based on page size.

2016-09-19 Thread Balbir Singh
On 17/09/16 01:16, Aneesh Kumar K.V wrote: > - range 9 13 if PPC64 && !PPC_64K_PAGES > + range 13 13 if PPC64 && !PPC_64K_PAGES > default "13" if PPC64 && !PPC_64K_PAGES Do we still want t to be 13 13 or 12 13? Looks like the lower side of the range can cause issues based on the

Re: [V2] powerpc/Kconfig: Update config option based on page size.

2016-09-16 Thread Aneesh Kumar K.V
Balbir Singh writes: > On 14/09/16 20:40, santhosh wrote: >> >>> Michael Ellerman writes: >>> On Fri, 2016-19-02 at 05:38:47 UTC, Rashmica Gupta wrote: > Currently on PPC64 changing kernel pagesize from 4K to 64K leaves >

Re: [V2] powerpc/Kconfig: Update config option based on page size.

2016-09-16 Thread Balbir Singh
On 14/09/16 20:40, santhosh wrote: > >> Michael Ellerman writes: >> >>> On Fri, 2016-19-02 at 05:38:47 UTC, Rashmica Gupta wrote: Currently on PPC64 changing kernel pagesize from 4K to 64K leaves FORCE_MAX_ZONEORDER set to 13 - which produces a compile error.

Re: [V2] powerpc/Kconfig: Update config option based on page size.

2016-09-15 Thread Michael Ellerman
santhosh writes: >> Michael Ellerman writes: >> >>> On Fri, 2016-19-02 at 05:38:47 UTC, Rashmica Gupta wrote: Currently on PPC64 changing kernel pagesize from 4K to 64K leaves FORCE_MAX_ZONEORDER set to 13 - which produces a compile

Re: [V2] powerpc/Kconfig: Update config option based on page size.

2016-09-14 Thread santhosh
Michael Ellerman writes: On Fri, 2016-19-02 at 05:38:47 UTC, Rashmica Gupta wrote: Currently on PPC64 changing kernel pagesize from 4K to 64K leaves FORCE_MAX_ZONEORDER set to 13 - which produces a compile error. ... So, update the range of FORCE_MAX_ZONEORDER from

Re: [V2] powerpc/Kconfig: Update config option based on page size.

2016-04-19 Thread Balbir Singh
On 20/04/16 00:59, Aneesh Kumar K.V wrote: > Michael Ellerman writes: > >> On Fri, 2016-19-02 at 05:38:47 UTC, Rashmica Gupta wrote: >>> Currently on PPC64 changing kernel pagesize from 4K to 64K leaves >>> FORCE_MAX_ZONEORDER set to 13 - which produces a compile error.

Re: [V2] powerpc/Kconfig: Update config option based on page size.

2016-04-19 Thread Aneesh Kumar K.V
Michael Ellerman writes: > On Fri, 2016-19-02 at 05:38:47 UTC, Rashmica Gupta wrote: >> Currently on PPC64 changing kernel pagesize from 4K to 64K leaves >> FORCE_MAX_ZONEORDER set to 13 - which produces a compile error. >> > ... >> So, update the range of

Re: [V2] powerpc/Kconfig: Update config option based on page size.

2016-04-11 Thread Michael Ellerman
On Fri, 2016-19-02 at 05:38:47 UTC, Rashmica Gupta wrote: > Currently on PPC64 changing kernel pagesize from 4K to 64K leaves > FORCE_MAX_ZONEORDER set to 13 - which produces a compile error. > ... > So, update the range of FORCE_MAX_ZONEORDER from 9-64 to 8-9 for 64K pages > and from 13-64 to

Re: [PATCH V2] powerpc/Kconfig: Update config option based on page size.

2016-02-18 Thread Balbir Singh
On 19/02/16 16:38, Rashmica Gupta wrote: > Currently on PPC64 changing kernel pagesize from 4K to 64K leaves > FORCE_MAX_ZONEORDER set to 13 - which produces a compile error. > > The error occurs because of the following constraint (from > include/linux/mmzone.h) being violated: > >

[PATCH V2] powerpc/Kconfig: Update config option based on page size.

2016-02-18 Thread Rashmica Gupta
Currently on PPC64 changing kernel pagesize from 4K to 64K leaves FORCE_MAX_ZONEORDER set to 13 - which produces a compile error. The error occurs because of the following constraint (from include/linux/mmzone.h) being violated: MAX_ORDER -1 + PAGESHIFT <= SECTION_SIZE_BITS. Expanding