# HG changeset patch # User Tristan Gingold # Date 1180906931 -7200 # Node ID 64b7b2a2e9cf6161f24b219191ff545473eed3de # Parent 72b4869e9c7e40801669e31e7965ffe06dc83937 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 diff -r 72b4869e9c7e -r 64b7b2a2e9cf xen/arch/ia64/xen/hyperprivop.S --- a/xen/arch/ia64/xen/hyperprivop.S Sun Jun 03 23:22:44 2007 +0200 +++ b/xen/arch/ia64/xen/hyperprivop.S Sun Jun 03 23:42:11 2007 +0200 @@ -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=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);;