lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Sun,  6 May 2018 21:19:46 +0200
From:   Frederic Weisbecker <frederic@...nel.org>
To:     LKML <linux-kernel@...r.kernel.org>
Cc:     Frederic Weisbecker <frederic@...nel.org>,
        Jiri Olsa <jolsa@...hat.com>,
        Namhyung Kim <namhyung@...nel.org>,
        Peter Zijlstra <peterz@...radead.org>,
        Linus Torvalds <torvalds@...ux-foundation.org>,
        Yoshinori Sato <ysato@...rs.sourceforge.jp>,
        Benjamin Herrenschmidt <benh@...nel.crashing.org>,
        Catalin Marinas <catalin.marinas@....com>,
        Chris Zankel <chris@...kel.net>,
        Paul Mackerras <paulus@...ba.org>,
        Thomas Gleixner <tglx@...utronix.de>,
        Will Deacon <will.deacon@....com>,
        Michael Ellerman <mpe@...erman.id.au>,
        Rich Felker <dalias@...c.org>, Ingo Molnar <mingo@...nel.org>,
        Mark Rutland <mark.rutland@....com>,
        Alexander Shishkin <alexander.shishkin@...ux.intel.com>,
        Andy Lutomirski <luto@...nel.org>,
        Arnaldo Carvalho de Melo <acme@...nel.org>,
        Max Filippov <jcmvbkbc@...il.com>
Subject: [PATCH 0/9] breakpoint: Rework arch validation

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(-)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ