Attention is currently required from: Tim Wawrzynczak, Arthur Heymans, Patrick Rudolph. Hello build bot (Jenkins), Tim Wawrzynczak, Patrick Rudolph,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/59360
to look at the new patch set (#7).
Change subject: soc/intel/alderlake, soc/common: Add method to determine the cpu type ......................................................................
soc/intel/alderlake, soc/common: Add method to determine the cpu type
set_cpu_type(): It determines the cpu type (big or small) that is executing the function, and marks the global_cpu_type's array slot which is corresponds to the executing cpu's index if the cpu type is big.
get_cpu_index(): It determines the index from LAPIC Ids. This is required to expose CPPC3 package in ascending order of CPUs' LAPIC ids. So, the function returns CPU's position from the ascending order list of LAPIC ids.
get_cpu_type(): It returns the type of CPU that executing the function.
Also, it calls the set_cpu_type() from soc/alderlake/cpu.c file.
TEST=Tested CPU index calculation, core type determination on Brya
Signed-off-by: Sridhar Siricilla sridhar.siricilla@intel.com Change-Id: If4ceb24d9bb1e808750bf618c29b2b9ea6d4191b --- M src/soc/intel/alderlake/cpu.c M src/soc/intel/common/block/acpi/Kconfig M src/soc/intel/common/block/acpi/Makefile.inc A src/soc/intel/common/block/acpi/cpu_hybrid.c M src/soc/intel/common/block/include/intelblocks/acpi.h 5 files changed, 96 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/60/59360/7