Re: [PATCH] MIPS: fix memory setup for platforms with PHY_OFFSET != 0

2019-02-27 Thread Thomas Bogendoerfer
On Wed, 27 Feb 2019 08:32:43 +0200 Mike Rapoport wrote: > The changelog mentions initrd, but the patch changes only the kernel > reservation. Can you please update the changelog to match the code? sure, changed and sent. Thomas. -- SUSE Linux GmbH GF: Felix Imendörffer, Jane Smithard, Graham

Re: [PATCH] MIPS: fix memory setup for platforms with PHY_OFFSET != 0

2019-02-26 Thread Mike Rapoport
Hi, On Tue, Feb 26, 2019 at 03:06:32PM +0100, Thomas Bogendoerfer wrote: > For platforms, which use a PHY_OFFSET != 0, symbol _end also Nit: PHYS_OFFSET, the same typo in subject > contains that offset. So when calling memblock_reserve() for > reserving kernel and initrd

[PATCH] MIPS: fix memory setup for platforms with PHY_OFFSET != 0

2019-02-26 Thread Thomas Bogendoerfer
For platforms, which use a PHY_OFFSET != 0, symbol _end also contains that offset. So when calling memblock_reserve() for reserving kernel and initrd the size argument needs to be adjusted. Fixes: bcec54bf3118 ("mips: switch to NO_BOOTMEM") Signed-off-by: Thomas Bogendoerfer --- arch/mips/kernel