Skip to content

perf: hw_breakpoint safety improvements

Andy Lutomirski lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3x86/perf/hw_breakpoint: Disallow kernel breakpoints unless kprobe-safearch/x86/kernel/hw_breakpoint.c include/linux/kprobes.h kernel/kprobes.c+18 -15 replies
2/3x86/perf/hw_breakpoint: Improve range breakpoint validationarch/x86/kernel/hw_breakpoint.c+10 -00 replies
3/3x86/perf/hw_breakpoint: Fix check for kernelspace breakpointsarch/x86/kernel/hw_breakpoint.c+5 -11 reply

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] perf: hw_breakpoint safety improvements

Hi, Peter-

Here are some baby steps toward eliminating nested NMIs. What do you think?

Andy Lutomirski (3):
x86/perf/hw_breakpoint: Disallow kernel breakpoints unless kprobe-safe x86/perf/hw_breakpoint: Improve range breakpoint validation x86/perf/hw_breakpoint: Fix check for kernelspace breakpoints

 arch/x86/kernel/hw_breakpoint.c | 31 ++++++++++++++++++++++++++++++-
 include/linux/kprobes.h         |  2 ++
 kernel/kprobes.c                |  2 +-
 3 files changed, 33 insertions(+), 2 deletions(-)
Signature · 1 line
2.4.3