From: "Jan Beulich" Subject: Re: [PATCH] x86: don't write_tsc() non-zero values on CPUs updating only the lower 32 bits Date: Fri, 15 Apr 2011 08:06:35 +0100 Message-ID: <4DA80A9B020000780003C869@vpn.id2.novell.com> References: <54B2EB610B7F1340BB6A0D4CA04A4F100100CBC5C9@orsmsx505.amr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser , Winston L Wang Cc: Jinsong Liu , "xen-devel@lists.xensource.com" , KeirFraser , Yunhong Jiang , Donald D Dugger , Xin Li List-Id: xen-devel@lists.xenproject.org >>> On 14.04.11 at 23:06, Keir Fraser wrote: > On 14/04/2011 19:33, "Wang, Winston L" wrote: >> Great efforts for turning the test code re-validate the processor with >> (X86_FEATURE_TSC_RELIABLE) set. We know for sure that the broken old >> processors any write TSC will Zero the upper 32 bit. So can we move = this=20 > test >> code as early as possible, say immediately after the early Processor = init=20 > code >> where checking CPU id and set X86_FEATURE_TSC_RELIABLE? >=20 > For our meaning of TSC_RELIABLE, there's no need for its setting to rely = on > TSC 64-bit writability. I think leaving it where it is in init_xen_time()= is > probably fine. So do I think - I already tried to carefully pick the place where this is best done. Jan