Re: [PATCH 2/3] x86, intel: Use cpu_update for Atom errata check

From: Ingo Molnar
Date: Wed May 25 2011 - 02:59:48 EST



* Andi Kleen <andi@xxxxxxxxxxxxxx> wrote:

> From: Andi Kleen <ak@xxxxxxxxxxxxxxx>
>
> Now that the cpu update level is available the Atom PSE errata
> check can use it directly without reading the MSR again.
>
> Signed-off-by: Andi Kleen <ak@xxxxxxxxxxxxxxx>
> ---
> arch/x86/kernel/cpu/intel.c | 15 ++++-----------

Ok, it's nice that you have split this one out.

Please also split out the MCE printk change you did in the first patch - even
if it's a oneliner we want the first patch to only include changes focused to
the primary purpose alone: the introduction of x86_cpu::microcode_version.

Also, please split the first patch into two other parts: a first one that
factors out the Intel microcode-version MSR function into a separate function,
and the second patch that introduces the x86_cpu::microcode_version field and
fills it in in the CPU detection code and keeps it updated in the microcode
driver.

Thanks,

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/