[PATCH 0/9] breakpoint: Rework arch validation
From: Frederic Weisbecker
Date: Sun May 06 2018 - 15:20:30 EST
This is the first round of breakpoint code rework and cleanup. Here we
split up architecture validation and commit so that we don't mess up
with architecture internals in case attributes are rejected or slot
can't be reserved. It also unconfuse the code in general.
git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git
perf/breakpoint
HEAD: 0a788eff09988e58708c4a3ce7b8441ce3e7df95
Thanks,
Frederic
---
Frederic Weisbecker (9):
x86/breakpoint: Split validation into "check" and "commit"
sh: Remove "struct arch_hw_breakpoint::name" unused field
sh: Split breakpoint validation into "check" and "commit"
arm: Split breakpoint validation into "check" and "commit"
xtensa: Split breakpoint validation into "check" and "commit"
arm64: Split breakpoint validation into "check" and "commit"
powerpc: Split breakpoint validation into "check" and "commit"
perf/breakpoint: Split breakpoint "check" and "commit"
perf/breakpoint: Only commit breakpoint to arch upon slot reservation success
arch/arm/include/asm/hw_breakpoint.h | 5 +-
arch/arm/kernel/hw_breakpoint.c | 160 +++++++++++++++-------------
arch/arm64/include/asm/hw_breakpoint.h | 5 +-
arch/arm64/kernel/hw_breakpoint.c | 173 +++++++++++++++++++------------
arch/powerpc/include/asm/hw_breakpoint.h | 5 +-
arch/powerpc/kernel/hw_breakpoint.c | 66 ++++++------
arch/sh/include/asm/hw_breakpoint.h | 6 +-
arch/sh/kernel/hw_breakpoint.c | 102 ++++++++----------
arch/x86/include/asm/hw_breakpoint.h | 5 +-
arch/x86/kernel/hw_breakpoint.c | 140 ++++++++++++-------------
arch/xtensa/include/asm/hw_breakpoint.h | 5 +-
arch/xtensa/kernel/hw_breakpoint.c | 54 ++++++----
kernel/events/hw_breakpoint.c | 78 ++++++++------
13 files changed, 443 insertions(+), 361 deletions(-)