Re: [PATCH] ARM: kexec: fix crashkernel= handling

2016-04-05 Thread Dave Young
On 04/01/16 at 02:25pm, Russell King - ARM Linux wrote: [snip] > Well, if we want to remove it, we then need to sort out a method of > specifying a limit on the address - where platforms physical memory > bridges the 4GB CPU-accessible limit, the crashkernel region must be > allocated below that

Re: [PATCH] ARM: kexec: fix crashkernel= handling

2016-04-01 Thread Russell King - ARM Linux
On Wed, Mar 30, 2016 at 09:27:08AM -0400, Vivek Goyal wrote: > On Wed, Mar 30, 2016 at 02:05:30PM +0100, Russell King - ARM Linux wrote: > > On Wed, Mar 30, 2016 at 06:09:22PM +0530, Pratyush Anand wrote: > > > On 30/03/2016:09:46:38 AM, Dave Young wrote: > > > > Hi, Russell > > > > > > > > A long

Re: [PATCH] ARM: kexec: fix crashkernel= handling

2016-03-30 Thread Vivek Goyal
On Wed, Mar 30, 2016 at 02:05:30PM +0100, Russell King - ARM Linux wrote: > On Wed, Mar 30, 2016 at 06:09:22PM +0530, Pratyush Anand wrote: > > On 30/03/2016:09:46:38 AM, Dave Young wrote: > > > Hi, Russell > > > > > > A long standing issue, but nobody tried to do it. Thank you for bringing > > >

Re: [PATCH] ARM: kexec: fix crashkernel= handling

2016-03-30 Thread Russell King - ARM Linux
On Wed, Mar 30, 2016 at 06:09:22PM +0530, Pratyush Anand wrote: > On 30/03/2016:09:46:38 AM, Dave Young wrote: > > Hi, Russell > > > > A long standing issue, but nobody tried to do it. Thank you for bringing up. > > > > On 03/29/16 at 11:10am, Russell King wrote: > > > When the kernel crashkernel

Re: [PATCH] ARM: kexec: fix crashkernel= handling

2016-03-30 Thread Pratyush Anand
On 30/03/2016:09:46:38 AM, Dave Young wrote: > Hi, Russell > > A long standing issue, but nobody tried to do it. Thank you for bringing up. > > On 03/29/16 at 11:10am, Russell King wrote: > > When the kernel crashkernel parameter is specified with just a size, we > > are supposed to allocate a re

Re: [PATCH] ARM: kexec: fix crashkernel= handling

2016-03-29 Thread Dave Young
Hi, Russell A long standing issue, but nobody tried to do it. Thank you for bringing up. On 03/29/16 at 11:10am, Russell King wrote: > When the kernel crashkernel parameter is specified with just a size, we > are supposed to allocate a region from RAM to store the crashkernel. > However, ARM mere

[PATCH] ARM: kexec: fix crashkernel= handling

2016-03-29 Thread Russell King
When the kernel crashkernel parameter is specified with just a size, we are supposed to allocate a region from RAM to store the crashkernel. However, ARM merely reserves physical address zero with no checking that there is even RAM there. Fix this by lifting similar code from x86, importing it to