coreboot-kgpe-d16/src/cpu/x86
Aaron Durbin 046848ce1f cpu/x86/mp_init: report correct count of AP acceptance
The previous implementation was using a for loop. By it's
very definition the last statement in the for loop declaration
is done at the end of the loop. Therefore, if the conditional for
breaking out of the for loop because of a timeout would always
see a value of 0 for the number of APs accepted. Correct this
by changing to a while loop with an explicit timeout condition
at the end of the loop.

Change-Id: I503953c46c2a65f7e264ed49c94c0a46d6c41c57
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://review.coreboot.org/20225
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
2017-06-16 18:14:43 +02:00
..
16bit cpu/x86: fix spelling mistake 2017-06-12 04:08:34 +02:00
32bit src/cpu/x86: Update/Add license headers to all files 2017-02-22 22:23:11 +01:00
cache src/cpu/x86: Update/Add license headers to all files 2017-02-22 22:23:11 +01:00
lapic cpu/x86: Fix misc. remaining issues detected by checkpatch 2017-03-16 04:12:47 +01:00
mtrr cpu/x86/mtrr: fail early if solution exceeds available MTRRs 2017-06-13 20:03:16 +02:00
name
pae cpu/x86: Wrap lines at 80 columns 2017-03-16 04:12:27 +01:00
smm cpu/x86: Fix misc. remaining issues detected by checkpatch 2017-03-16 04:12:47 +01:00
tsc cpu/x86: Wrap lines at 80 columns 2017-03-16 04:12:27 +01:00
backup_default_smm.c cpu/x86: remove BACKUP_DEFAULT_SMM_REGION option 2016-05-04 18:51:34 +02:00
car.c arch/x86: Add function to determine if we're currently running from CAR 2017-05-30 22:19:25 +02:00
fpu_enable.inc
Kconfig cpu/x86: allow AP callbacks after MP init 2016-12-08 21:39:43 +01:00
Makefile.inc arch/x86: remove CAR global migration when postcar stage is used 2017-04-08 23:22:02 +02:00
mirror_payload.c
mp_init.c cpu/x86/mp_init: report correct count of AP acceptance 2017-06-16 18:14:43 +02:00
sipi_vector.S src/cpu: Capitalize CPU 2016-07-31 18:33:06 +02:00
sse_enable.inc