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] Blow away the ERAT in before changing HID4 and t

To: xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
Subject: [XenPPC] [pushed] [ppc] Blow away the ERAT in before changing HID4 and the 970 UM suggests
From: jimix@xxxxxxxxxxxxxx
Date: Fri, 19 May 2006 07:05:09 -0400
Delivery-date: Fri, 19 May 2006 04:03:15 -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:   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

<Prev in Thread] Current Thread [Next in Thread>
  • [XenPPC] [pushed] [ppc] Blow away the ERAT in before changing HID4 and the 970 UM suggests, jimix <=