Re: [PATCH v2 3/3] riscv/kexec: load initrd high in available memory

2023-08-01 Thread Conor Dooley
On Wed, Jul 26, 2023 at 11:54:01AM +0200, Petr Tesarik wrote: > From: Torsten Duwe > > When initrd is loaded low, the secondary kernel fails like this: > > INITRD: 0xdc581000+0x00eef000 overlaps in-use memory region > > This initrd load address corresponds to the _end symbol, but the >

Re: [PATCH v2 3/3] riscv/kexec: load initrd high in available memory

2023-07-26 Thread Petr Tesarik
On 7/26/2023 6:38 PM, Conor Dooley wrote: > On Wed, Jul 26, 2023 at 11:54:01AM +0200, Petr Tesarik wrote: >> From: Torsten Duwe >> >> When initrd is loaded low, the secondary kernel fails like this: >> >> INITRD: 0xdc581000+0x00eef000 overlaps in-use memory region >> >> This initrd load address

[PATCH v2 3/3] riscv/kexec: load initrd high in available memory

2023-07-26 Thread Petr Tesarik
From: Torsten Duwe When initrd is loaded low, the secondary kernel fails like this: INITRD: 0xdc581000+0x00eef000 overlaps in-use memory region This initrd load address corresponds to the _end symbol, but the reservation is aligned on PMD_SIZE, as explained by a comment in setup_bootmem().