Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753424AbbBXKhy (ORCPT ); Tue, 24 Feb 2015 05:37:54 -0500 Received: from mail.skyhub.de ([78.46.96.112]:58738 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752599AbbBXKhu (ORCPT ); Tue, 24 Feb 2015 05:37:50 -0500 From: Borislav Petkov To: X86 ML Cc: LKML , Quentin Casasnovas Subject: [PATCH 00/13] x86/microcode: Intel early loader cleanups Date: Tue, 24 Feb 2015 11:36:59 +0100 Message-Id: <1424774232-5981-1-git-send-email-bp@alien8.de> X-Mailer: git-send-email 2.2.0.33.gc18b867 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1973 Lines: 47 From: Borislav Petkov Hi, so this is something which got started in the aftermath of a discussion about some robustifying fixes to the microcode loader by Quentin. Everyone agrees that current code needs a good rubbing so here's part one of that. More to come later, let's not overwhelm people with huge patchsets. All patches are cleanups and simplifications in an attempt to make the code more readable and simpler and enable follow-up improvements. Thanks. 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() 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 | 341 +++++++++++++--------------- arch/x86/kernel/cpu/microcode/intel_lib.c | 22 +- 6 files changed, 258 insertions(+), 270 deletions(-) -- 2.2.0.33.gc18b867 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/