Re: [PATCH v3] x86: under bios control, restore AP's APIC_LVTTHMR tothe BSP value

From: Ingo Molnar
Date: Mon Nov 09 2009 - 04:06:30 EST



* Yong Wang <yong.y.wang@xxxxxxxxxxxxxxx> wrote:

> On Mon, Nov 09, 2009 at 08:59:57AM +0100, Ingo Molnar wrote:
> >
> > That's true in Linus's tree but Boris Petkov fixed the MCE init
> > functions naming mess in the x86 tree, in these commits:
> >
> > b33a636: x86, mce: Add a global MCE init helper
> > 5e09954: x86, mce: Fix up MCE naming nomenclature
> >
> > Please base your patch on:
> >
> > http://people.redhat.com/mingo/tip.git/README
> >
> > to have the latest MCE code. So if you stick that init function into
> > mcheck_init() in -tip it should be called once per bootup only. (I have
> > not checked the other boot dependencies, please do that.)
>
> By the time mcheck_init() executes, intel_init_thermal() has finished
> running on BSP. Any suggestions on how to resolve this issue?

it's an early_initcall() right now - if that's not early enough then
please call it explicitly from setup.c like you did it with the thermal
init function from your previous patch. (and remove the early_initcall()
line)

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/