lkml.org 
[lkml]   [2012]   [Dec]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRE: [PATCH v3 08/10] x86/head64.c: Early update ucode in 64-bit
    Date
    > From: yhlu.kernel@gmail.com [mailto:yhlu.kernel@gmail.com] On Behalf Of
    > Yinghai Lu
    > On Mon, Dec 17, 2012 at 3:30 PM, Yu, Fenghua <fenghua.yu@intel.com>
    > wrote:
    > >
    > > OSV may need the patchset based on old kernel. So I'll have the
    > patchset ready. Is this the right place to call load_ucode_bsp() in the
    > upstream kernel?
    > >
    > > diff --git a/arch/x86/kernel/head64.c b/arch/x86/kernel/head64.c
    > > index a512f56..e94b90e 100644
    > > --- a/arch/x86/kernel/head64.c
    > > +++ b/arch/x86/kernel/head64.c
    > > @@ -93,6 +88,11 @@ void __init x86_64_start_kernel(char *
    > real_mode_data)
    > > }
    > > load_idt((const struct desc_ptr *)&idt_descr);
    > >
    > > + /*
    > > + * Load microcode early on BSP.
    > > + */
    > > + load_ucode_bsp(__va(real_mode_data));
    > > +
    > > if (console_loglevel == 10)
    > > early_printk("Kernel alive\n");
    > >
    > it has to be after #PF handler set page table patch...
    >
    > otherwise when ramdisk is above 1G, customer will get early PF
    > exception.

    If based on your for_x86_boot tree, is load_ucode_bsp() called afer load_idt()?

    Thanks.

    -Fenghua


    \
     
     \ /
      Last update: 2012-12-19 00:21    [W:3.885 / U:0.340 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site