[Bug 3621] New: Refactor initialization of CPU features during S3 resume


bugzilla-daemon@...
 

https://bugzilla.tianocore.org/show_bug.cgi?id=3621

Bug ID: 3621
Summary: Refactor initialization of CPU features during S3
resume
Product: EDK2
Version: Current
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: Lowest
Component: Code
Assignee: unassigned@tianocore.org
Reporter: yun.lou@intel.com
CC: edk2+bugs+int+994+563148131503455288@groups.io

Current design: During normal boot, CpuFeaturesPei module (inside FSP)
initializes the CPU features. During S3 boot, CpuFeaturesPei module does
nothing, and CpuSmm driver (in SMRAM) initializes the CPU features instead.

CpuSmm driver saves the CPU register tables (tell which register should be set
to which value for each thread) in SMRAM so that it can initialize the CPU
features during S3 boot.

EDK2 contains DxeIpl PEIM that calls S3RestoreConfig2 PPI during S3 boot, and
S3RestoreConfig2 PPI eventually calls the CpuSmm driver (in SMRAM) to
initialize the CPU features, so "EDK2 + FSP(in API mode)" does not have the CPU
feature initialization issue during S3 boot, but "coreboot" does not contain
DxeIpl PEIM and the issue appears.

--
You are receiving this mail because:
You are on the CC list for the bug.