Re: [PATCH 1/3] x86, intel: Output microcode revision
From: Ingo Molnar
Date: Wed May 25 2011 - 15:45:23 EST
* Andi Kleen <ak@xxxxxxxxxxxxxxx> wrote:
> I hadn't really expected this simple patchkit to generate
> that much email :-)
>
> > Many years ago i had an old P3 system where i mixed steppings and
> > it was not stable, it would crash after i have put some load on
> > the system.
>
> Ok.
>
> But it's not clear to me how to reliably do it for the microcode at
> boot. Because a future microcode update could fix it up, but the
> kernel can't know if there will be a microcode update or not. So I
> don't think it can be done at boot at least.
Well, my suggestion was mainly about stepping mismatches, and
microcode updates do not generally change the stepping.
If the steppings are the same and the microcode version is not the
same, doesn't that at least indicate some potential BIOS badness?
Most BIOSes will load a certain version of the microcode straight
away, and do that on all CPUs.
So warning about that might be useful as well.
But yeah, i could be wrong about this, if there's many false
positives we can tone it down or remove it altogether - right now we
simply do not know. We could float it a bit and see what happens,
it's not like these kinds of checks are expensive.
> If you want me to rewrite the microcode update driver or something
> like that that's outside the scope of my patchkit, sorry.
No, i'd be perfectly happy if you began sending obviously correct
small patches already, without me having to baby-sit you through
trivial cleanliness issues *every* *single* *time*. You are a very
maintenance-intense contributor with an attitude right now. If that
situation improves we can do more complex things.
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/