From 7224999497634dbd4c15fc8b1cdd4d2d2b39fec2 Mon Sep 17 00:00:00 2001 From: Anand Vaikar Date: Wed, 13 Dec 2023 16:21:02 +0530 Subject: [PATCH] soc/amd/glinda: Increase maximum CPU threads to 24 glinda SOC has 24 maximum CPU threads as per PPR documentation(#57254). TEST=Boot logs print the CPU initialization happens for 24 threads. Change-Id: Id48a5c62d6156c046daffd2648aeebeee380bd88 Signed-off-by: Anand Vaikar Reviewed-on: https://review.coreboot.org/c/coreboot/+/79509 Tested-by: build bot (Jenkins) Reviewed-by: Felix Held --- src/soc/amd/glinda/Kconfig | 3 +-- src/soc/amd/glinda/cpu.c | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/soc/amd/glinda/Kconfig b/src/soc/amd/glinda/Kconfig index a3b0ea6ec0..50cd88de1a 100644 --- a/src/soc/amd/glinda/Kconfig +++ b/src/soc/amd/glinda/Kconfig @@ -240,8 +240,7 @@ config ECAM_MMCONF_BUS_NUMBER config MAX_CPUS int - default 8 if SOC_AMD_GLINDA - default 16 + default 24 help Maximum number of threads the platform can have. diff --git a/src/soc/amd/glinda/cpu.c b/src/soc/amd/glinda/cpu.c index 91f6a9f248..06e62c5b21 100644 --- a/src/soc/amd/glinda/cpu.c +++ b/src/soc/amd/glinda/cpu.c @@ -9,7 +9,7 @@ #include #include -_Static_assert(CONFIG_MAX_CPUS == 8, "Do not override MAX_CPUS. To reduce the number of " +_Static_assert(CONFIG_MAX_CPUS == 24, "Do not override MAX_CPUS. To reduce the number of " "available cores, use the downcore_mode and disable_smt devicetree settings instead."); static void zen_2_3_init(struct device *dev)