Commit 94aa4d3f authored by Ashok Raj's avatar Ashok Raj Committed by Aichun Shi
Browse files

x86/microcode: Add a parameter to microcode_check() to store CPU capabilities

stable inclusion
from stable-v5.10.173
commit 89e848bb4aa140e701eb0d017736ce5d1ee198da
category: feature
bugzilla: https://gitee.com/openeuler/intel-kernel/issues/I873BU
CVE: N/A
Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=89e848bb4aa140e701eb0d017736ce5d1ee198da



-------------------------------------

Intel-SIG: commit 89e848bb4aa1 x86/microcode: Add a parameter to microcode_check() to store CPU capabilities.
Backport x86/microcode related patches from 5.10.173 upstream.

-------------------------------------

[ Upstream commit ab31c744 ]

Add a parameter to store CPU capabilities before performing a microcode
update so that CPU capabilities can be compared before and after update.

  [ bp: Massage. ]

Signed-off-by: default avatarAshok Raj <ashok.raj@intel.com>
Signed-off-by: default avatarBorislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/r/20230109153555.4986-2-ashok.raj@intel.com


Stable-dep-of: c0dd9245 ("x86/microcode: Check CPU capabilities after late microcode update correctly")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
[ Aichun Shi: amend commit log ]
Signed-off-by: default avatarAichun Shi <aichun.shi@intel.com>
parent 0345b375
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment