coreboot/src/soc/intel/broadwell
Aaron Durbin 5a1f9a87cb cpu/x86/mp_init: remove adjust_cpu_apic_entry()
The original purpose of adjust_cpu_apic_entry() was to set
up an APIC map. That map was effectively only used for mapping
*default* APIC id to CPU number in the SMM handler. The normal
AP startup path didn't need this mapping because it was whoever
won the race got the next cpu number. Instead of statically
calculating (and wrong) just initialize the default APIC id
map when the APs come online. Once the APs are online the SMM
handler is loaded and the mapping is utilized.

Change-Id: Idff3b8cfc17aef0729d3193b4499116a013b7930
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://review.coreboot.org/21452
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: Subrata Banik <subrata.banik@intel.com>
Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
2017-09-11 01:17:45 +00:00
..
acpi src: change coreboot to lowercase 2017-06-07 12:09:15 +02:00
bootblock
include/soc soc/intel: add IS_ENABLED() around Kconfig symbol references 2017-07-13 23:54:32 +00:00
romstage vboot: Remove get_sw_write_protect_state callback 2017-07-18 23:24:01 +00:00
acpi.c soc/intel: add IS_ENABLED() around Kconfig symbol references 2017-07-13 23:54:32 +00:00
adsp.c
chip.c
chip.h
cpu.c cpu/x86/mp_init: remove adjust_cpu_apic_entry() 2017-09-11 01:17:45 +00:00
cpu_info.c
ehci.c
elog.c
finalize.c
gpio.c
hda.c
igd.c
iobp.c
Kconfig usbdebug: Remove redundant setup 2017-08-07 12:34:54 +00:00
lpc.c soc/intel: add IS_ENABLED() around Kconfig symbol references 2017-07-13 23:54:32 +00:00
Makefile.inc
me.c soc/intel: add IS_ENABLED() around Kconfig symbol references 2017-07-13 23:54:32 +00:00
me_status.c
memmap.c
minihd.c
monotonic_timer.c
pch.c
pcie.c
pei_data.c
pmutil.c
ramstage.c
refcode.c
reset.c Consolidate reset API, add generic reset_prepare mechanism 2017-06-13 20:53:09 +02:00
sata.c
serialio.c soc/intel: add IS_ENABLED() around Kconfig symbol references 2017-07-13 23:54:32 +00:00
smbus.c
smbus_common.c
smi.c
smihandler.c soc/intel: add IS_ENABLED() around Kconfig symbol references 2017-07-13 23:54:32 +00:00
smmrelocate.c
spi.c soc/intel: Fix SPI driver compilation with CONFIG_DEBUG_SPI 2017-07-18 19:18:50 +00:00
stage_cache.c
systemagent.c
tsc_freq.c
usb_debug.c usbdebug: Refactor early enable 2017-08-07 12:35:42 +00:00
xhci.c