From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965841AbdAILlx (ORCPT ); Mon, 9 Jan 2017 06:41:53 -0500 Received: from mail.skyhub.de ([78.46.96.112]:58621 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935897AbdAILlu (ORCPT ); Mon, 9 Jan 2017 06:41:50 -0500 From: Borislav Petkov To: X86 ML Cc: LKML Subject: [PATCH 0/5] x86/microcode: More urgent fixes Date: Mon, 9 Jan 2017 12:41:42 +0100 Message-Id: <20170109114147.5082-1-bp@alien8.de> X-Mailer: git-send-email 2.11.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Borislav Petkov Hi guys, here are fixes for three more issues with the microcode loader. First one is culminating in adding an intel_get_microcode_revision() helper which does the proper steps to get the current microcode revision on an Intel CPU and should be used everywhere instead of opencoding (and forgetting) to do a CPUID(1). The other two are fixes for 06b8534cb728 ("x86/microcode: Rework microcode loading") which slipped through my testing. All this is for 4.10 only as it fixes fallout from stuff which went in this merge window. Please apply, thanks. Borislav Petkov (3): x86/CPU: Add native CPUID variants returning a single datum x86/microcode: Use native CPUID to tickle out microcode revision x86/microcode/intel: Add a helper which gives the microcode revision Junichi Nomura (2): x86/microcode/intel: Fix allocation size of struct ucode_patch x86/microcode/intel: Use correct buffer size for saving microcode data arch/x86/include/asm/microcode_intel.h | 15 ++++++++ arch/x86/include/asm/processor.h | 18 +++++++++ arch/x86/kernel/cpu/intel.c | 11 ++---- arch/x86/kernel/cpu/microcode/intel.c | 70 +++++++++------------------------- 4 files changed, 53 insertions(+), 61 deletions(-) -- 2.11.0