Re: [Qemu-devel] [PATCH for-4.1? 0/2] arm: further improve initrd positioning

2019-07-22 Thread Mark Rutland
Hi Peter, On Mon, Jul 22, 2019 at 04:18:02PM +0100, Peter Maydell wrote: > In commit e6b2b20d9735d4ef we made the boot loader code try to avoid > putting the initrd on top of the kernel. However the expression used > to calculate the start of the initrd: > > info->initrd_start = info->loader

[Qemu-devel] [PATCH for-4.1? 0/2] arm: further improve initrd positioning

2019-07-22 Thread Peter Maydell
In commit e6b2b20d9735d4ef we made the boot loader code try to avoid putting the initrd on top of the kernel. However the expression used to calculate the start of the initrd: info->initrd_start = info->loader_start + MAX(MIN(info->ram_size / 2, 128 * 1024 * 1024), kernel_size); inco