[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <3vP58d4wR4z9s8x@ozlabs.org>
Date: Thu, 16 Feb 2017 16:59:45 +1100 (AEDT)
From: Michael Ellerman <patch-notifications@...erman.id.au>
To: Ravi Bangoria <ravi.bangoria@...ux.vnet.ibm.com>
Cc: peterz@...radead.org, linux-kernel@...r.kernel.org,
npiggin@...il.com,
Ravi Bangoria <ravi.bangoria@...ux.vnet.ibm.com>,
paulus@...ba.org, naveen.n.rao@...ux.vnet.ibm.com,
linuxppc-dev@...ts.ozlabs.org
Subject: Re: powerpc/xmon: Fix data-breakpoint
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@...ux.vnet.ibm.com>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/c21a493a2b44650707d06741601894
cheers
Powered by blists - more mailing lists