x86/microcode/intel: Look into the patch cache first
authorBorislav Petkov <bp@suse.de>
Wed, 28 Feb 2018 10:28:44 +0000 (11:28 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 8 Mar 2018 09:19:26 +0000 (10:19 +0100)
commitd8c3b52c00a05036e0a6b315b4b17921a7b67997
tree08c87d0ddebfdb201d7159673361fb13aaabfb95
parent30ec26da9967d0d785abc24073129a34c3211777
x86/microcode/intel: Look into the patch cache first

The cache might contain a newer patch - look in there first.

A follow-on change will make sure newest patches are loaded into the
cache of microcode patches.

Signed-off-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Tom Lendacky <thomas.lendacky@amd.com>
Tested-by: Ashok Raj <ashok.raj@intel.com>
Cc: Arjan Van De Ven <arjan.van.de.ven@intel.com>
Link: https://lkml.kernel.org/r/20180228102846.13447-6-bp@alien8.de
arch/x86/kernel/cpu/microcode/intel.c