Repository navigation
Release 0.7.10 - #703
Release 0.7.10#703
Conversation
| "it ne", | ||
| "bxne lr", | ||
| "cpsie i", | ||
| "isb", |
There was a problem hiding this comment.
I don't think we need ISB here - CPSIE is self synchronising. The only reason to add one would be to ensure any pending interrupts run before the next instruction, but I don't think that matters here.
There was a problem hiding this comment.
Ah. Hmm.
I guess the failure mode here is that the next instruction might run before being preempted by a pending exception. That feels OK? The Arm doc does note that CPSIE followed by CPSIE is ok (interrupts will run in the gap between the two).
I think putting the ISB after the MSR makes more sense.
There was a problem hiding this comment.
Agreed, I've pushed to move the ISB to just after MSR instead.
| "it ne", | ||
| "bxne lr", | ||
| "cpsie i", | ||
| "isb", |
There was a problem hiding this comment.
I don't think we need ISB here - CPSIE is self synchronising. The only reason to add one would be to ensure any pending interrupts run before the next instruction, but I don't think that matters here.
4bbfae9 to
ba5f31a
Compare

Releases fixes for #702 and #697.