[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [RFC v2] misc/xenmicrocode: Upload /lib/firmware/<some blob> to the hypervisor



On Fri, Jan 30, 2015 at 1:57 PM, Luis R. Rodriguez <mcgrof@xxxxxxxx> wrote:
> On Fri, Jan 30, 2015 at 08:37:33PM +0000, Andrew Cooper wrote:
>> The right thing to do is to fix the hypercall implementation, at which
>> point the utility below is fine and xc_microcode_update() can be a thing
>> wrapper around the hypercall.
>>
>> The actions Xen needs to take are:
>>
>> - Copy the buffer into Xen.
>> - Scan the buffer for the correct patch
>> - Rendezvous all online cpus in an IPI to apply the patch, and keep the
>> processors in until all have completed the patch.
>>
>> The IPI itself probably wants common rendezvous code, and a system
>> specific call for application.  The system specific call will need to
>> adhere to the requirements in the relevant manual.  Care will have to be
>> taken to avoid deadlocking with the time calibration rendezvous, and
>> facilities such as the watchdog might temporally need pausing.
>>
>> If you feel up to all that, then please go ahead.  If not, I will
>> attempt to find some copious free time.
>
> You can have a crack at that. Let me know when the above is ready and I'll
> respin. I'd try it but it seems you would spend considerbly less time than
> me doing the above.

Andrew, wanted to check to see if you have had time to work on the above.

 Luis

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.