]> git.baikalelectronics.ru Git - kernel.git/commit
x86/microcode: Adjust late loading result reporting message
authorAshok Raj <ashok.raj@intel.com>
Mon, 9 Jan 2023 15:35:52 +0000 (07:35 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 Mar 2023 08:32:57 +0000 (09:32 +0100)
commitfb96d342cc886b1f752a1e924f350b36524b4d8c
tree49da93d0e9228149cdeb8ad42d72348f901d55d4
parent09c63c8c039b2fcc15056cb93a7f93a945b7ecdb
x86/microcode: Adjust late loading result reporting message

[ Upstream commit aa314a1427a81344c09ccf3f0becc59404cbc075 ]

During late microcode loading, the "Reload completed" message is issued
unconditionally, regardless of success or failure.

Adjust the message to report the result of the update.

  [ bp: Massage. ]

Fixes: 5c860ae2f395 ("x86/microcode: Announce reload operation's completion")
Suggested-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ashok Raj <ashok.raj@intel.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Reviewed-by: Tony Luck <tony.luck@intel.com>
Link: https://lore.kernel.org/lkml/874judpqqd.ffs@tglx/
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/x86/kernel/cpu/microcode/core.c