[GIT PULL] microcode loader updates

From: Borislav Petkov
Date: Mon Mar 02 2015 - 07:35:58 EST


Hi guys,

here's the first pile of microcode loader cleanups for 4.1.

Please pull,
thanks.

---
The following changes since commit c517d838eb7d07bbe9507871fab3931deccff539:

Linux 4.0-rc1 (2015-02-22 18:21:14 -0800)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp.git tags/intel_microcode_cleanup_p1

for you to fetch changes up to 94a7cbf93996711a32e286488b8523740d6a19f0:

x86/microcode/intel: Fix printing of microcode blobs in show_saved_mc() (2015-03-02 10:07:36 +0100)

----------------------------------------------------------------
The first part of the scrubbing of the intel early microcode loader.
There's more work to come but let's unload this pile first.

----------------------------------------------------------------
Borislav Petkov (13):
x86/microcode/intel: Check if microcode was found before applying
x86/microcode/intel: Do the mc_saved_src NULL check first
x86/microcode/intel: Get rid of last arg to load_ucode_intel_bsp()
x86/microcode/intel: Simplify load_ucode_intel_bsp()
x86/microcode/intel: Make _save_mc() return the updated saved count
x86/microcode/intel: Sanitize _save_mc()
x86/microcode/intel: Rename update_match_revision()
x86/microcode: Consolidate family,model, ... code
x86/microcode/intel: Simplify generic_load_microcode_early()
x86/microcode/intel: Move mc arg last in get_matching_{microcode|sig}
x86/microcode/intel: Sanitize microcode_pointer()
x86/microcode/intel: Check scan_microcode()'s retval
x86/microcode/intel: Fix printing of microcode blobs in show_saved_mc()

Quentin Casasnovas (1):
x86/microcode/intel: Fix out of bounds memory access to the extended header

arch/x86/include/asm/microcode.h | 73 ++++++
arch/x86/include/asm/microcode_intel.h | 13 +-
arch/x86/kernel/cpu/microcode/core_early.c | 75 +-----
arch/x86/kernel/cpu/microcode/intel.c | 4 +-
arch/x86/kernel/cpu/microcode/intel_early.c | 344 +++++++++++++---------------
arch/x86/kernel/cpu/microcode/intel_lib.c | 22 +-
6 files changed, 259 insertions(+), 272 deletions(-)

--
Regards/Gruss,
Boris.

ECO tip #101: Trim your mails when you reply.
--
--
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/