Thread (6 messages) flat view 6 messages, 3 authors, 2006-09-21

Re: [PATCH]: powerpc: clarify use of twi/isync in io macros

From: Segher Boessenkool <hidden>
Date: 2006-09-19 19:57:19

+ *
+ * Read operations have additional twi & isync to make sure the read
+ * is actually performed (i.e. the data has come back) before we  
start
+ * executing any following instructions.
+ *
+ * A data-dependent branch followed by an isync ensures that no
+ * instructions after the isync in program order will be
+ * (speculatively) executed
..."before the isync has completed, and it won't complete until
the branch is resolved;"...
so the load that the twi depends
+ * on has to complete before anything else is executed; in
+ * particular, it's a barrier to keep MMIO reads ordered before
+ * main-storage accesses.
  */
You shouldn't post my test and put your signed-off on it, esp.
if I forgot to type half a sentence :-)  Here, have one though:

Signed-off-by: Segher Boessenkool <redacted>



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