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-changelog

[Xen-changelog] Convert a few privops to existing hyperprivops in xenlin

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Convert a few privops to existing hyperprivops in xenlinux
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 12 Oct 2005 08:32:22 +0000
Delivery-date: Wed, 12 Oct 2005 08:36:05 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User djm@xxxxxxxxxxxxxxx
# Node ID bb8120b53a96d0dd2d07a7831e2adce33c774cc4
# Parent  eba5d2627b18435969df9a87562e98f0245cb283
Convert a few privops to existing hyperprivops in xenlinux

diff -r eba5d2627b18 -r bb8120b53a96 linux-2.6-xen-sparse/arch/ia64/xen/xenivt.S
--- a/linux-2.6-xen-sparse/arch/ia64/xen/xenivt.S       Sun Oct  9 04:55:14 2005
+++ b/linux-2.6-xen-sparse/arch/ia64/xen/xenivt.S       Sun Oct  9 15:04:49 2005
@@ -188,16 +188,26 @@
 (p7)   tbit.nz.unc p10,p11=r19,32              // is it an instruction TLB 
miss?
        dep r23=0,r20,0,PAGE_SHIFT              // clear low bits to get page 
address
        ;;
+#ifdef CONFIG_XEN
+       mov r24=r8
+       mov r8=r18
+       ;;
+(p10)  XEN_HYPER_ITC_D
+       ;;
+(p11)  XEN_HYPER_ITC_I
+       ;;
+       mov r8=r24
+       ;;
+(p6)   br.cond.spnt.many page_fault            // handle bad address/page not 
present (page fault)
+       ;;
+       movl r24=XSI_IFA
+       ;;
+       st8 [r24]=r22
+       ;;
+#else
 (p10)  itc.i r18                               // insert the instruction TLB 
entry
 (p11)  itc.d r18                               // insert the data TLB entry
 (p6)   br.cond.spnt.many page_fault            // handle bad address/page not 
present (page fault)
-#ifdef CONFIG_XEN
-       ;;
-       movl r24=XSI_IFA
-       ;;
-       st8 [r24]=r22
-       ;;
-#else
        mov cr.ifa=r22
 #endif
 
@@ -828,7 +838,17 @@
        ;;
        cmp.eq p6,p7=r26,r18
        ;;
+#ifdef CONFIG_XEN
+       mov r26=r8
+       mov r8=r25
+       ;;
+(p6)   XEN_HYPER_ITC_I
+       ;;
+       mov r8=r26
+       ;;
+#else
 (p6)   itc.i r25                               // install updated PTE
+#endif
        ;;
        /*
         * Tell the assemblers dependency-violation checker that the above 
"itc" instructions
@@ -905,7 +925,17 @@
        ;;
        cmp.eq p6,p7=r26,r18
        ;;
+#ifdef CONFIG_XEN
+       mov r26=r8
+       mov r8=r25
+       ;;
+(p6)   XEN_HYPER_ITC_D
+       ;;
+       mov r8=r26
+       ;;
+#else
 (p6)   itc.d r25                               // install updated PTE
+#endif
        /*
         * Tell the assemblers dependency-violation checker that the above 
"itc" instructions
         * cannot possibly affect the following loads:
@@ -1423,11 +1453,25 @@
        SAVE_MIN_WITH_COVER_R19
        alloc r14=ar.pfs,0,0,5,0
        mov out0=r15
+#ifdef CONFIG_XEN
+       movl out1=XSI_ISR
+       ;;
+       adds out2=XSI_IFA-XSI_ISR,out1
+       adds out3=XSI_IIM-XSI_ISR,out1
+       adds out4=XSI_ITIR-XSI_ISR,out1
+       ;;
+       ld8 out1=[out1]
+       ld8 out2=[out2]
+       ld8 out3=[out4]
+       ld8 out4=[out4]
+       ;;
+#else
        mov out1=cr.isr
        mov out2=cr.ifa
        mov out3=cr.iim
        mov out4=cr.itir
        ;;
+#endif
        ssm psr.ic | PSR_DEFAULT_BITS
        ;;
        srlz.i                                  // guarantee that interruption 
collection is on

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Convert a few privops to existing hyperprivops in xenlinux, Xen patchbot -unstable <=