Felix Held has uploaded this change for review.

View Change

x86/lapic: Set EXTINT on BSP only

aac79e0b8f4777f8a912ccdfc483755b7a4da52c changed the LAPIC delivery mode
for both the BSP and the APs. The change on the APs caused a regression
that massively slows down the boot process. Configuring the AP's LAPIC
delivery mode to fixed mode fixes this regression.

Change-Id: I78490d2cbe3d9f52e10ef2471508263fd6c146ba
Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
---
M src/cpu/x86/lapic/lapic.c
1 file changed, 2 insertions(+), 0 deletions(-)

git pull ssh://review.coreboot.org:29418/coreboot refs/changes/34/42434/1
diff --git a/src/cpu/x86/lapic/lapic.c b/src/cpu/x86/lapic/lapic.c
index 653c3b2..2e04464 100644
--- a/src/cpu/x86/lapic/lapic.c
+++ b/src/cpu/x86/lapic/lapic.c
@@ -31,6 +31,8 @@
(LAPIC_LVT_REMOTE_IRR | LAPIC_SEND_PENDING);
if (boot_cpu())
lvt0_val = SET_LAPIC_DELIVERY_MODE(lvt0_val, LAPIC_MODE_EXINT);
+ else
+ lvt0_val = SET_LAPIC_DELIVERY_MODE(lvt0_val, LAPIC_MODE_FIXED);
lapic_write_around(LAPIC_LVT0, lvt0_val);

lapic_write_around(LAPIC_LVT1,

To view, visit change 42434. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I78490d2cbe3d9f52e10ef2471508263fd6c146ba
Gerrit-Change-Number: 42434
Gerrit-PatchSet: 1
Gerrit-Owner: Felix Held <felix-coreboot@felixheld.de>
Gerrit-MessageType: newchange