[PATCH 0/2 v3] powerpc: Make ptrace work reliably
Bharat Bhushan
r65777 at freescale.com
Wed May 22 14:20:57 EST 2013
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