Thread (14 messages) flat view 14 messages, 5 authors, 2016-11-06

Re: [PATCH 1/3] powerpc: Emulation support for load/store instructions on LE

From: Ravi Bangoria <hidden>
Date: 2016-11-04 05:31:45
Also in: lkml


On Friday 04 November 2016 07:37 AM, Andrew Donnellan wrote:
On 03/11/16 21:27, Ravi Bangoria wrote:
quoted
Yes, kernel-space hw-breakpoint feature is broken on LE without this.
Is there any actual user-visible feature that depends on this, or is this solely for debugging and development purposes?

It would of course be *nice* to have it in stable trees (particularly so we pick it up in distros) but I'm not convinced that enabling HW breakpoints on a platform where it has *never* worked qualifies as an "actual bug".

(BTW many thanks for fixing this - I had a shot at it late last year but never quite got there!)
Thanks Andrew,

kprobe, uprobe, hw-breakpoint and xmon are the only user of emulate_step.

Kprobe / uprobe single-steps instruction if they can't emulate it, so there
is no problem with them. As I mention, hw-breakpoint is broken. However
I'm not sure about xmon, I need to check that.

So yes, there is no user-visible feature that depends on this.

-Ravi
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help