[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20191017093204.7511-1-ravi.bangoria@linux.ibm.com>
Date: Thu, 17 Oct 2019 15:01:57 +0530
From: Ravi Bangoria <ravi.bangoria@...ux.ibm.com>
To: christophe.leroy@....fr, mpe@...erman.id.au, mikey@...ling.org
Cc: npiggin@...il.com, benh@...nel.crashing.org, paulus@...ba.org,
naveen.n.rao@...ux.vnet.ibm.com, linuxppc-dev@...ts.ozlabs.org,
linux-kernel@...r.kernel.org,
Ravi Bangoria <ravi.bangoria@...ux.ibm.com>
Subject: [PATCH v6 0/7] Powerpc/Watchpoint: Few important fixes
v5: https://lists.ozlabs.org/pipermail/linuxppc-dev/2019-October/198069.html
v5->v6:
- patch 6/7: mpe reported that the perf-hwbreak.c doesn't compile with older
gcc:
perf-hwbreak.c:182:2: error: dereferencing type-punned pointer will
break strict-aliasing rules [-Werror=strict-aliasing]
temp16 = *((__u16 *)target);
^
Fixed that.
Ravi Bangoria (7):
Powerpc/Watchpoint: Introduce macros for watchpoint length
Powerpc/Watchpoint: Fix length calculation for unaligned target
Powerpc/Watchpoint: Fix ptrace code that muck around with address/len
Powerpc/Watchpoint: Don't ignore extraneous exceptions blindly
Powerpc/Watchpoint: Rewrite ptrace-hwbreak.c selftest
Powerpc/Watchpoint: Add dar outside test in perf-hwbreak.c selftest
Powerpc/Watchpoint: Support for 8xx in ptrace-hwbreak.c selftest
arch/powerpc/include/asm/hw_breakpoint.h | 9 +-
arch/powerpc/kernel/dawr.c | 6 +-
arch/powerpc/kernel/hw_breakpoint.c | 119 ++--
arch/powerpc/kernel/process.c | 3 +
arch/powerpc/kernel/ptrace.c | 16 +-
arch/powerpc/xmon/xmon.c | 2 +-
.../selftests/powerpc/ptrace/perf-hwbreak.c | 119 +++-
.../selftests/powerpc/ptrace/ptrace-hwbreak.c | 581 +++++++++++-------
8 files changed, 590 insertions(+), 265 deletions(-)
--
2.21.0
Powered by blists - more mailing lists