When enabling debug config options relating to preemption, several bugs appear in the kernel log. With this series applied, the breakpoint code no longer prints bugs when running the powerpc/ptrace selftests.
Benjamin Gray (3): powerpc/watchpoints: Disable preemption in thread_change_pc() powerpc/watchpoint: Disable pagefaults when getting user instruction powerpc/watchpoints: Annotate atomic context in more places arch/powerpc/kernel/hw_breakpoint.c | 16 +++++++++++++++- arch/powerpc/kernel/hw_breakpoint_constraints.c | 7 ++++++- 2 files changed, 21 insertions(+), 2 deletions(-) -- 2.41.0