[PATCH] Let kexec work on IBM QS2x blade servers

Simon Horman horms at verge.net.au
Wed Aug 27 04:46:08 EDT 2008


On Wed, Aug 27, 2008 at 10:04:56AM +0200, Maxim Shchetynin wrote:
> 
> Hello,
> 
> please have a look at the following patch. This patch allows kexec to work
> on IBM QS2x blades. Would it be possible to apply this patch to a next
> kexec version?

Thanks, I have applied the following to the kexec-tools git tree
on git.kernel.org.

From: Maxim Shchetynin <maxim at de.ibm.com>

Let kexec work on IBM QS2x blade servers

Hello,

please have a look at the following patch. This patch allows kexec to work
on IBM QS2x blades. Would it be possible to apply this patch to a next
kexec version?

Signed-off-by: Maxim Shchetynin <maxim at de.ibm.com>
Signed-off-by: Simon Horman <horms at verge.net.au>

diff --git a/kexec/arch/ppc64/kexec-elf-rel-ppc64.c b/kexec/arch/ppc64/kexec-elf-rel-ppc64.c
index 1c9fce5..f5a9628 100644
--- a/kexec/arch/ppc64/kexec-elf-rel-ppc64.c
+++ b/kexec/arch/ppc64/kexec-elf-rel-ppc64.c
@@ -56,6 +56,7 @@ void machine_apply_elf_rel(struct mem_ehdr *ehdr, unsigned long r_type,
 		break;
 
 	case R_PPC64_ADDR64:
+	case R_PPC64_REL64:
 		/* Simply set it */
 		*(uint64_t *)location = value;
 		break;



More information about the kexec mailing list