aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSridhar Siricilla <sridhar.siricilla@intel.com>2023-04-09 17:40:43 +0530
committerFelix Held <felix-coreboot@felixheld.de>2023-04-13 13:31:58 +0000
commit02b39efca4073c61a68b6ef9d48bcb1c613e40b3 (patch)
tree2407420fd0dcf0a6bb56d5a6d1c1c595ef33dae3
parent75a91215782a9b2f07cb1a5b949180862831e82a (diff)
soc/intel/common: Update cpu_apic_info_type struct
The patch updates total cpu count variable and total P-core count in cpu_apic_info_type structure to `unsigned short int` to address more cores. TEST=Verify the build on Rex Signed-off-by: Sridhar Siricilla <sridhar.siricilla@intel.com> Change-Id: I46239cc7ad9870e7134955af56b9f6625be2b002 Reviewed-on: https://review.coreboot.org/c/coreboot/+/74305 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-by: Subrata Banik <subratabanik@google.com>
-rw-r--r--src/soc/intel/common/block/acpi/cpu_hybrid.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/intel/common/block/acpi/cpu_hybrid.c b/src/soc/intel/common/block/acpi/cpu_hybrid.c
index e18c28868f..6e8b641332 100644
--- a/src/soc/intel/common/block/acpi/cpu_hybrid.c
+++ b/src/soc/intel/common/block/acpi/cpu_hybrid.c
@@ -28,14 +28,14 @@ struct cpu_apic_info_type {
int32_t apic_ids[CONFIG_MAX_CPUS];
/* Total CPU count */
- uint8_t total_cpu_cnt;
+ uint16_t total_cpu_cnt;
/*
* Total Performance core count. This will be used
* to identify the start of Efficient Cores's
* APIC ID list
*/
- uint8_t perf_cpu_cnt;
+ uint16_t perf_cpu_cnt;
};
static struct cpu_apic_info_type cpu_apic_info;