x86/microcode: Print previous version of microcode after reload
authorAshok Raj <ashok.raj@intel.com>
Mon, 29 Aug 2022 18:10:30 +0000 (18:10 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 Mar 2023 08:39:12 +0000 (09:39 +0100)
commita9e76b276b10c89d9585d775a37bcc8d925fa89d
treee61bbb3d5d588bccd491aaa1a9243b2db3408d38
parent6d2b3a319144f3f5148d8a2b19549ea3bb118c2e
x86/microcode: Print previous version of microcode after reload

[ Upstream commit 7fce8d6eccbc31a561d07c79f359ad09f0424347 ]

Print both old and new versions of microcode after a reload is complete
because knowing the previous microcode version is sometimes important
from a debugging perspective.

  [ bp: Massage commit message. ]

Signed-off-by: Ashok Raj <ashok.raj@intel.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Acked-by: Tony Luck <tony.luck@intel.com>
Link: https://lore.kernel.org/r/20220829181030.722891-1-ashok.raj@intel.com
Stable-dep-of: c0dd9245aa9e ("x86/microcode: Check CPU capabilities after late microcode update correctly")
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/x86/kernel/cpu/microcode/core.c