diff options
author | Borislav Petkov <bp@suse.de> | 2018-03-14 19:36:14 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2018-03-16 20:55:51 +0100 |
commit | 2613f36ed965d0e5a595a1d931fd3b480e82d6fd (patch) | |
tree | 47c242f71716d90d80c84f6e8c2ac576737fc4a3 /arch/x86/include/asm/microcode_intel.h | |
parent | e3b3121fa8da94cb20f9e0c64ab7981ae47fd085 (diff) |
x86/microcode: Attempt late loading only when new microcode is present
Return UCODE_NEW from the scanning functions to denote that new microcode
was found and only then attempt the expensive synchronization dance.
Reported-by: Emanuel Czirai <xftroxgpx@protonmail.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Emanuel Czirai <xftroxgpx@protonmail.com>
Tested-by: Ashok Raj <ashok.raj@intel.com>
Tested-by: Tom Lendacky <thomas.lendacky@amd.com>
Link: https://lkml.kernel.org/r/20180314183615.17629-1-bp@alien8.de
Diffstat (limited to 'arch/x86/include/asm/microcode_intel.h')
0 files changed, 0 insertions, 0 deletions