x86/microcode: Default-disable late loading
authorBorislav Petkov <bp@suse.de>
Wed, 25 May 2022 16:12:30 +0000 (18:12 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 Mar 2023 08:39:12 +0000 (09:39 +0100)
commit6d2b3a319144f3f5148d8a2b19549ea3bb118c2e
tree1a16b584038b12fef17e4053b7af5c5e6b12aca4
parentdce39c10d885445316332c55dcd0fd3d8e3093fc
x86/microcode: Default-disable late loading

[ Upstream commit a77a94f86273ce42a39cb479217dd8d68acfe0ff ]

It is dangerous and it should not be used anyway - there's a nice early
loading already.

Requested-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20220525161232.14924-3-bp@alien8.de
Stable-dep-of: c0dd9245aa9e ("x86/microcode: Check CPU capabilities after late microcode update correctly")
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/x86/Kconfig
arch/x86/kernel/cpu/common.c
arch/x86/kernel/cpu/microcode/core.c