From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Message-ID: <55196AEB.2040204@redhat.com> Date: Mon, 30 Mar 2015 20:55:31 +0530 From: Pratyush Anand MIME-Version: 1.0 Subject: Re: arm64 kexec hang References: <1427477015.27739.30.camel@infradead.org> <5515C799.8010600@redhat.com> <551940F5.9050102@redhat.com> <55195FE3.5090409@redhat.com> In-Reply-To: <55195FE3.5090409@redhat.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "kexec" Errors-To: kexec-bounces+dwmw2=infradead.org@lists.infradead.org To: Geoff Levand Cc: "linux-arm-kernel@lists.infradead.org" , Takahiro Akashi , kexec@lists.infradead.org, Vivek Goyal , Kyle McMartin Hi Geoff, On Monday 30 March 2015 08:08 PM, Pratyush Anand wrote: > diff --git a/kexec/arch/arm64/kexec-arm64.c > b/kexec/arch/arm64/kexec-arm64.c > index 8df66f5c8273..4365bb4087ad 100644 > --- a/kexec/arch/arm64/kexec-arm64.c > +++ b/kexec/arch/arm64/kexec-arm64.c > @@ -993,8 +993,8 @@ void machine_apply_elf_rel(struct mem_ehdr *ehdr, > unsigned long r_type, > # define R_AARCH64_CALL26 283 > #endif > > - uint32_t *location = (uint32_t *)ptr; > - uint32_t data = *location; > + uint64_t *location = (uint64_t *)ptr; > + uint64_t data = *location; > const char *type = NULL; > > switch(r_type) { > @@ -1026,7 +1026,7 @@ void machine_apply_elf_rel(struct mem_ehdr *ehdr, > unsigned long r_type, > break; > } > > - dbgprintf("%s: %s %x->%x\n", __func__, type, data, *location); > + dbgprintf("%s: %s %lx->%lx\n", __func__, type, data, *location); > } Thanks for your help/pointer. So, this was it. With above changes kexec reboot works fine with purgatory too. By the way, how much execution time expected for verify_sha256_digest? I have not quantified, but it seems that it takes minutes to execute that. ~Pratyush _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec