From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754019AbbCBMfy (ORCPT ); Mon, 2 Mar 2015 07:35:54 -0500 Received: from mail.skyhub.de ([78.46.96.112]:41340 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753143AbbCBMfv (ORCPT ); Mon, 2 Mar 2015 07:35:51 -0500 Date: Mon, 2 Mar 2015 13:34:41 +0100 From: Borislav Petkov To: x86-ml Cc: Quentin Casasnovas , lkml Subject: [GIT PULL] microcode loader updates Message-ID: <20150302123441.GB17521@pd.tnic> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. --