[PATCH] powerpc: enforce sane MAX_ORDER

2008-09-24 Thread Johannes Berg
powerpc uses CONFIG_FORCE_MAX_ZONEORDER, and some things depend on it being at least 10 when 64k pages are not configured (notably the dart iommu code with CONFIG_PM). The defaults are fine, but when going from a 64K pages config to one without 64K pages, MAX_ORDER stays at 9 which is too low for

Re: [PATCH] powerpc: enforce sane MAX_ORDER

2008-09-24 Thread Kumar Gala
On Sep 24, 2008, at 8:24 AM, Johannes Berg wrote: powerpc uses CONFIG_FORCE_MAX_ZONEORDER, and some things depend on it being at least 10 when 64k pages are not configured (notably the dart iommu code with CONFIG_PM). The defaults are fine, but when going from a 64K pages config to one

Re: [PATCH] powerpc: enforce sane MAX_ORDER

2008-09-24 Thread Johannes Berg
On Wed, 2008-09-24 at 09:05 -0500, Kumar Gala wrote: --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig @@ -415,8 +415,11 @@ config PPC_64K_PAGES config FORCE_MAX_ZONEORDER int Maximum zone order + range 9 999 if PPC_64K_PAGES default 9 if PPC_64K_PAGES + range 13

Re: [PATCH] powerpc: enforce sane MAX_ORDER

2008-09-24 Thread Kumar Gala
On Sep 24, 2008, at 9:13 AM, Johannes Berg wrote: On Wed, 2008-09-24 at 09:05 -0500, Kumar Gala wrote: --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig @@ -415,8 +415,11 @@ config PPC_64K_PAGES config FORCE_MAX_ZONEORDER int Maximum zone order + range 9 999 if