mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Borislav Petkov <bp@alien8.de>
To: Ingo Molnar <mingo@kernel.org>
Cc: X86 ML <x86@kernel.org>, LKML <linux-kernel@vger.kernel.org>
Subject: [PATCH 0/5] x86/microcode/intel: Microcode verification cleanups
Date: Mon,  7 Mar 2016 11:09:59 +0100	[thread overview]
Message-ID: <1457345404-28884-1-git-send-email-bp@alien8.de> (raw)

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

             reply	other threads:[~2016-03-07 10:10 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-07 10:09 Borislav Petkov [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1457345404-28884-1-git-send-email-bp@alien8.de \
    --to=bp@alien8.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@kernel.org \
    --cc=x86@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome