From: "K.Prasad" <prasad@linux.vnet.ibm.com>
To: LKML <linux-kernel@vger.kernel.org>
Cc: Ingo Molnar <mingo@elte.hu>,
Frederic Weisbecker <fweisbec@gmail.com>,
Roland McGrath <roland@redhat.com>,
Alan Stern <stern@rowland.harvard.edu>,
Jan Kiszka <jan.kiszka@siemens.com>
Subject: [Patch 0/2 v2] Improvements for hw_breakpoint_handler()
Date: Thu, 28 Jan 2010 16:43:47 +0530 [thread overview]
Message-ID: <20100128111347.GA13935@in.ibm.com> (raw)
Hi Frederic,
Can you please pull the second version of the patch which perform
the following.
Patch 1/2: Clears the arch-reserved bits from debug status register. This
helps easy bitwise operations - such as the check for non-trap bits in
hw_breakpoint_handler. A check for the same using
"if (dr6 & (~DR_TRAP_BITS))" throws incorrect results due to the
presence of preset reserved bits.
Patch 2/2: Return NOTIFY_DONE from hw_breakpoint_handler() for interested
user-space breakpoints (and not unconditionally) since this could lead to
further processing in do_debug() with undesirable consequences.
Changelog ver II
----------------
Version I: LKML ref: 20091226182519.GA9494@in.ibm.com
- Return NOTIFY_DONE for further processing (i.e. signal delivery) only for
interested user-space breakpoints i.e. with current->thread.debugreg6 bits
set.
Thanks,
K.Prasad
next reply other threads:[~2010-01-28 11:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-28 11:13 K.Prasad [this message]
2010-01-28 12:19 ` [Patch 0/2 v2] Improvements for hw_breakpoint_handler() Frederic Weisbecker
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=20100128111347.GA13935@in.ibm.com \
--to=prasad@linux.vnet.ibm.com \
--cc=fweisbec@gmail.com \
--cc=jan.kiszka@siemens.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=roland@redhat.com \
--cc=stern@rowland.harvard.edu \
/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