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)
committerBorislav Petkov (AMD) <bp@alien8.de>
Sat, 21 Jan 2023 13:55:20 +0000 (14:55 +0100)
commit6eab3abac7043226e5375e9ead0c7607ced6767b
tree18254ce074ed2ce3a1c1beeb24d843a32d4a5aa4
parentc0dd9245aa9e25a697181f6085692272c9ec61bc
x86/microcode: Adjust late loading result reporting message

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/
arch/x86/kernel/cpu/microcode/core.c