summaryrefslogtreecommitdiff
path: root/src/cpu
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2020-12-01 15:20:10 +0100
committerArthur Heymans <arthur@aheymans.xyz>2020-12-04 11:12:13 +0000
commita75a2fa1d6bd791e27275105af45f9d5babcb5a3 (patch)
tree7a1801bac27324af625ff9ffcfe345846c14a1ad /src/cpu
parent5e31a1939b35c7c0ec0f9bdda3decff9af606bcf (diff)
downloadcoreboot-a75a2fa1d6bd791e27275105af45f9d5babcb5a3.tar.xz
mb/emulation/x86: Add optional parallel_mp init support
This makes it possible to select both the legacy LAPIC AP init or the newer parallel MP init. Tested on i440fx with -smp 32. Change-Id: I007b052ccd3c34648cd172344d55768232acfd88 Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/coreboot/+/48210 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Diffstat (limited to 'src/cpu')
-rw-r--r--src/cpu/qemu-x86/Kconfig14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/cpu/qemu-x86/Kconfig b/src/cpu/qemu-x86/Kconfig
index 24029325af..641cea815c 100644
--- a/src/cpu/qemu-x86/Kconfig
+++ b/src/cpu/qemu-x86/Kconfig
@@ -10,6 +10,19 @@ if CPU_QEMU_X86
# coreboot i440fx does not support SMM
choice
+ prompt "AP init"
+ default CPU_QEMU_X86_LAPIC_INIT
+
+config CPU_QEMU_X86_LAPIC_INIT
+ bool "Legacy serial LAPIC init"
+
+config CPU_QEMU_X86_PARALLEL_MP
+ bool "Parallel MP init"
+ select PARALLEL_MP
+
+endchoice
+
+choice
prompt "SMM support"
default CPU_QEMU_X86_ASEG_SMM
depends on BOARD_EMULATION_QEMU_X86_Q35
@@ -20,6 +33,7 @@ config CPU_QEMU_X86_NO_SMM
config CPU_QEMU_X86_ASEG_SMM
bool "SMM in ASEG"
+ depends on !PARALLEL_MP
select SMM_ASEG
#config CPU_QEMU_X86_TSEG_SMM