[PATCH 0/2 v3] powerpc: Make ptrace work reliably

Bhushan Bharat-R65777 R65777 at freescale.com
Tue Jun 11 22:08:57 EST 2013


Hi Ben,

Ping; 
Please review this patchset .. 

Thanks
-Bharat

> -----Original Message-----
> From: Bhushan Bharat-R65777
> Sent: Wednesday, May 22, 2013 9:51 AM
> To: galak at kernel.crashing.org; benh at kernel.crashing.org; linuxppc-
> dev at lists.ozlabs.org; Wood Scott-B07421; Yoder Stuart-B08248; Yang James-RA8135
> Cc: Bhushan Bharat-R65777
> Subject: [PATCH 0/2 v3] powerpc: Make ptrace work reliably
> 
> From: Bharat Bhushan <bharat.bhushan at freescale.com>
> 
> v2->v3
>  - Load PACACURRENT immediately after _MSR(r1), and load DBCR0
>    just after "beq resume_kernel
>  - Added lat_sysycal results before and after the patch
> 
> v1->v2
>  - Subject line was missing 0/2, 1/2, 2/2
> 
> Bharat Bhushan (2):
>   powerpc: debug control and status registers are 32bit => This patch makes
> debug control and status registers as 32bit as they are.
>    This does not fix anything
> 
>   powerpc: restore dbcr0 on user space exit => This patch fixes the ptrace
> reliability issue. The description is the patch
>    describes one of the case where it does not work reliably
> 
>  arch/powerpc/include/asm/processor.h |    8 ++++----
>  arch/powerpc/kernel/asm-offsets.c    |    1 +
>  arch/powerpc/kernel/entry_64.S       |   28 ++++++++++++++++++++++++----
>  3 files changed, 29 insertions(+), 8 deletions(-)




More information about the Linuxppc-dev mailing list