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:39:13 +0000 (09:39 +0100)
commit55a7f88059c88cd6737af0ca17c6cba92ac72ec3
tree983d7d0a83f804c473549c0dad2ead3ac150e5f7
parent36b6fc833437b42dbc1e6f5ba927d34ed6a6f71b
x86/microcode: Adjust late loading result reporting message

[ Upstream commit 6eab3abac7043226e5375e9ead0c7607ced6767b ]

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: 9bd681251b7c ("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