]> git.baikalelectronics.ru Git - kernel.git/commit
x86/microcode: Taint and warn on late loading
authorBorislav Petkov <bp@suse.de>
Wed, 25 May 2022 16:12:31 +0000 (18:12 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 31 May 2022 07:31:19 +0000 (09:31 +0200)
commit6ea6e67a260b799934869819ead3cad01f9f314a
tree4f3eac2da6ba21bd0528e3245d10913495430546
parent3577aa4ff926c1f7165e60f8d0eb69f247999ac2
x86/microcode: Taint and warn on late loading

Warn before it is attempted and taint the kernel. Late loading microcode
can lead to malfunction of the kernel when the microcode update changes
behaviour. There is no way for the kernel to determine whether its safe or
not.

Signed-off-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20220525161232.14924-4-bp@alien8.de
arch/x86/kernel/cpu/microcode/core.c