mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* microcode_intel: how to test extended signature codepath?
@ 2010-09-05  5:01 Henrique de Moraes Holschuh
  0 siblings, 0 replies; only message in thread
From: Henrique de Moraes Holschuh @ 2010-09-05  5:01 UTC (permalink / raw)
  To: linux-kernel
  Cc: Dmitry Adamushko, Ingo Molnar, Tigran Aivazian, Shaohua Li,
	Simon Trimmer

I have noticed that there is no public Intel microcode file using the Intel
extended signature table.  This means there is some code in
microcode_intel.c that can't be easily field-tested.  In fact, for all I
know, it might never been tested at all or it has been left untested for
several years and could have bitrotted.

Does Intel have a different microcode file that has at least one extended
signature table we could use to test the kernel driver (and enhanced
userspace helpers)? Anyone knows how to obtain it?

I suppose I could create a hacked microcode file for testing purposes based
on the real microcode update entry for some processors and using some
impossible signatures so that the driver is forced to find the match though
the first, some middle, and the last extended signatures in the cooked up
table, but this is very sub-optimal for a large number of reasons, least of
all the fact that AFAIK I'd be forbidden to distribute it to anyone else
that needs to touch the code, and the fact that it would be as correct as my
understanding of the microcode datafile spec, which doesn't mean much.

Can anyone offer any help on this matter?

-- 
  "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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-09-05  5:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-05  5:01 microcode_intel: how to test extended signature codepath? Henrique de Moraes Holschuh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®