Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1582346 > unrolled thread

Re: powerpc/xmon: Fix data-breakpoint

Started byMichael Ellerman <patch-notifications@ellerman.id.au>
First post2017-02-16 07:10 +0100
Last post2017-02-16 07:10 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: powerpc/xmon: Fix data-breakpoint Michael Ellerman <patch-notifications@ellerman.id.au> - 2017-02-16 07:10 +0100

#1582346 — Re: powerpc/xmon: Fix data-breakpoint

FromMichael Ellerman <patch-notifications@ellerman.id.au>
Date2017-02-16 07:10 +0100
SubjectRe: powerpc/xmon: Fix data-breakpoint
Message-ID<tbnqq-283-17@gated-at.bofh.it>
On Tue, 2016-11-22 at 09:25:59 UTC, Ravi Bangoria wrote:
> Xmon data-breakpoint feature is broken.
> 
> Whenever there is a watchpoint match occurs, hw_breakpoint_handler will
> be called by do_break via notifier chains mechanism. If watchpoint is
> registered by xmon, hw_breakpoint_handler won't find any associated
> perf_event and returns immediately with NOTIFY_STOP. Similarly, do_break
> also returns without notifying to xmon.
> 
> Solve this by returning NOTIFY_DONE when hw_breakpoint_handler does not
> find any perf_event associated with matched watchpoint.
> 
> Signed-off-by: Ravi Bangoria <ravi.bangoria@linux.vnet.ibm.com>

Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/c21a493a2b44650707d06741601894

cheers

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web