Searched hist:"668 a6ec6ed57f0248070c490aba75a9572e4b0a4" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/arch/powerpc/kernel/ |
H A D | hw_breakpoint.c | diff 668a6ec6ed57f0248070c490aba75a9572e4b0a4 Mon Jul 31 20:17:39 CDT 2023 Benjamin Gray <bgray@linux.ibm.com> powerpc/watchpoints: Don't track info persistently
info is cheap to retrieve, and is likely optimised by the compiler anyway. On the other hand, propagating it across the functions makes it possible to be inconsistent and adds needless complexity.
Remove it, and invoke counter_arch_bp() when we need to work with it.
As we don't persist it, we just use the local bp array to track whether we are ignoring a breakpoint.
Signed-off-by: Benjamin Gray <bgray@linux.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://msgid.link/20230801011744.153973-3-bgray@linux.ibm.com
|