Re: [RFC v2] arm:extend the reserved mrmory for initrd to be page aligned

2014-12-05 Thread Peter Maydell
On 5 December 2014 at 18:44, Catalin Marinas wrote: > On Fri, Dec 05, 2014 at 05:27:02PM +, Russell King - ARM Linux wrote: >> which makes the summary line rather misleading, and I really don't think >> we need to do this on ARM for the simple reason that we've been doing it >> for soo long th

Re: [RFC v2] arm:extend the reserved mrmory for initrd to be page aligned

2014-12-05 Thread Catalin Marinas
On Fri, Dec 05, 2014 at 05:27:02PM +, Russell King - ARM Linux wrote: > On Fri, Dec 05, 2014 at 05:07:45PM +, Catalin Marinas wrote: > > From 8e317c6be00abe280de4dcdd598d2e92009174b6 Mon Sep 17 00:00:00 2001 > > From: Catalin Marinas > > Date: Fri, 5 Dec 2014 16:41:52 + > > Subject: [P

Re: [RFC v2] arm:extend the reserved mrmory for initrd to be page aligned

2014-12-05 Thread Peter Maydell
On 5 December 2014 at 17:27, Russell King - ARM Linux wrote: > On Fri, Dec 05, 2014 at 05:07:45PM +, Catalin Marinas wrote: >> On Fri, Dec 05, 2014 at 12:05:06PM +, Will Deacon wrote: >> > Care to submit this as a proper patch? We should at least fix Peter's issue >> > before doing things

Re: [RFC v2] arm:extend the reserved mrmory for initrd to be page aligned

2014-12-05 Thread Russell King - ARM Linux
On Fri, Dec 05, 2014 at 05:07:45PM +, Catalin Marinas wrote: > On Fri, Dec 05, 2014 at 12:05:06PM +, Will Deacon wrote: > > Care to submit this as a proper patch? We should at least fix Peter's issue > > before doing things like extending headers, which won't work for older > > kernels anyw

Re: [RFC v2] arm:extend the reserved mrmory for initrd to be page aligned

2014-12-05 Thread Catalin Marinas
On Fri, Dec 05, 2014 at 12:05:06PM +, Will Deacon wrote: > On Thu, Dec 04, 2014 at 12:03:05PM +, Catalin Marinas wrote: > > On Mon, Sep 15, 2014 at 12:33:25PM +0100, Russell King - ARM Linux wrote: > > > On Mon, Sep 15, 2014 at 07:07:20PM +0800, Wang, Yalin wrote: > > > > @@ -636,6 +646,11

Re: [RFC v2] arm:extend the reserved mrmory for initrd to be page aligned

2014-12-05 Thread Catalin Marinas
...@kvack.org'; Will Deacon; 'linux- > > ker...@vger.kernel.org'; 'linux-arm-ker...@lists.infradead.org'; 'linux- > > arm-...@vger.kernel.org'; Peter Maydell > > Subject: Re: [RFC v2] arm:extend the reserved mrmory for initrd to be page > > align

Re: [RFC v2] arm:extend the reserved mrmory for initrd to be page aligned

2014-12-05 Thread Will Deacon
On Thu, Dec 04, 2014 at 12:03:05PM +, Catalin Marinas wrote: > On Mon, Sep 15, 2014 at 12:33:25PM +0100, Russell King - ARM Linux wrote: > > On Mon, Sep 15, 2014 at 07:07:20PM +0800, Wang, Yalin wrote: > > > @@ -636,6 +646,11 @@ static int keep_initrd; > > > void free_initrd_mem(unsigned long

RE: [RFC v2] arm:extend the reserved mrmory for initrd to be page aligned

2014-12-04 Thread Wang, Yalin
nux-arm-ker...@lists.infradead.org'; 'linux- > arm-...@vger.kernel.org'; Peter Maydell > Subject: Re: [RFC v2] arm:extend the reserved mrmory for initrd to be page > aligned > > On Mon, Sep 15, 2014 at 12:33:25PM +0100, Russell King - ARM Linux wrote: > > On Mo

Re: [RFC v2] arm:extend the reserved mrmory for initrd to be page aligned

2014-12-04 Thread Catalin Marinas
On Mon, Sep 15, 2014 at 12:33:25PM +0100, Russell King - ARM Linux wrote: > On Mon, Sep 15, 2014 at 07:07:20PM +0800, Wang, Yalin wrote: > > @@ -636,6 +646,11 @@ static int keep_initrd; > > void free_initrd_mem(unsigned long start, unsigned long end) > > { > > if (!keep_initrd) { > > +

RE: [RFC v2] arm:extend the reserved mrmory for initrd to be page aligned

2014-09-15 Thread Wang, Yalin
in Cc: 'Will Deacon'; 'linux-kernel@vger.kernel.org'; 'linux-arm-ker...@lists.infradead.org'; 'linux...@kvack.org'; 'linux-arm-...@vger.kernel.org' Subject: Re: [RFC v2] arm:extend the reserved mrmory for initrd to be page aligned On Mon, Sep

Re: [RFC v2] arm:extend the reserved mrmory for initrd to be page aligned

2014-09-15 Thread Russell King - ARM Linux
On Mon, Sep 15, 2014 at 07:07:20PM +0800, Wang, Yalin wrote: > this patch extend the start and end address of initrd to be page aligned, > so that we can free all memory including the un-page aligned head or tail > page of initrd, if the start or end address of initrd are not page > aligned, the pa