cpu/x86/mp_init: don't wait between INIT and SIPI for X86_AMD_INIT_SIPI
commit98fb72fa3fcf399c790d24580b1021fecfda778f
authorFelix Held <felix-coreboot@felixheld.de>
Wed, 21 Jul 2021 14:50:10 +0000 (21 16:50 +0200)
committerFelix Held <felix-coreboot@felixheld.de>
Tue, 27 Jul 2021 14:00:32 +0000 (27 14:00 +0000)
tree3748ea0d1a5038614ceea527af3258779b2869de
parent3136424e48b533a29258d5b2412439db066ff744
cpu/x86/mp_init: don't wait between INIT and SIPI for X86_AMD_INIT_SIPI

Since current AMD SoCs don't need some wait time between INIT and SIPI,
we can skip the 10ms wait there, which improves the boot time a bit.

before: CPU_CLUSTER: 0 init finished in 632 msecs
after:  CPU_CLUSTER: 0 init finished in 619 msecs

mpinit still works on Mandolin and all CPU cores show up and are usable.
This also doesn't change the binary in a timeless build for boards/SoCs
that don't select X86_AMD_INIT_SIPI which I verified for lenovo/x230.

BUG=b:193885336

Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Change-Id: I1e044776f45021742a88a5e369a74383c1baaab6
Reviewed-on: https://review.coreboot.org/c/coreboot/+/56533
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
src/cpu/x86/Kconfig
src/cpu/x86/mp_init.c