coreboot-kgpe-d16/src/cpu
Jonathan Zhang 6ec322ec7c cpu/x86: Make MP init timeout configurable
The current MP init timeout is hardcoded as 1s. To support
platform with many cpus, the timeout needs to be adjusted.
The number of cpus is calculated as:
number of sockets * number of cores per socket *
  number of threads per core

How long the timeout should be set to, is heuristic.
It needs to be set long enough to ensure reboot stability,
but not unreasonable so that real failures can be detected
soon enough, especially for smaller systems.

This patch sets timeout to be minimum as 1 second, while each
cpu adds 0.1 second.

Signed-off-by: Jonathan Zhang <jonzhang@fb.com>
Signed-off-by: Reddy Chagam <anjaneya.chagam@intel.com>
Change-Id: Ibc079fc6aa8641d4ac8d8e726899b6c8d055052e
Reviewed-on: https://review.coreboot.org/c/coreboot/+/38546
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: David Hendricks <david.hendricks@gmail.com>
2020-02-04 16:13:57 +00:00
..
amd AGESA,binaryPI: Drop remains of ROMCC_BOOTBLOCK 2019-12-20 18:14:34 +00:00
armltd Kconfig: comply to Linux 5.3's Kconfig language rules 2019-11-23 20:09:56 +00:00
intel cpu/intel/model_6?x{slot_1}: Leave enabling CONFIG_SMP to the mainboard 2020-01-18 22:07:47 +00:00
qemu-power8 AUTHORS: Move src/cpu copyrights into AUTHORS file 2019-09-10 12:51:22 +00:00
qemu-x86 Kconfig: Drop the C_ENVIRONMENT_BOOTBLOCK symbol 2019-11-25 09:17:38 +00:00
ti fmap: Make FMAP_CACHE mandatory if it is configured in 2019-12-11 11:42:26 +00:00
x86 cpu/x86: Make MP init timeout configurable 2020-02-04 16:13:57 +00:00
Kconfig kill CAR_GLOBAL_MIGRATION leftovers 2019-11-30 16:12:04 +00:00
Makefile.inc soc/intel/{apl,cnl,dnv,skl}: Skip ucode loading by FSP-T 2019-11-26 11:55:10 +00:00