summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBorislav Petkov <bp@suse.de>2019-03-13 12:00:22 +0100
committerThomas Gleixner <tglx@linutronix.de>2019-03-21 12:24:39 +0100
commit9bd681251b7c1db1c6cfe29a72c5ea1b1c0ba022 (patch)
treede68d729fe6ab7c2b4814aa98667426d4b9e73ba
parent534c89c22e26b183d838294f0937ee092c82ad3a (diff)
downloadlinux-9bd681251b7c1db1c6cfe29a72c5ea1b1c0ba022.tar.gz
linux-9bd681251b7c1db1c6cfe29a72c5ea1b1c0ba022.tar.bz2
linux-9bd681251b7c1db1c6cfe29a72c5ea1b1c0ba022.zip
x86/microcode: Announce reload operation's completion
By popular demand, issue a single line to dmesg after the reload operation completes to let the user know that a reload has at least been attempted. Signed-off-by: Borislav Petkov <bp@suse.de> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lkml.kernel.org/r/20190313110022.8229-1-bp@alien8.de
-rw-r--r--arch/x86/kernel/cpu/microcode/core.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/kernel/cpu/microcode/core.c b/arch/x86/kernel/cpu/microcode/core.c
index 97f9ada9ceda..5260185cbf7b 100644
--- a/arch/x86/kernel/cpu/microcode/core.c
+++ b/arch/x86/kernel/cpu/microcode/core.c
@@ -608,6 +608,8 @@ static int microcode_reload_late(void)
if (ret > 0)
microcode_check();
+ pr_info("Reload completed, microcode revision: 0x%x\n", boot_cpu_data.microcode);
+
return ret;
}