WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-ppc-devel

[XenPPC] [pushed] [ppc] stability breakthru... I hope

To: xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
Subject: [XenPPC] [pushed] [ppc] stability breakthru... I hope
From: jimix@xxxxxxxxxxxxxx
Date: Tue, 16 May 2006 11:00:22 -0400
Delivery-date: Tue, 16 May 2006 07:58:26 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-ppc-devel-request@lists.xensource.com?subject=help>
List-id: Xen PPC development <xen-ppc-devel.lists.xensource.com>
List-post: <mailto:xen-ppc-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-ppc-devel-bounces@xxxxxxxxxxxxxxxxxxx
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

<Prev in Thread] Current Thread [Next in Thread>
  • [XenPPC] [pushed] [ppc] stability breakthru... I hope, jimix <=