Skip to contentSkip to conversation

x86/microcode: Announce reload operation's completion

PATCH New Borislav Petkov 2 participants 2 messages Mar 13, 2019 – Mar 21, 2019

Subsystems (2)
lore
Share & tools
lore

Borislav Petkov

author maintainer
#0 lore raw

PATCH 1/1 x86/microcode: Announce reload operation's completion

From: Borislav Petkov <[email protected]>

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.

---
 arch/x86/kernel/cpu/microcode/core.c | 2 ++
 1 file changed, 2 insertions(+)
arch/x86/kernel/cpu/microcode/core.c +2 -0
index 97f9ada9ceda..5260185cbf7b 100644
@@ -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;
 }
 
Signature · 1 line
2.21.0
#1 lore raw
x86/microcode: Announce reload operation's completion
Commit-ID:  9bd681251b7c1db1c6cfe29a72c5ea1b1c0ba022
Gitweb:     https://git.kernel.org/tip/9bd681251b7c1db1c6cfe29a72c5ea1b1c0ba022
Author:     Borislav Petkov <[email protected]>
AuthorDate: Wed, 13 Mar 2019 12:00:22 +0100
Committer:  Thomas Gleixner <[email protected]>
CommitDate: Thu, 21 Mar 2019 12:24:39 +0100

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.

---
 arch/x86/kernel/cpu/microcode/core.c | 2 ++
 1 file changed, 2 insertions(+)
arch/x86/kernel/cpu/microcode/core.c +2 -0
index 97f9ada9ceda..5260185cbf7b 100644
@@ -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;
 }