On 11/26/2012 10:31 PM, Oleg Nesterov wrote:
On 11/26, Suzuki K. Poulose wrote:
@@ -121,8 +125,11 @@ int arch_uprobe_post_xol(struct arch_uprobe *auprobe,
struct pt_regs *regs)
* to be executed.
*/
regs->nip = utask->vaddr + MAX_UINSN_BYTES;
+ regs->msr =
On 11/26, Suzuki K. Poulose wrote:
>
> @@ -121,8 +125,11 @@ int arch_uprobe_post_xol(struct arch_uprobe *auprobe,
> struct pt_regs *regs)
>* to be executed.
>*/
> regs->nip = utask->vaddr + MAX_UINSN_BYTES;
> + regs->msr = utask->autask.saved_msr;
> +#ifdef
From: Suzuki K. Poulose
Replace the ptrace helpers with the powerpc generic routines to
enable/disable single step. We save/restore the MSR (and DCBR for BookE)
across for the operation.
Signed-off-by: Suzuki K. Poulose
---
arch/powerpc/include/asm/uprobes.h |4
From: Suzuki K. Poulose suz...@in.ibm.com
Replace the ptrace helpers with the powerpc generic routines to
enable/disable single step. We save/restore the MSR (and DCBR for BookE)
across for the operation.
Signed-off-by: Suzuki K. Poulose suz...@in.ibm.com
---
arch/powerpc/include/asm/uprobes.h
On 11/26, Suzuki K. Poulose wrote:
@@ -121,8 +125,11 @@ int arch_uprobe_post_xol(struct arch_uprobe *auprobe,
struct pt_regs *regs)
* to be executed.
*/
regs-nip = utask-vaddr + MAX_UINSN_BYTES;
+ regs-msr = utask-autask.saved_msr;
+#ifdef CONFIG_PPC_ADV_DEBUG_REGS
On 11/26/2012 10:31 PM, Oleg Nesterov wrote:
On 11/26, Suzuki K. Poulose wrote:
@@ -121,8 +125,11 @@ int arch_uprobe_post_xol(struct arch_uprobe *auprobe,
struct pt_regs *regs)
* to be executed.
*/
regs-nip = utask-vaddr + MAX_UINSN_BYTES;
+ regs-msr =
6 matches
Mail list logo