BITS handling of CPU microcode updates
From: Henrique de Moraes Holschuh
Date: Fri Mar 11 2011 - 21:30:30 EST
Burt,
The BITS handling of Intel CPU microcode updates does not match either the
official documentation I cold find, or the Linux kernel code.
The documentation clearly states that microcode revision levels are a
*signed* 32-bit number, and that implies it should be subject to signed
comparisons.
The Linux kernel code considers it an unsigned 32-bit number, and does an
unsigned comparison (this is likely a bug).
And the BITS code mentions something called a "BWG", and will always install
a microcode with a revision < 0, it will never install a microcode with a
revision of zero, and does a normal version comparison if the revision is
greater than zero.
AFAIK, just like extended signatures (which are yet to be seen in the wild),
microcoes with negative or zero revision levels have never been published to
operating system vendors, so those discrepancies have had, so far, no impact
in the field. But they could well be latent bugs.
Can you please clarify what is the correct behaviour ?
--
"One disk to rule them all, One disk to find them. One disk to bring
them all and in the darkness grind them. In the Land of Redmond
where the shadows lie." -- The Silicon Valley Tarot
Henrique Holschuh
--
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/