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

[Xen-changelog] [xen-unstable] [IA64] hyper_rfi: do not validate vcr.iip anymore.



# HG changeset patch
# User Alex Williamson <alex.williamson@xxxxxx>
# Date 1180987939 21600
# Node ID ab677b67b4a502e34695600849f94da3e9bfbfe1
# Parent  dc227a849d02bbd7b9772f376a50c98bb6a9d755
[IA64] hyper_rfi: do not validate vcr.iip anymore.

This is useless: if iip is within the vmm, this will be caught by the mmu.

Signed-off-by: Tristan Gingold <tgingold@xxxxxxx>
---
 xen/arch/ia64/xen/hyperprivop.S |    9 +--------
 1 files changed, 1 insertion(+), 8 deletions(-)

diff -r dc227a849d02 -r ab677b67b4a5 xen/arch/ia64/xen/hyperprivop.S
--- a/xen/arch/ia64/xen/hyperprivop.S   Mon Jun 04 14:10:30 2007 -0600
+++ b/xen/arch/ia64/xen/hyperprivop.S   Mon Jun 04 14:12:19 2007 -0600
@@ -1087,23 +1087,16 @@ 1:
        ld4 r20=[r20];;
        cmp.ne p7,p0=r20,r0
 (p7)   br.spnt.few slow_vcpu_rfi ;;
+#if 0
        // if domain hasn't already done virtual bank switch
        //  do it the slow way (FIXME later?)
-#if 0
        adds r20=XSI_BANKNUM_OFS-XSI_PSR_IC_OFS,r18 ;;
        ld4 r20=[r20];;
        cmp.eq p7,p0=r20,r0
 (p7)   br.spnt.few slow_vcpu_rfi ;;
 #endif
-       // validate vcr.iip, if in Xen range, do it the slow way
        adds r20=XSI_IIP_OFS-XSI_PSR_IC_OFS,r18 ;;
        ld8 r22=[r20];;
-       movl r23=HYPERVISOR_VIRT_START
-       movl r24=HYPERVISOR_VIRT_END;;
-       cmp.ltu p0,p7=r22,r23 ;;        // if !(iip<low) &&
-(p7)   cmp.geu p0,p7=r22,r24 ;;        //    !(iip>=high)
-(p7)   br.spnt.few slow_vcpu_rfi ;;
-
 1:     // OK now, let's do an rfi.
 #ifdef FAST_HYPERPRIVOP_CNT
        movl r20=FAST_HYPERPRIVOP_PERFC(HYPERPRIVOP_RFI);;

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


 


Rackspace

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