Re: [PATCH] powerpc/boot: Fix the initrd being overwritten under qemu

2019-10-24 Thread Alexey Kardashevskiy
On 25/10/2019 04:45, Segher Boessenkool wrote: > On Thu, Oct 24, 2019 at 12:31:24PM +1100, Alexey Kardashevskiy wrote: >> >> >> On 23/10/2019 22:21, Segher Boessenkool wrote: >>> On Wed, Oct 23, 2019 at 12:36:35PM +1100, Oliver O'Halloran wrote: When booting under OF the zImage expects the

Re: [PATCH] powerpc/boot: Fix the initrd being overwritten under qemu

2019-10-24 Thread Segher Boessenkool
On Thu, Oct 24, 2019 at 12:31:24PM +1100, Alexey Kardashevskiy wrote: > > > On 23/10/2019 22:21, Segher Boessenkool wrote: > > On Wed, Oct 23, 2019 at 12:36:35PM +1100, Oliver O'Halloran wrote: > >> When booting under OF the zImage expects the initrd address and size to be > >> passed to it

Re: [PATCH] powerpc/boot: Fix the initrd being overwritten under qemu

2019-10-23 Thread Alexey Kardashevskiy
On 24/10/2019 12:31, Alexey Kardashevskiy wrote: > > > On 23/10/2019 22:21, Segher Boessenkool wrote: >> On Wed, Oct 23, 2019 at 12:36:35PM +1100, Oliver O'Halloran wrote: >>> When booting under OF the zImage expects the initrd address and size to be >>> passed to it using registers r3 and

Re: [PATCH] powerpc/boot: Fix the initrd being overwritten under qemu

2019-10-23 Thread Alexey Kardashevskiy
On 23/10/2019 22:21, Segher Boessenkool wrote: > On Wed, Oct 23, 2019 at 12:36:35PM +1100, Oliver O'Halloran wrote: >> When booting under OF the zImage expects the initrd address and size to be >> passed to it using registers r3 and r4. SLOF (guest firmware used by QEMU) >> currently doesn't do

Re: [PATCH] powerpc/boot: Fix the initrd being overwritten under qemu

2019-10-23 Thread Oliver O'Halloran
On Wed, Oct 23, 2019 at 10:21 PM Segher Boessenkool wrote: > > On Wed, Oct 23, 2019 at 12:36:35PM +1100, Oliver O'Halloran wrote: > > When booting under OF the zImage expects the initrd address and size to be > > passed to it using registers r3 and r4. SLOF (guest firmware used by QEMU) > >

Re: [PATCH] powerpc/boot: Fix the initrd being overwritten under qemu

2019-10-23 Thread Segher Boessenkool
On Wed, Oct 23, 2019 at 12:36:35PM +1100, Oliver O'Halloran wrote: > When booting under OF the zImage expects the initrd address and size to be > passed to it using registers r3 and r4. SLOF (guest firmware used by QEMU) > currently doesn't do this so the zImage is not aware of the initrd >

Re: [PATCH] powerpc/boot: Fix the initrd being overwritten under qemu

2019-10-23 Thread Alexey Kardashevskiy
On 23/10/2019 12:36, Oliver O'Halloran wrote: > When booting under OF the zImage expects the initrd address and size to be > passed to it using registers r3 and r4. SLOF (guest firmware used by QEMU) > currently doesn't do this so the zImage is not aware of the initrd > location. This can

[PATCH] powerpc/boot: Fix the initrd being overwritten under qemu

2019-10-22 Thread Oliver O'Halloran
When booting under OF the zImage expects the initrd address and size to be passed to it using registers r3 and r4. SLOF (guest firmware used by QEMU) currently doesn't do this so the zImage is not aware of the initrd location. This can result in initrd corruption either though the zImage