Re: [PATCH 1/1] arm64: mm: add config options for page table configuration

2016-12-09 Thread Scott Branden
Hi Will, On 16-12-09 02:57 AM, Will Deacon wrote: On Thu, Dec 08, 2016 at 11:33:39AM -0800, Scott Branden wrote: Since I currently have your attention: I do think there is fundamental bug in the ARM64 mm implementation. If you look at /sys/devices/system/memory it only shows the last memoryX

Re: [PATCH 1/1] arm64: mm: add config options for page table configuration

2016-12-09 Thread Will Deacon
On Thu, Dec 08, 2016 at 11:33:39AM -0800, Scott Branden wrote: > Since I currently have your attention: I do think there is fundamental bug > in the ARM64 mm implementation. If you look at /sys/devices/system/memory > it only shows the last memoryX section created after init. That directory does

Re: [PATCH 1/1] arm64: mm: add config options for page table configuration

2016-12-08 Thread Scott Branden
On 16-12-08 10:57 AM, Catalin Marinas wrote: On Thu, Dec 08, 2016 at 08:30:36AM -0800, Scott Branden wrote: On 16-12-08 02:00 AM, Catalin Marinas wrote: On Wed, Dec 07, 2016 at 11:40:00AM -0800, Scott Branden wrote: Make MAX_PHYSMEM_BITS and SECTIONS_SIZE_BITS configurable by adding config opt

Re: [PATCH 1/1] arm64: mm: add config options for page table configuration

2016-12-08 Thread Catalin Marinas
On Thu, Dec 08, 2016 at 08:30:36AM -0800, Scott Branden wrote: > On 16-12-08 02:00 AM, Catalin Marinas wrote: > >On Wed, Dec 07, 2016 at 11:40:00AM -0800, Scott Branden wrote: > >>Make MAX_PHYSMEM_BITS and SECTIONS_SIZE_BITS configurable by adding > >>config options. > >>Default to current settings

Re: [PATCH 1/1] arm64: mm: add config options for page table configuration

2016-12-08 Thread Scott Branden
Hi Catalin, On 16-12-08 02:00 AM, Catalin Marinas wrote: On Wed, Dec 07, 2016 at 11:40:00AM -0800, Scott Branden wrote: Make MAX_PHYSMEM_BITS and SECTIONS_SIZE_BITS configurable by adding config options. Default to current settings currently defined in sparesmem.h. For systems wishing to save m

Re: [PATCH 1/1] arm64: mm: add config options for page table configuration

2016-12-08 Thread Catalin Marinas
On Wed, Dec 07, 2016 at 11:40:00AM -0800, Scott Branden wrote: > Make MAX_PHYSMEM_BITS and SECTIONS_SIZE_BITS configurable by adding > config options. > Default to current settings currently defined in sparesmem.h. > For systems wishing to save memory the config options can be overridden. > Example