Hi Geoff, On Wed, Jul 20, 2016 at 11:54 PM, Geoff Levand <geoff at infradead.org> wrote: > Add kexec reboot support for ARM64 platforms. > > Signed-off-by: Geoff Levand <geoff at infradead.org> > --- [snip] > diff --git a/kexec/arch/arm64/crashdump-arm64.c b/kexec/arch/arm64/crashdump-arm64.c > new file mode 100644 > index 0000000..d2272c8 > --- /dev/null > +++ b/kexec/arch/arm64/crashdump-arm64.c > @@ -0,0 +1,21 @@ > +/* > + * ARM64 crashdump. > + */ > + > +#define _GNU_SOURCE > + > +#include <errno.h> > +#include <linux/elf.h> > + > +#include "kexec.h" > +#include "crashdump.h" > +#include "crashdump-arm64.h" > +#include "kexec-arm64.h" > +#include "kexec-elf.h" > + > +struct memory_ranges usablemem_rgns = {}; > + > +int is_crashkernel_mem_reserved(void) > +{ > + return 0; > +} Shouldn't is_crashkernel_mem_reserved() parse iomem and return true if crashkernel region is reserved? Due to this issue when I'm trying to validate these patches, I always get next error: | Memory for crashkernel is not reserved | Please reserve memory by passing"crashkernel=X at Y" parameter to kernel | Then try to loading kdump kernel My system already has reserved region for crashkernel: ~# cat /proc/iomem | grep Crash 7f000000-7fffffff : Crash kernel And I use kexec next way: kexec --type Image -p /Image --ramdisk=/ramdisk.cpio.gz --dtb=dtb-arm64.dtb --append="root=/dev/ram0 1 maxcpus=1 reset_devices" Best regards, Ruslan Bilovol