summaryrefslogtreecommitdiff
path: root/src/soc
diff options
context:
space:
mode:
authorNaresh Solanki <Naresh.Solanki@9elements.com>2023-02-08 17:02:50 +0100
committerFelix Held <felix-coreboot@felixheld.de>2023-03-04 02:11:01 +0000
commit12bfe6bc95494f2a993c4222812d8960a66282ba (patch)
treeb1fa132dc03d65c2f7b0d634b17a64c1b16f7d06 /src/soc
parent683de12e534e93fa92955edccf328ac03370e6b8 (diff)
xeon/spr: Set ACPI CPU string for 12bit
On platforms with more than 255 cores the ACPI CPU string would overflow and generate duplicates. Fix that by changing the string to hex and use 3 digits. Test: Able to boot without ACPI errors on IBM/SBP1 which has 384 actives cores. Change-Id: I1887928da0c049c27e2ec129f49051b24048b33b Signed-off-by: Naresh Solanki <Naresh.Solanki@9elements.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/73368 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Jonathan Zhang <jon.zhixiong.zhang@gmail.com>
Diffstat (limited to 'src/soc')
-rw-r--r--src/soc/intel/xeon_sp/spr/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/soc/intel/xeon_sp/spr/Kconfig b/src/soc/intel/xeon_sp/spr/Kconfig
index 899f5ae26c..7aa1fec53e 100644
--- a/src/soc/intel/xeon_sp/spr/Kconfig
+++ b/src/soc/intel/xeon_sp/spr/Kconfig
@@ -22,6 +22,10 @@ config MAX_CPUS
int
default 255
+config ACPI_CPU_STRING
+ string
+ default "\\_SB.C%03X"
+
config MAX_SOCKET_UPD
int
default 2