Commit 4ee5ee54 authored by Jithu Joseph's avatar Jithu Joseph Committed by Aichun Shi
Browse files

platform/x86/intel/ifs: Gen2 scan image loading

mainline inclusion
from mainline-v6.7-rc1
commit 07f47c01b3bc2a42c4d4da35831edab10aa60449
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=07f47c01b3bc2a42c4d4da35831edab10aa60449



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

Intel-SIG: commit 07f47c01b3bc ("platform/x86/intel/ifs: Gen2 scan image loading")
Backport to support IFS SAF & Array BIST on GNR & SRF

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

Scan image loading flow for newer IFS generations are slightly different
from that of current generation. In newer schemes, loading need not be
done once for each socket as was done in gen0.

Also the width of NUM_CHUNKS bitfield in SCAN_HASHES_STATUS MSR has
increased from 8 -> 16 bits. Similarly there are width differences for
CHUNK_AUTHENTICATION_STATUS too.

Further the parameter to AUTHENTICATE_AND_COPY_CHUNK is passed
differently in newer generations.

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-4-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 6eff15ea
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment