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

2016-04-07 Thread Dave Young
On 04/07/16 at 10:03pm, 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 merely reserves physical address zero with no checking that > there is even RAM there. > > Fix

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

2016-04-07 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