Commit 316991aa authored by Jithu Joseph's avatar Jithu Joseph Committed by Aichun Shi
Browse files

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

mainline inclusion
from mainline-v6.7-rc1
commit 97a5e801b3045c1e800f76bc0fb544972538089d
category: feature
bugzilla: https://gitee.com/openeuler/intel-kernel/issues/I8RCIK
CVE: N/A
Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=97a5e801b3045c1e800f76bc0fb544972538089d



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

Intel-SIG: commit 97a5e801b304 ("platform/x86/intel/ifs: Store IFS generation number")
Backport to support IFS SAF & Array BIST on GNR & SRF

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

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>
Signed-off-by: default avatarAichun Shi <aichun.shi@intel.com>
parent 8ed52b4b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment