linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] x86/microcode/intel: Microcode verification cleanups
@ 2016-03-07 10:09 Borislav Petkov
  2016-03-07 10:10 ` [PATCH 1/5] x86/microcode/intel: Change checksum variables to u32 Borislav Petkov
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Borislav Petkov @ 2016-03-07 10:09 UTC (permalink / raw)
  To: Ingo Molnar; +Cc: X86 ML, LKML

From: Borislav Petkov <bp@suse.de>

Hi,

here's a small set which makes sure the microcode data checksum
verification is done using u32s, as the SDM says and not what we did.
The interesting part is that Chris Bainbridge caught this with UBSAN
even though the SDM has been proclaiming using unsigned dwords already.

The rest are some trivial cleanups which sprang out after me staring at
microcode_sanity_check(). FWIW, it could use some more but that's for
later.

Patches ontop of tip/x86/microcode.

Borislav Petkov (4):
  x86/microcode/intel: Get rid of DWSIZE
  x86/microcode/intel: Merge two consecutive if-statements
  x86/microcode/intel: Improve microcode sanity-checking error messages
  x86/microcode/intel: Drop orig_sum from ext signature checksum

Chris Bainbridge (1):
  x86/microcode/intel: Change checksum variables to u32

 arch/x86/include/asm/microcode_intel.h    |  1 -
 arch/x86/kernel/cpu/microcode/intel_lib.c | 58 ++++++++++++++++++++-----------
 2 files changed, 37 insertions(+), 22 deletions(-)

-- 
2.3.5

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2016-03-08  8:14 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-07 10:09 [PATCH 0/5] x86/microcode/intel: Microcode verification cleanups Borislav Petkov
2016-03-07 10:10 ` [PATCH 1/5] x86/microcode/intel: Change checksum variables to u32 Borislav Petkov
2016-03-07 10:10 ` [PATCH 2/5] x86/microcode/intel: Get rid of DWSIZE Borislav Petkov
2016-03-08  8:12   ` [tip:x86/microcode] " tip-bot for Borislav Petkov
2016-03-07 10:10 ` [PATCH 3/5] x86/microcode/intel: Merge two consecutive if-statements Borislav Petkov
2016-03-08  8:13   ` [tip:x86/microcode] " tip-bot for Borislav Petkov
2016-03-07 10:10 ` [PATCH 4/5] x86/microcode/intel: Improve microcode sanity-checking error messages Borislav Petkov
2016-03-08  8:13   ` [tip:x86/microcode] " tip-bot for Borislav Petkov
2016-03-07 10:10 ` [PATCH 5/5] x86/microcode/intel: Drop orig_sum from ext signature checksum Borislav Petkov
2016-03-08  8:14   ` [tip:x86/microcode] " tip-bot for Borislav Petkov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).