How to handle kprobe bugs?
From: Dave Martin <hidden>
Date: 2011-03-31 08:54:23
On Wed, Mar 30, 2011 at 7:34 PM, Tixy [off-list ref] wrote:
On Wed, 2011-03-30 at 15:10 +0100, Dave Martin wrote:quoted
On Wed, Mar 30, 2011 at 02:53:33PM +0100, Tixy wrote:quoted
I also find that instruction emulation for some (all?) ARMv6K and newer instructions are missing. E.g. hint instructions like NOP and WFI. Shall I produce a second patch to add these?Sure. Note that you should emulate all the hinted NOPs as actual NOPs, since the event the hint waits for may happen in the meantime; under some circumstances that would lead to stalls.Good point :-) Conversely, things like Send Event shouldn't be actual NOPs.
Also a good point! For this one, I guess you'll need to take into account what platform you're acutally running on, also. Cheers ---Dave