All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Let kexec work on IBM QS2x blade servers
@ 2008-08-27  7:54 Maxim Shchetynin
  0 siblings, 0 replies; 4+ messages in thread
From: Maxim Shchetynin @ 2008-08-27  7:54 UTC (permalink / raw)
  To: kexec

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?

From: Maxim Shchetynin <maxim@de.ibm.com>
Signed-off-by: Maxim Shchetynin <maxim@de.ibm.com>
---

diff -Nuar kexec-tools-testing-20070330/kexec/arch/ppc64/kexec-elf-rel-ppc64.c kexec-tools-testing-20070330-fixed/kexec/arch/ppc64/kexec-elf-rel-ppc64.c
--- kexec-tools-testing-20070330/kexec/arch/ppc64/kexec-elf-rel-ppc64.c	2007-03-30 06:34:36.000000000 +0200
+++ kexec-tools-testing-20070330-fixed/kexec/arch/ppc64/kexec-elf-rel-ppc64.c	2008-06-19 17:35:23.000000000 +0200
@@ -56,6 +56,7 @@
 		break;
 
 	case R_PPC64_ADDR64:
+	case R_PPC64_REL64:
 		/* Simply set it */
 		*(uint64_t *)location = value;
 		break;

-- 
Mit freundlichen Grüßen / met vriendelijke groeten / avec regards

    Maxim V. Shchetynin
    Linux Kernel Entwicklung
    IBM Deutschland Research & Development GmbH
    Linux für Cell, Abteilung 3250
    Schönaicher Straße 220
    71032 Böblingen

Vorsitzender des Aufsichtsrats: Martin Jetter
Geschäftsführung: Herbert Kircher
Sitz der Gesellschaft: Böblingen
Registriergericht: Amtsgericht Stuttgart, HRB 243294

Fahr nur so schnell wie dein Schutzengel fliegen kann!

_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH] Let kexec work on IBM QS2x blade servers
@ 2008-08-27  8:04 Maxim Shchetynin
  2008-08-27  8:27 ` Mohan Kumar M
  2008-08-27  8:46 ` Simon Horman
  0 siblings, 2 replies; 4+ messages in thread
From: Maxim Shchetynin @ 2008-08-27  8:04 UTC (permalink / raw)
  To: kexec


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?

From: Maxim Shchetynin <maxim@de.ibm.com>.
Signed-off-by: Maxim Shchetynin <maxim@de.ibm.com>
---

diff -Nuar
kexec-tools-testing-20070330/kexec/arch/ppc64/kexec-elf-rel-ppc64.c
kexec-tools-testing-20070330-fixed/kexec/arch/ppc64/kexec-elf-rel-ppc64.c
--- kexec-tools-testing-20070330/kexec/arch/ppc64/kexec-elf-rel-ppc64.c
2007-03-30 06:34:36.000000000 +0200
+++
kexec-tools-testing-20070330-fixed/kexec/arch/ppc64/kexec-elf-rel-ppc64.c
2008-06-19 17:35:23.000000000 +0200
@@ -56,6 +56,7 @@
            break;

      case R_PPC64_ADDR64:
+     case R_PPC64_REL64::
            /* Simply set it */
            *(uint64_t *)location = value;
            break;

Mit freundlichen Grüßen / met vriendelijke groeten / avec regards

    Maxim V. Shchetynin
    Linux Kernel Entwicklung
    IBM Deutschland Research & Development GmbH
    Linux für Cell, Abteilung 3250
    Schönaicher Straße 220
    71032 Böblingen

Vorsitzender des Aufsichtsrats: Martin Jetter
Geschäftsführung: Herbert Kircher
Sitz der Gesellschaft: Böblingen
Registriergericht: Amtsgericht Stuttgart, HRB 243294

Fahr nur so schnell wie dein Schutzengel fliegen kann!


_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] Let kexec work on IBM QS2x blade servers
  2008-08-27  8:04 [PATCH] Let kexec work on IBM QS2x blade servers Maxim Shchetynin
@ 2008-08-27  8:27 ` Mohan Kumar M
  2008-08-27  8:46 ` Simon Horman
  1 sibling, 0 replies; 4+ messages in thread
From: Mohan Kumar M @ 2008-08-27  8:27 UTC (permalink / raw)
  To: Maxim Shchetynin; +Cc: kexec

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?
> 
> From: Maxim Shchetynin <maxim@de.ibm.com>.
> Signed-off-by: Maxim Shchetynin <maxim@de.ibm.com>
> ---
> 
> diff -Nuar
> kexec-tools-testing-20070330/kexec/arch/ppc64/kexec-elf-rel-ppc64.c
> kexec-tools-testing-20070330-fixed/kexec/arch/ppc64/kexec-elf-rel-ppc64.c
> --- kexec-tools-testing-20070330/kexec/arch/ppc64/kexec-elf-rel-ppc64.c
> 2007-03-30 06:34:36.000000000 +0200
> +++
> kexec-tools-testing-20070330-fixed/kexec/arch/ppc64/kexec-elf-rel-ppc64.c
> 2008-06-19 17:35:23.000000000 +0200
> @@ -56,6 +56,7 @@
>             break;
> 

Hi Maxim,

>       case R_PPC64_ADDR64:
> +     case R_PPC64_REL64::

Why do we need to process R_PPC64_REL64 relocation type specially for 
QS2x blades? Is it specific to tool chain version or platform?


>             /* Simply set it */
>             *(uint64_t *)location = value;
>             break;
> 

Regards,
Mohan.


> Mit freundlichen Grüßen / met vriendelijke groeten / avec regards
> 
>     Maxim V. Shchetynin
>     Linux Kernel Entwicklung
>     IBM Deutschland Research & Development GmbH
>     Linux für Cell, Abteilung 3250
>     Schönaicher Straße 220
>     71032 Böblingen
> 
> Vorsitzender des Aufsichtsrats: Martin Jetter
> Geschäftsführung: Herbert Kircher
> Sitz der Gesellschaft: Böblingen
> Registriergericht: Amtsgericht Stuttgart, HRB 243294
> 
> Fahr nur so schnell wie dein Schutzengel fliegen kann!
> 
> 
> _______________________________________________
> kexec mailing list
> kexec@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/kexec


_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] Let kexec work on IBM QS2x blade servers
  2008-08-27  8:04 [PATCH] Let kexec work on IBM QS2x blade servers Maxim Shchetynin
  2008-08-27  8:27 ` Mohan Kumar M
@ 2008-08-27  8:46 ` Simon Horman
  1 sibling, 0 replies; 4+ messages in thread
From: Simon Horman @ 2008-08-27  8:46 UTC (permalink / raw)
  To: Maxim Shchetynin; +Cc: kexec

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@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@de.ibm.com>
Signed-off-by: Simon Horman <horms@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;

_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-08-27  8:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-27  8:04 [PATCH] Let kexec work on IBM QS2x blade servers Maxim Shchetynin
2008-08-27  8:27 ` Mohan Kumar M
2008-08-27  8:46 ` Simon Horman
  -- strict thread matches above, loose matches on Subject: below --
2008-08-27  7:54 Maxim Shchetynin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.