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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> But seriously, considering patch slot 1 instruction with bits slot1[40:18]
> (which is nicely contained within the upper 8-byte of a bundle). The encoding
> for break instruction takes [40:27], and it left you with 9 bits to encode
> immediate value (actually 10 because bit 36 is also part of immediate value).
> With that, kprobe on slot1 can be extended to all CPU, not just montecito.

Sounds like with some careful trickery (and choice of break value ranges) you
might well be able to *insert* the breakpoint in slot1 with only 8-byte atomic
operations.

But I can't see how you plan to *remove* the breakpoint and restore the
original instruction.

-Tony
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Sparc Linux]     [DCCP]     [Linux ARM]     [Yosemite News]     [Linux SCSI]     [Linux x86_64]     [Linux for Ham Radio]

  Powered by Linux