I've prepared my patch on top of Christophe's patch as it's easy to change stepping_handler() rather than hw_breakpoint_handler(). 2nd patch is the actual fix.
Christophe Leroy (1): powerpc/hw_breakpoint: move instruction stepping out of hw_breakpoint_handler() Ravi Bangoria (1): powerpc/watchpoint: Disable watchpoint hit by larx/stcx instructions arch/powerpc/kernel/hw_breakpoint.c | 77 +++++++++++++++++++---------- 1 file changed, 50 insertions(+), 27 deletions(-) -- 2.21.0