Commit b399e6a2 authored by Jithu Joseph's avatar Jithu Joseph Committed by Greg Kroah-Hartman
Browse files

platform/x86/intel/ifs: Store IFS generation number



[ Upstream commit 97a5e801 ]

IFS generation number is reported via MSR_INTEGRITY_CAPS.  As IFS
support gets added to newer CPUs, some differences are expected during
IFS image loading and test flows.

Define MSR bitmasks to extract and store the generation in driver data,
so that driver can modify its MSR interaction appropriately.

Signed-off-by: default avatarJithu Joseph <jithu.joseph@intel.com>
Reviewed-by: default avatarTony Luck <tony.luck@intel.com>
Reviewed-by: default avatarIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Tested-by: default avatarPengfei Xu <pengfei.xu@intel.com>
Link: https://lore.kernel.org/r/20231005195137.3117166-2-jithu.joseph@intel.com


Signed-off-by: default avatarIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Stable-dep-of: 3114f77e ("platform/x86/intel/ifs: Initialize union ifs_status to zero")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 69508cc9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment