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

[XenPPC] [pushed] [ppc] Blow away the ERAT in before changing HID4 and the 970 UM suggests



changeset:   10293:d4ae28178796b513975e06c74f5828ab27b07a13
user:        jimix@xxxxxxxxxxxxxxxxxxxxx
date:        Thu May 18 13:59:05 2006 -0400
files:       xen/arch/ppc/ppc64/io.S
description:
[ppc] Blow away the ERAT in before changing HID4 and the 970 UM suggests


diff -r 362e8769dba11053cc7d26ec9796698ac4219f93 -r 
d4ae28178796b513975e06c74f5828ab27b07a13 xen/arch/ppc/ppc64/io.S
--- a/xen/arch/ppc/ppc64/io.S   Thu May 18 13:58:17 2006 -0400
+++ b/xen/arch/ppc/ppc64/io.S   Thu May 18 13:59:05 2006 -0400
@@ -50,17 +50,17 @@
        li r6, 0x100
        sldi r6, r6, 32
        or r5, r9, r6
+       tlbiel \addr /* invalidate the ERAT entry */
        sync
        mtspr SPRN_HID4, r5
-       tlbiel \addr /* invalidate the ERAT entry */
        isync
 .endm
 
 .macro ENABLE_DCACHE addr
        /* re-zero HID4.RM_CI */
+       tlbiel \addr /* invalidate the ERAT entry */
        sync
        mtspr SPRN_HID4, r9
-       tlbiel \addr /* invalidate the ERAT entry */
        isync
 
        /* re-enable interrupts */



_______________________________________________
Xen-ppc-devel mailing list
Xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ppc-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.