From: Ravi Bangoria <ravi.bangoria@linux.ibm.com>
To: mpe@ellerman.id.au, mikey@neuling.org, christophe.leroy@c-s.fr
Cc: Ravi Bangoria <ravi.bangoria@linux.ibm.com>,
linux-kernel@vger.kernel.org, npiggin@gmail.com,
paulus@samba.org, naveen.n.rao@linux.vnet.ibm.com,
linuxppc-dev@lists.ozlabs.org
Subject: [PATCH v4 0/5] Powerpc/Watchpoint: Few important fixes
Date: Wed, 25 Sep 2019 09:36:25 +0530 [thread overview]
Message-ID: <20190925040630.6948-1-ravi.bangoria@linux.ibm.com> (raw)
v3: https://lists.ozlabs.org/pipermail/linuxppc-dev/2019-July/193339.html
v3->v4:
- Instead of considering exception as extraneous when dar is outside of
user specified range, analyse the instruction and check for overlap
between user specified range and actual load/store range.
- Add selftest for the same in perf-hwbreak.c
- Make ptrace-hwbreak.c selftest more strict by checking address in
check_success.
- Support for 8xx in ptrace-hwbreak.c selftest (Build tested only)
- Rebase to powerpc/next
@Christope, Can you please check Patch 5. I've just build-tested it
with ep88xc_defconfig.
Ravi Bangoria (5):
Powerpc/Watchpoint: Fix length calculation for unaligned target
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/debug.h | 1 +
arch/powerpc/include/asm/hw_breakpoint.h | 9 +-
arch/powerpc/kernel/dawr.c | 6 +-
arch/powerpc/kernel/hw_breakpoint.c | 76 ++-
arch/powerpc/kernel/process.c | 46 ++
arch/powerpc/kernel/ptrace.c | 37 +-
arch/powerpc/xmon/xmon.c | 3 +-
.../selftests/powerpc/ptrace/perf-hwbreak.c | 111 +++-
.../selftests/powerpc/ptrace/ptrace-hwbreak.c | 579 +++++++++++-------
9 files changed, 595 insertions(+), 273 deletions(-)
--
2.21.0
next reply other threads:[~2019-09-25 4:11 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-25 4:06 Ravi Bangoria [this message]
2019-09-25 4:06 ` [PATCH v4 1/5] Powerpc/Watchpoint: Fix length calculation for unaligned target Ravi Bangoria
2019-09-25 4:06 ` [PATCH v4 2/5] Powerpc/Watchpoint: Don't ignore extraneous exceptions blindly Ravi Bangoria
2019-09-25 4:06 ` [PATCH v4 3/5] Powerpc/Watchpoint: Rewrite ptrace-hwbreak.c selftest Ravi Bangoria
2019-09-25 4:06 ` [PATCH v4 4/5] Powerpc/Watchpoint: Add dar outside test in perf-hwbreak.c selftest Ravi Bangoria
2019-09-25 4:06 ` [PATCH v4 5/5] Powerpc/Watchpoint: Support for 8xx in ptrace-hwbreak.c selftest Ravi Bangoria
2019-10-07 6:35 ` [PATCH v4 0/5] Powerpc/Watchpoint: Few important fixes Ravi Bangoria
2019-10-09 13:37 ` Christophe Leroy
2019-10-10 4:44 ` Ravi Bangoria
2019-10-10 6:25 ` Ravi Bangoria
2019-10-12 7:31 ` Christophe Leroy
2019-10-14 3:44 ` Ravi Bangoria
2019-10-10 9:30 ` Christophe Leroy
2019-10-12 8:51 ` Christophe Leroy
2019-10-14 3:44 ` Ravi Bangoria
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190925040630.6948-1-ravi.bangoria@linux.ibm.com \
--to=ravi.bangoria@linux.ibm.com \
--cc=christophe.leroy@c-s.fr \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=mikey@neuling.org \
--cc=mpe@ellerman.id.au \
--cc=naveen.n.rao@linux.vnet.ibm.com \
--cc=npiggin@gmail.com \
--cc=paulus@samba.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).