From mboxrd@z Thu Jan 1 00:00:00 1970 From: Boris Ostrovsky Subject: Re: [RFC v2] misc/xenmicrocode: Upload /lib/firmware/ to the hypervisor Date: Fri, 30 Jan 2015 16:24:43 -0500 Message-ID: <54CBF69B.8020700@oracle.com> References: <1422580462-26324-1-git-send-email-mcgrof@do-not-panic.com> <54CB93F4.2050409@citrix.com> <20150130195131.GL19988@wotan.suse.de> <54CBEB8D.8030509@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1YHJ4M-0006qi-32 for xen-devel@lists.xenproject.org; Fri, 30 Jan 2015 21:25:38 +0000 In-Reply-To: <54CBEB8D.8030509@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Andrew Cooper , "Luis R. Rodriguez" Cc: Juergen Gross , Michal Marek , Jason Douglas , "Luis R. Rodriguez" , Takashi Iwai , stefano.stabellini@eu.citrix.com, Henrique de Moraes Holschuh , david.vrabel@citrix.com, Jan Beulich , xen-devel@lists.xenproject.org, Borislav Petkov , Olaf Hering List-Id: xen-devel@lists.xenproject.org On 01/30/2015 03:37 PM, Andrew Cooper wrote: > > The actions Xen needs to take are: > > - Copy the buffer into Xen. > - Scan the buffer for the correct patch Why not have the toolstack search for the right patch? Hypervisor will verify that it's appropriate but won't have to spend time scanning the (potentially large) buffer. (The logic for scanning the buffer is in the hypervisor code but we could move it to a library) -boris > - Rendezvous all online cpus in an IPI to apply the patch, and keep the > processors in until all have completed the patch. > >