lkml.org 
[lkml]   [2013]   [Jan]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v5 00/12] x86/microcode: Early load microcode
On 01/08/2013 12:04 PM, Konrad Rzeszutek Wilk wrote:
>>
>> Why is this code invoked on Xen at all? That seems crazy.
>
> [PATCH v4 09/11] x86/head64.c: Early update ucode in 64-bit
>
> has this in x86_64_start_kernel:
>
> ..
> load_idt((const struct desc_ptr *)&idt_descr);
>
> + /*
> + * Load microcode early on BSP.
> + */
> + load_ucode_bsp(__va(real_mode_data));
> +
> copy_bootdata(__va(real_mode_data));
>
> Which gets called after xen_start_kernel has setup pagetables,
> bootparams, etc ready for the generic code to be invoked.
>
> Or am I looking at an old version of these patches.

We really shouldn't do that in that flow. This doesn't make sense on
non-native.

-hpa




\
 
 \ /
  Last update: 2013-01-08 21:41    [W:0.069 / U:0.516 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site