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

[Xen-changelog] [xen-unstable] [IA64] Mask event channel when vcpu boots



# HG changeset patch
# User Alex Williamson <alex.williamson@xxxxxx>
# Date 1178224046 21600
# Node ID f8aede89c7065a5376a544c0b9bd49d4b22ac954
# Parent  367d9ab41d804936dfc9707aa22fcd188e7ac59e
[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@xxxxxxxxxxxxx>
---
 xen/arch/ia64/xen/vcpu.c |    4 ++++
 1 files changed, 4 insertions(+)

diff -r 367d9ab41d80 -r f8aede89c706 xen/arch/ia64/xen/vcpu.c
--- a/xen/arch/ia64/xen/vcpu.c  Thu May 03 14:24:21 2007 -0600
+++ b/xen/arch/ia64/xen/vcpu.c  Thu May 03 14:27:26 2007 -0600
@@ -173,6 +173,10 @@ void vcpu_init_regs(struct vcpu *v)
                    (unsigned char *)v->domain->arch.shared_info_va +
                    INT_ENABLE_OFFSET(v);
                VCPU(v, itv) = (1 << 16);       /* timer vector masked */
+
+               /* SAL specification 3.2.4 */
+               VCPU(v, vpsr) = IA64_PSR_AC | IA64_PSR_IC | IA64_PSR_BN;
+               v->vcpu_info->evtchn_upcall_mask = -1;
        }
 
        /* pta.size must not be 0.  The minimum is 15 (32k) */

_______________________________________________
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®.