Files
system76-coreboot/src/cpu/qemu-x86/Kconfig
Arthur Heymans a75a2fa1d6 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>
2020-12-04 11:12:13 +00:00

62 lines
1.0 KiB
Plaintext

## SPDX-License-Identifier: GPL-2.0-only
config CPU_QEMU_X86
bool
select UDELAY_TSC
select TSC_MONOTONIC_TIMER
select UNKNOWN_TSC_RATE
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
config CPU_QEMU_X86_NO_SMM
bool "No SMM"
select 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
# bool "SMM in TSEG"
# select SMM_TSEG
endchoice
config MAX_CPUS
int
default 4 if SMM_ASEG
default 32
config CPU_QEMU_X86_64
bool "Experimental 64bit support"
select ARCH_ALL_STAGES_X86_64
select ARCH_POSTCAR_X86_64
config CPU_QEMU_X86_32
bool
default n if CPU_QEMU_X86_64
default y
select ARCH_ALL_STAGES_X86_32
select ARCH_POSTCAR_X86_32
endif