]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: Dynamically calculate the dabrx based on kernel/user/hypervisor
authorMichael Neuling <mikey@neuling.org>
Thu, 6 Sep 2012 21:24:57 +0000 (21:24 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Sun, 9 Sep 2012 23:59:13 +0000 (09:59 +1000)
commita871072a03a32884847bef1aa400831eaa534d16
treedefabdab4b813faf7bcd083f8670020cf799003c
parent08e8be5e363cec85efb24b08f32f5b31e4caa5a9
powerpc: Dynamically calculate the dabrx based on kernel/user/hypervisor

Currently we mark the DABRX to interrupt on all matches
(hypervisor/kernel/user and then filter in software.  We can be a lot
smarter now that we can set the DABRX dynamically.

This sets the DABRX based on the flags passed by the user.

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
arch/powerpc/platforms/pseries/setup.c