]> git.baikalelectronics.ru Git - kernel.git/commit
x86/microcode/AMD: Check patch level only on the BSP
authorBorislav Petkov <bp@suse.de>
Fri, 20 Jan 2017 20:29:51 +0000 (21:29 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 23 Jan 2017 09:02:50 +0000 (10:02 +0100)
commitea0833be7d700649790f36a25ee54435c7664d2f
tree0dc1ad8daeeff482ea918ecce926859a4432b182
parent85890e429823c30c032239be190e75f5e39b97ce
x86/microcode/AMD: Check patch level only on the BSP

Check final patch levels for AMD only on the BSP. This way, we decide
early and only once whether to continue loading or to leave the loader
disabled on such systems.

Simplify a lot.

Signed-off-by: Borislav Petkov <bp@suse.de>
Link: http://lkml.kernel.org/r/20170120202955.4091-13-bp@alien8.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/include/asm/microcode_amd.h
arch/x86/kernel/cpu/microcode/amd.c
arch/x86/kernel/cpu/microcode/core.c