changeset: 10283:f543ec6888568c895a307e128ea0089e8fe23645
tag: tip
user: jimix@xxxxxxxxxxxxxxxxxxxxx
date: Tue May 16 10:59:27 2006 -0400
files: xen/arch/ppc/ppc64/io.S
description:
[ppc] stability breakthru... I hope
For all CI storing (or "out") IO functions:
- The TWI instruction in order to force the dependency is meaningless
- Full sync is required
diff -r 574ea299bed7292a1996e339c727b676e30faffd -r
f543ec6888568c895a307e128ea0089e8fe23645 xen/arch/ppc/ppc64/io.S
--- a/xen/arch/ppc/ppc64/io.S Tue May 16 10:43:48 2006 -0400
+++ b/xen/arch/ppc/ppc64/io.S Tue May 16 10:59:27 2006 -0400
@@ -89,8 +89,7 @@ _GLOBAL(out_8)
_GLOBAL(out_8)
DISABLE_DCACHE r3
stb r4,0(r3)
- twi 0,r4,0
- isync
+ sync
ENABLE_DCACHE r3
blr
@@ -106,8 +105,7 @@ _GLOBAL(out_32)
_GLOBAL(out_32)
DISABLE_DCACHE r3
stw r4,0(r3)
- twi 0,r4,0
- isync
+ sync
ENABLE_DCACHE r3
blr
@@ -123,8 +121,7 @@ _GLOBAL(out_le16)
_GLOBAL(out_le16)
DISABLE_DCACHE r3
sthbrx r4,0,r3
- twi 0,r4,0
- isync
+ sync
ENABLE_DCACHE r3
blr
@@ -140,7 +137,6 @@ _GLOBAL(out_le32)
_GLOBAL(out_le32)
DISABLE_DCACHE r3
stwbrx r4,0,r3
- twi 0,r4,0
- isync
+ sync
ENABLE_DCACHE r3
blr
_______________________________________________
Xen-ppc-devel mailing list
Xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ppc-devel
|