[lkml]   [2006]   [Nov]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Patch in this message
    Subject[patch] Regression in 2.6.19-rc microcode driver

    if the microcode driver is built in (rather than module) there are some,
    ehm, interesting effects happening due to the new "call out to
    userspace" behavior that is introduced.. and which runs too early. The
    result is a boot hang; which is really nasty.

    The patch below is a minimally safe patch to fix this regression for
    2.6.19 by just not requesting actual microcode updates during early
    boot. (That is a good idea in general anyway)

    The "real" fix is a lot more complex given the entire cpu hotplug
    scenario (during cpu hotplug you normally need to load the microcode as
    well); but the interactions for that are just really messy at this
    point; this fix at least makes it work and avoids a full detangle of

    Signed-off-by: Arjan van de Ven <>

    --- linux-2.6.18/arch/i386/kernel/ 2006-11-06 14:50:37.000000000 +0100
    +++ linux-2.6.18/arch/i386/kernel/microcode.c 2006-11-06 14:52:30.000000000 +0100
    @@ -577,7 +577,7 @@ static void microcode_init_cpu(int cpu)
    set_cpus_allowed(current, cpumask_of_cpu(cpu));
    - if (uci->valid)
    + if (uci->valid && system_state==SYSTEM_RUNNING)
    set_cpus_allowed(current, old);
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2006-11-06 15:21    [W:0.021 / U:4.544 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site