RE: [PATCH]IA64 trap code 16 bytes atomic copy on montecito, take 2

From: Chen, Kenneth W <kenneth.w.chen_at_intel.com>
Date: 2006-11-03 06:50:08
Keshavamurthy, Anil wrote on Thursday, November 02, 2006 11:39 AM
> > > > Do you allow kprobe insertion on "L+X" instruction?  It looks like so.
> > > > Then how do you maintain atomic update to L and X instruction right
> > > > now with memcpy?
> 
> 	Instruction Type "L+X" take two instruction slots i.e slot 1 and slot 2,
> but we only modify slot 2 to insert or remove the break and slot 2 nicely
> happens to be in the upper 8 bytes of the instruction bundle. So we don't have any
> issues here. For either inserting or removing break for "L+X" we don;t modify Slot 1
> value at all.

I wasn't aware that X slot can be encoded with break.i.  In that case, yes,
only slot 2 is modified and everything is fine. I guess the compatibility
mode saves the day for patching "L+X".

-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Fri Nov 03 06:50:24 2006

This archive was generated by hypermail 2.1.8 : 2006-11-03 06:50:45 EST