Attention is currently required from: Tim Wawrzynczak, Arthur Heymans, Patrick Rudolph.
Sridhar Siricilla uploaded patch set #7 to this change.
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
To view, visit change 59360. To unsubscribe, or for help writing mail filters, visit settings.