All of lore.kernel.org
 help / color / mirror / Atom feed
* [Patch 0/2 v2] Improvements for hw_breakpoint_handler()
@ 2010-01-28 11:13 K.Prasad
  2010-01-28 12:19 ` Frederic Weisbecker
  0 siblings, 1 reply; 2+ messages in thread
From: K.Prasad @ 2010-01-28 11:13 UTC (permalink / raw)
  To: LKML
  Cc: Ingo Molnar, Frederic Weisbecker, Roland McGrath, Alan Stern, Jan Kiszka

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Patch 0/2 v2] Improvements for hw_breakpoint_handler()
  2010-01-28 11:13 [Patch 0/2 v2] Improvements for hw_breakpoint_handler() K.Prasad
@ 2010-01-28 12:19 ` Frederic Weisbecker
  0 siblings, 0 replies; 2+ messages in thread
From: Frederic Weisbecker @ 2010-01-28 12:19 UTC (permalink / raw)
  To: K.Prasad; +Cc: LKML, Ingo Molnar, Roland McGrath, Alan Stern, Jan Kiszka

On Thu, Jan 28, 2010 at 04:43:47PM +0530, K.Prasad wrote:
> Hi Frederic,
>         Can you please pull the second version of the patch which perform
> the  following.



Ok, looks good. I'm queueing these.

Thanks Prasad!


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-01-28 12:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-01-28 11:13 [Patch 0/2 v2] Improvements for hw_breakpoint_handler() K.Prasad
2010-01-28 12:19 ` Frederic Weisbecker

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.