Re: [PATCH 0/3] x86/microcode: support for microcode update in Xen dom0

H. Peter Anvin
2011-10-13T16:44:48Z

On 10/13/2011 02:57 AM, Borislav Petkov wrote:
> On Thu, Oct 13, 2011 at 03:33:52AM -0400, Borislav Petkov wrote:
>> Bottomline is, extending initrd handling to deal with multiple initrd
>> images might turn out to be easier to do than the linked list deal.
>
> Alternatively and IMHO, we could avoid the bootloader enabling by
> making the ucode part of the initramfs and pull up some of the
> prepare_namespace() work in kernel_init() before smp_init() so that we
> can have it ready for when bootstrapping the cores.
>

I think that is really ugly, and it also makes it much harder to get the
microcode patch in early on the BSP. There are enough issues where we
would like to get the microcode in early even on the BSP.

-hpa

--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.