[RFC Patch 6/6] Adapt kexec and samples code to recognise PPC64 hardware breakpoint usage

2009-05-21 Thread K.Prasad
Modify kexec code to disable DABR registers before a reboot. Adapt the samples code to populate PPC64-arch specific fields. Signed-off-by: K.Prasad pra...@linux.vnet.ibm.com --- arch/powerpc/kernel/machine_kexec_64.c |3 +++ samples/hw_breakpoint/data_breakpoint.c |4 2 files

[RFC Patch 6/6] Adapt kexec and samples code to recognise PPC64 hardware breakpoint usage

2009-05-14 Thread K.Prasad
Modify kexec code to disable DABR registers before a reboot. Adapt the samples code to populate PPC64-arch specific fields. Signed-off-by: K.Prasad pra...@linux.vnet.ibm.com --- arch/powerpc/kernel/machine_kexec_64.c |6 samples/hw_breakpoint/data_breakpoint.c |4 Index:

Re: [RFC Patch 6/6] Adapt kexec and samples code to recognise PPC64 hardware breakpoint usage

2009-05-14 Thread Geert Uytterhoeven
On Thu, 14 May 2009, K.Prasad wrote: Modify kexec code to disable DABR registers before a reboot. Adapt the samples code to populate PPC64-arch specific fields. Signed-off-by: K.Prasad pra...@linux.vnet.ibm.com --- arch/powerpc/kernel/machine_kexec_64.c |6

Re: [RFC Patch 6/6] Adapt kexec and samples code to recognise PPC64 hardware breakpoint usage

2009-05-14 Thread Michael Ellerman
On Thu, 2009-05-14 at 15:59 +0200, Geert Uytterhoeven wrote: On Thu, 14 May 2009, K.Prasad wrote: Modify kexec code to disable DABR registers before a reboot. Adapt the samples code to populate PPC64-arch specific fields. Signed-off-by: K.Prasad pra...@linux.vnet.ibm.com ---

Re: [RFC Patch 6/6] Adapt kexec and samples code to recognise PPC64 hardware breakpoint usage

2009-05-14 Thread Geert Uytterhoeven
On Fri, 15 May 2009, Michael Ellerman wrote: On Thu, 2009-05-14 at 15:59 +0200, Geert Uytterhoeven wrote: On Thu, 14 May 2009, K.Prasad wrote: Modify kexec code to disable DABR registers before a reboot. Adapt the samples code to populate PPC64-arch specific fields.

Re: [RFC Patch 6/6] Adapt kexec and samples code to recognise PPC64 hardware breakpoint usage

2009-05-14 Thread Michael Ellerman
On Thu, 2009-05-14 at 16:18 +0200, Geert Uytterhoeven wrote: On Fri, 15 May 2009, Michael Ellerman wrote: On Thu, 2009-05-14 at 15:59 +0200, Geert Uytterhoeven wrote: On Thu, 14 May 2009, K.Prasad wrote: Modify kexec code to disable DABR registers before a reboot. Adapt the samples

Re: [RFC Patch 6/6] Adapt kexec and samples code to recognise PPC64 hardware breakpoint usage

2009-05-14 Thread Alan Stern
On Thu, 14 May 2009, K.Prasad wrote: Index: linux-2.6-tip.hbkpt/samples/hw_breakpoint/data_breakpoint.c === --- linux-2.6-tip.hbkpt.orig/samples/hw_breakpoint/data_breakpoint.c 2009-05-14 00:17:24.0 +0530 +++