From 02b39efca4073c61a68b6ef9d48bcb1c613e40b3 Mon Sep 17 00:00:00 2001 From: Sridhar Siricilla Date: Sun, 9 Apr 2023 17:40:43 +0530 Subject: soc/intel/common: Update cpu_apic_info_type struct MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Change-Id: I46239cc7ad9870e7134955af56b9f6625be2b002 Reviewed-on: https://review.coreboot.org/c/coreboot/+/74305 Tested-by: build bot (Jenkins) Reviewed-by: Kyösti Mälkki Reviewed-by: Subrata Banik --- src/soc/intel/common/block/acpi/cpu_hybrid.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/soc/intel/common/block') 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; -- cgit v1.2.3