]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
powerpc: Change hardware breakpoint to allow longer ranges
authorMichael Neuling <mikey@neuling.org>
Thu, 24 Jan 2013 15:02:59 +0000 (15:02 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 29 Jan 2013 00:35:08 +0000 (11:35 +1100)
commit4ae7ebe9522a9e3626e28b4d268dae712738573d
treee71928a561fc2db543e88211b6b0747c10abb9cd
parent05d694ea0daa2e442191a2128aaec78635823f08
powerpc: Change hardware breakpoint to allow longer ranges

Change the hardware breakpoint code so that we can support wider ranged
breakpoints.

This means both ptrace and perf hardware breakpoints can use upto 512 byte long
breakpoints when using the DAWR and only 8 byte when using the DABR.

Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/hw_breakpoint.h
arch/powerpc/kernel/hw_breakpoint.c