]> git.baikalelectronics.ru Git - kernel.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)
commit55e3dc59b280910388330d07d93423aac4496f27
treee71928a561fc2db543e88211b6b0747c10abb9cd
parent53e9dfda229101ead3b410f898aca4122de18116
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