Re: [PATCH v2] mips: switch to NO_BOOTMEM

2018-09-15 Thread Mike Rapoport
On Fri, Sep 14, 2018 at 12:53:00PM -0700, Paul Burton wrote: > Hi Mike, > > On Mon, Sep 10, 2018 at 12:23:18PM +0300, Mike Rapoport wrote: > > MIPS already has memblock support and all the memory is already registered > > with it. > > > > This patch replaces bootmem memory reservations with membl

Re: [PATCH v2] mips: switch to NO_BOOTMEM

2018-09-14 Thread Paul Burton
Hi Mike, On Mon, Sep 10, 2018 at 12:23:18PM +0300, Mike Rapoport wrote: > MIPS already has memblock support and all the memory is already registered > with it. > > This patch replaces bootmem memory reservations with memblock ones and > removes the bootmem initialization. > > Since memblock allo

[PATCH v2] mips: switch to NO_BOOTMEM

2018-09-10 Thread Mike Rapoport
MIPS already has memblock support and all the memory is already registered with it. This patch replaces bootmem memory reservations with memblock ones and removes the bootmem initialization. Since memblock allocates memory in top-down mode, we ensure that memblock limit is max_low_pfn to prevent