Re: [PATCH v5 1/9] MIPS: Avoid future duplicate elf core header reservation

2021-08-23 Thread Mike Rapoport
On Mon, Aug 23, 2021 at 09:44:55AM -0500, Rob Herring wrote: > On Mon, Aug 23, 2021 at 8:10 AM Mike Rapoport wrote: > > > > On Mon, Aug 23, 2021 at 12:17:50PM +0200, Geert Uytterhoeven wrote: > > > Hi Mike, > > > > > > On Mon, Aug 16, 2021 at 7:52 AM Mike Rapoport wrote: > > > > On Wed, Aug 11,

Re: [PATCH v5 1/9] MIPS: Avoid future duplicate elf core header reservation

2021-08-23 Thread Rob Herring
On Mon, Aug 23, 2021 at 8:10 AM Mike Rapoport wrote: > > On Mon, Aug 23, 2021 at 12:17:50PM +0200, Geert Uytterhoeven wrote: > > Hi Mike, > > > > On Mon, Aug 16, 2021 at 7:52 AM Mike Rapoport wrote: > > > On Wed, Aug 11, 2021 at 10:50:59AM +0200, Geert Uytterhoeven wrote: > > > > Prepare for

Re: [PATCH v5 1/9] MIPS: Avoid future duplicate elf core header reservation

2021-08-23 Thread Mike Rapoport
On Mon, Aug 23, 2021 at 12:17:50PM +0200, Geert Uytterhoeven wrote: > Hi Mike, > > On Mon, Aug 16, 2021 at 7:52 AM Mike Rapoport wrote: > > On Wed, Aug 11, 2021 at 10:50:59AM +0200, Geert Uytterhoeven wrote: > > > Prepare for early_init_fdt_scan_reserved_mem() reserving the memory > > > occupied

Re: [PATCH v5 1/9] MIPS: Avoid future duplicate elf core header reservation

2021-08-23 Thread Geert Uytterhoeven
Hi Mike, On Mon, Aug 16, 2021 at 7:52 AM Mike Rapoport wrote: > On Wed, Aug 11, 2021 at 10:50:59AM +0200, Geert Uytterhoeven wrote: > > Prepare for early_init_fdt_scan_reserved_mem() reserving the memory > > occupied by an elf core header described in the device tree. > > As arch_mem_init()

Re: [PATCH v5 1/9] MIPS: Avoid future duplicate elf core header reservation

2021-08-15 Thread Mike Rapoport
Hi Geert, On Wed, Aug 11, 2021 at 10:50:59AM +0200, Geert Uytterhoeven wrote: > Prepare for early_init_fdt_scan_reserved_mem() reserving the memory > occupied by an elf core header described in the device tree. > As arch_mem_init() calls early_init_fdt_scan_reserved_mem() before >

Re: [PATCH v5 1/9] MIPS: Avoid future duplicate elf core header reservation

2021-08-11 Thread Geert Uytterhoeven
On Wed, Aug 11, 2021 at 10:51 AM Geert Uytterhoeven wrote: > Prepare for early_init_fdt_scan_reserved_mem() reserving the memory > occupied by an elf core header described in the device tree. > As arch_mem_init() calls early_init_fdt_scan_reserved_mem() before > mips_reserve_vmcore(), the latter

[PATCH v5 1/9] MIPS: Avoid future duplicate elf core header reservation

2021-08-11 Thread Geert Uytterhoeven
Prepare for early_init_fdt_scan_reserved_mem() reserving the memory occupied by an elf core header described in the device tree. As arch_mem_init() calls early_init_fdt_scan_reserved_mem() before mips_reserve_vmcore(), the latter needs to check if the memory has already been reserved before. Note