From mboxrd@z Thu Jan 1 00:00:00 1970 From: Borislav Petkov Subject: Re: [PATCH 2/2] x86/microcode: enable boot time (pre-Dom0) loading Date: Thu, 1 Dec 2011 11:38:08 +0100 Message-ID: <20111201103808.GB31552@aftab> References: <4ED6676F02000078000646BC@nat28.tlf.novell.com> <20111130222359.GC16651@andromeda.dapyr.net> <4ED7433A0200007800064903@nat28.tlf.novell.com> <1322733358.31810.174.camel@zakaz.uk.xensource.com> <4ED75EB202000078000649E9@nat28.tlf.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <4ED75EB202000078000649E9@nat28.tlf.novell.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: Jan Beulich Cc: Konrad Rzeszutek Wilk , "xen-devel@lists.xensource.com" , Ian Campbell , "hpa@zytor.com" List-Id: xen-devel@lists.xenproject.org On Thu, Dec 01, 2011 at 10:02:10AM +0000, Jan Beulich wrote: > >>> On 01.12.11 at 10:55, Ian Campbell wrote: > > On Thu, 2011-12-01 at 08:04 +0000, Jan Beulich wrote: > >> > >> > I got the impression they wanted some new .pack format or so? > >> > Or is the format that they were talking about exactly what you > >> picked? > >> > >> I merely picked the binary formats that are already in use; I see no > >> reason to invent another one. > > > > Adding a header/magic number so you can detect which of the blobs is > > microcode? > > This is precisely what I did *not* want to do. Well, AFAICR, we talked about using the setup_data linked list in the user-mode kernel header and since parse_setup_data() looks at data->type, then probably something should state the type of the ucode image, but I'm not sure on the details. FWIW, hpa mentioned at KS he already has some code doing early ucode loading so I'll let him chime in here. He's away this week though so it could take a while. -- Regards/Gruss, Boris. Advanced Micro Devices GmbH Einsteinring 24, 85609 Dornach GM: Alberto Bozzo Reg: Dornach, Landkreis Muenchen HRB Nr. 43632 WEEE Registernr: 129 19551