diff options
author | Anand Vaikar <a.vaikar2021@gmail.com> | 2023-12-13 16:21:02 +0530 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2024-01-10 14:19:37 +0000 |
commit | 7224999497634dbd4c15fc8b1cdd4d2d2b39fec2 (patch) | |
tree | 5b0c0044737b4d0304d8148f1518e69f0f663f03 /src/soc/amd | |
parent | 315251d5cc5b404273e5752a365a070dd8d5df71 (diff) |
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>
Diffstat (limited to 'src/soc/amd')
-rw-r--r-- | src/soc/amd/glinda/Kconfig | 3 | ||||
-rw-r--r-- | 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 <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) |