ia64/xen-unstable

changeset 8801:65127e18d821

Attached patch for svm will enable a tlb flush for each vmrun.

Setting the tbl_control flag to 1 in the vmcb, causes a complete tlb
flush on this core. We have seen issues (blue screens) when utilizing
ASID granularity with WinxpSP1 running on cores>0. we have found that
flushing the TLBs each vmrun alleviates winxpsp1 crashes. We have also
sometimes seen a substantial performance improvement(!) when flushing
each vmrun, which was completely unexpected. We are continuing to
investigate root cause, but for the moment, we would like to just flush
each vmrun. Digging around in the SPT code might be necessary here also.

Signed-off-by: Tom Woller <thomas.woller@amd.com>
author kaf24@firebug.cl.cam.ac.uk
date Thu Feb 09 00:13:46 2006 +0100 (2006-02-09)
parents 974ed9f73641
children 6789ae50ce7f
files xen/arch/x86/hvm/svm/svm.c
line diff
     1.1 --- a/xen/arch/x86/hvm/svm/svm.c	Wed Feb 08 17:27:32 2006 +0100
     1.2 +++ b/xen/arch/x86/hvm/svm/svm.c	Thu Feb 09 00:13:46 2006 +0100
     1.3 @@ -2317,7 +2317,7 @@ asmlinkage void svm_vmexit_handler(struc
     1.4      save_svm_cpu_user_regs(v, &regs);
     1.5      v->arch.hvm_svm.injecting_event = 0;
     1.6  
     1.7 -    vmcb->tlb_control = 0;
     1.8 +    vmcb->tlb_control = 1;
     1.9  
    1.10  #ifdef SVM_EXTRA_DEBUG
    1.11  {