From: Tim Deegan Subject: Re: [Patch] cpu synchronization while doing MTRR register update Date: Wed, 5 Aug 2009 09:29:30 +0100 Message-ID: <20090805082930.GP5235@york.uk.xensource.com> References: <1249410381.25561.20.camel@mukti.sc.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Return-path: Content-Disposition: inline In-Reply-To: <1249410381.25561.20.camel@mukti.sc.intel.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Nitin A Kamble Cc: "asit.k.mallick@intel.com" , "xen-devel@lists.xensource.com" , Keir Fraser , "suresh.b.siddha@intel.com" List-Id: xen-devel@lists.xenproject.org Hi, At 19:26 +0100 on 04 Aug (1249413981), Nitin A Kamble wrote: > Processors starting with westmere are caching VMCS data for better VMX > performance. These processors also has Hyper-threading support. With > hyper-threading, when one thread's cache is disabled, it also disables > cache for the sibling threads. And MTRR register updating procedure > involves cache disabling. So if cpus are not synchronized, updating MTRR > registers on a thread, results in the VMCS data from sibling threads > becoming inaccessible, and it causes system failure. What's the observed failure here? Hang/crash on resume from S3? Or something more common? Cheers, Tim. -- Tim Deegan Principal Software Engineer, Citrix Systems (R&D) Ltd. [Company #02300071, SL9 0DZ, UK.]