[PATCH] powerpc/mm: Define MAX_PHYSMEM_BITS for all 64-bit configs

2019-04-09 Thread Christian Zigotzky
Hi All, Shall I activate FLATMEM or SPARSEMEM for the Nemo board with the PA6T-1682M SoC? Thanks, Christian

Re: [PATCH] powerpc/mm: Define MAX_PHYSMEM_BITS for all 64-bit configs

2019-04-09 Thread Aneesh Kumar K.V
Michael Ellerman writes: > The recent commit 8bc086899816 ("powerpc/mm: Only define > MAX_PHYSMEM_BITS in SPARSEMEM configurations") removed our definition > of MAX_PHYSMEM_BITS when SPARSEMEM is disabled. > > This inadvertently broke some 64-bit FLATMEM using configs with eg: > > arch/powerpc/

[PATCH] powerpc/mm: Define MAX_PHYSMEM_BITS for all 64-bit configs

2019-04-08 Thread Michael Ellerman
The recent commit 8bc086899816 ("powerpc/mm: Only define MAX_PHYSMEM_BITS in SPARSEMEM configurations") removed our definition of MAX_PHYSMEM_BITS when SPARSEMEM is disabled. This inadvertently broke some 64-bit FLATMEM using configs with eg: arch/powerpc/include/asm/book3s/64/mmu-hash.h:584:6: