direct-io.hg

changeset 15092:f8aede89c706

[IA64] Mask event channel when vcpu boots

Actually XenLinux/ia64 disables interrupts right after SAL OS HAND OFF
and reinitialize all psr so that this won't be an issue.
Just to be make it sure.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
author Alex Williamson <alex.williamson@hp.com>
date Thu May 03 14:27:26 2007 -0600 (2007-05-03)
parents 367d9ab41d80
children 63263d715d43
files xen/arch/ia64/xen/vcpu.c
line diff
     1.1 --- a/xen/arch/ia64/xen/vcpu.c	Thu May 03 14:24:21 2007 -0600
     1.2 +++ b/xen/arch/ia64/xen/vcpu.c	Thu May 03 14:27:26 2007 -0600
     1.3 @@ -173,6 +173,10 @@ void vcpu_init_regs(struct vcpu *v)
     1.4  		    (unsigned char *)v->domain->arch.shared_info_va +
     1.5  		    INT_ENABLE_OFFSET(v);
     1.6  		VCPU(v, itv) = (1 << 16);	/* timer vector masked */
     1.7 +
     1.8 +		/* SAL specification 3.2.4 */
     1.9 +		VCPU(v, vpsr) = IA64_PSR_AC | IA64_PSR_IC | IA64_PSR_BN;
    1.10 +		v->vcpu_info->evtchn_upcall_mask = -1;
    1.11  	}
    1.12  
    1.13  	/* pta.size must not be 0.  The minimum is 15 (32k) */