Re: [PATCH v2] hw: riscv: Allow large kernels to boot by moving the initrd further away in RAM

2024-02-15 Thread Alistair Francis
On Wed, Feb 7, 2024 at 1:42 AM Alexandre Ghiti wrote: > > Currently, the initrd is placed at 128MB, which overlaps with the kernel > when it is large (for example syzbot kernels are). From the kernel side, > there is no reason we could not push the initrd further away in memory > to accommodate

Re: [PATCH v2] hw: riscv: Allow large kernels to boot by moving the initrd further away in RAM

2024-02-14 Thread Alistair Francis
On Wed, Feb 7, 2024 at 1:42 AM Alexandre Ghiti wrote: > > Currently, the initrd is placed at 128MB, which overlaps with the kernel > when it is large (for example syzbot kernels are). From the kernel side, > there is no reason we could not push the initrd further away in memory > to accommodate

Re: [PATCH v2] hw: riscv: Allow large kernels to boot by moving the initrd further away in RAM

2024-02-06 Thread Alexandre Ghiti
On Tue, Feb 6, 2024 at 9:39 PM Daniel Henrique Barboza wrote: > > > > On 2/6/24 12:40, Alexandre Ghiti wrote: > > Currently, the initrd is placed at 128MB, which overlaps with the kernel > > when it is large (for example syzbot kernels are). From the kernel side, > > there is no reason we could

Re: [PATCH v2] hw: riscv: Allow large kernels to boot by moving the initrd further away in RAM

2024-02-06 Thread Daniel Henrique Barboza
On 2/6/24 12:40, Alexandre Ghiti wrote: Currently, the initrd is placed at 128MB, which overlaps with the kernel when it is large (for example syzbot kernels are). From the kernel side, there is no reason we could not push the initrd further away in memory to accommodate large kernels, so

[PATCH v2] hw: riscv: Allow large kernels to boot by moving the initrd further away in RAM

2024-02-06 Thread Alexandre Ghiti
Currently, the initrd is placed at 128MB, which overlaps with the kernel when it is large (for example syzbot kernels are). From the kernel side, there is no reason we could not push the initrd further away in memory to accommodate large kernels, so move the initrd at 512MB when possible. The