From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751944Ab2LTADA (ORCPT ); Wed, 19 Dec 2012 19:03:00 -0500 Received: from terminus.zytor.com ([198.137.202.10]:48178 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751274Ab2LTACy (ORCPT ); Wed, 19 Dec 2012 19:02:54 -0500 Message-ID: <50D25591.4030302@zytor.com> Date: Wed, 19 Dec 2012 16:02:25 -0800 From: "H. Peter Anvin" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Borislav Petkov , Jacob Shin , Yinghai Lu , "H. Peter Anvin" , "Yu, Fenghua" , "mingo@kernel.org" , "linux-kernel@vger.kernel.org" , "tglx@linutronix.de" , "linux-tip-commits@vger.kernel.org" , Konrad Rzeszutek Wilk , Stefano Stabellini Subject: Re: [tip:x86/microcode] x86/microcode_intel_early.c: Early update ucode on Intel's CPU References: <50CCF6F6.4020107@zytor.com> <50CD04F1.8020902@zytor.com> <0dcbce7a-d2ae-44fa-9658-81590f71ec47@email.android.com> <20121219220504.GA32212@jshin-Toonie> <50D23EE8.7030904@zytor.com> <20121219225155.GK24895@liondog.tnic> <20121219225941.GB2968@jshin-Toonie> <20121219230329.GM24895@liondog.tnic> <50D24C25.5050604@zytor.com> <20121219234012.GO24895@liondog.tnic> In-Reply-To: <20121219234012.GO24895@liondog.tnic> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 12/19/2012 03:40 PM, Borislav Petkov wrote: > > This is done on the BSP, right? So we can measure it how long it takes > by taking TSC values of start and end. > Yes, and we can count the number of #PF traps cheaply enough. It would be interesting to put a counter on the number of #PFs and the number of resets and read them out on a large-system boot. > > Sounds doable but we should take a hard look at the patches so that we > don't miss anything. > > Also, I don't know how stuff like that would be approached for a wider > testing - I mean, it is a serious change in x86 boot code and there will > be issues. > The goal should be to have this into -tip and -next by the middle of January in order to make the 3.9 merge window, I think. -hpa -- H. Peter Anvin, Intel Open Source Technology Center I work for Intel. I don't speak on their behalf.