Attention is currently required from: Tim Wawrzynczak, 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 (#3).
Change subject: soc/intel/alderlake, soc/common: Add method to determine the cpu type mask ......................................................................
soc/intel/alderlake, soc/common: Add method to determine the cpu type mask
get_cpu_type_bitmask(): It returns the cpu type mask.
set_cpu_type_bitmask(): It determines the cpu type (big or small) that is executing the function, and marks the bit location 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 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_bitmask() from soc/alderlake/cpu.c
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, 91 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/60/59360/3