Skip to content

Fix preemption errors in watchpoints

Benjamin Gray linuxppc-dev 1 version Applied

Status from this message: Applied to powerpc/fixes.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 2 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3powerpc/watchpoints: Disable preemption in thread_change_pc()arch/powerpc/kernel/hw_breakpoint.c+6 -10 replies
2/3powerpc/watchpoint: Disable pagefaults when getting user instructionarch/powerpc/kernel/hw_breakpoint_constraints.c+6 -10 replies
3/3powerpc/watchpoints: Annotate atomic context in more placesarch/powerpc/kernel/hw_breakpoint.c+9 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] Fix preemption errors in watchpoints

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