Felix Held has submitted this change. ( https://review.coreboot.org/c/coreboot/+/79509?usp=email )
(
6 is the latest approved patch-set. No files were changed between the latest approved patch-set and the submitted one. )Change subject: soc/amd/glinda: Increase maximum CPU threads to 24 ......................................................................
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 a.vaikar2021@gmail.com Reviewed-on: https://review.coreboot.org/c/coreboot/+/79509 Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: Felix Held felix-coreboot@felixheld.de --- M src/soc/amd/glinda/Kconfig M src/soc/amd/glinda/cpu.c 2 files changed, 2 insertions(+), 3 deletions(-)
Approvals: Felix Held: Looks good to me, approved build bot (Jenkins): Verified
diff --git a/src/soc/amd/glinda/Kconfig b/src/soc/amd/glinda/Kconfig index a3b0ea6..50cd88d 100644 --- a/src/soc/amd/glinda/Kconfig +++ b/src/soc/amd/glinda/Kconfig @@ -240,8 +240,7 @@
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 91f6a9f..06e62c5 100644 --- a/src/soc/amd/glinda/cpu.c +++ b/src/soc/amd/glinda/cpu.c @@ -9,7 +9,7 @@ #include <device/device.h> #include <soc/cpu.h>
-_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)