cpu/x86: Flip SMM_TSEG default

This is only a qualifier between TSEG and ASEG.

Change-Id: I8051df92d9014e3574f6e7d5b6f1d6677fe77c82
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/34135
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
This commit is contained in:
Kyösti Mälkki 2019-07-08 09:56:00 +03:00
parent 4d372c7353
commit 8abf66e4e0
22 changed files with 14 additions and 24 deletions

View file

@ -35,6 +35,7 @@ config CPU_SPECIFIC_OPTIONS
select TSC_SYNC_MFENCE select TSC_SYNC_MFENCE
select LAPIC_MONOTONIC_TIMER select LAPIC_MONOTONIC_TIMER
select CPU_INTEL_COMMON select CPU_INTEL_COMMON
select NO_SMM
# Microcode header files are delivered in FSP package # Microcode header files are delivered in FSP package
select USES_MICROCODE_HEADER_FILES if HAVE_FSP_BIN select USES_MICROCODE_HEADER_FILES if HAVE_FSP_BIN

View file

@ -16,7 +16,6 @@ config CPU_SPECIFIC_OPTIONS
select SSE2 select SSE2
select UDELAY_TSC select UDELAY_TSC
select TSC_CONSTANT_RATE select TSC_CONSTANT_RATE
select SMM_TSEG
select SUPPORT_CPU_UCODE_IN_CBFS select SUPPORT_CPU_UCODE_IN_CBFS
#select AP_IN_SIPI_WAIT #select AP_IN_SIPI_WAIT
select TSC_SYNC_MFENCE select TSC_SYNC_MFENCE

View file

@ -14,7 +14,6 @@ config CPU_SPECIFIC_OPTIONS
select UDELAY_TSC select UDELAY_TSC
select TSC_CONSTANT_RATE select TSC_CONSTANT_RATE
select TSC_MONOTONIC_TIMER select TSC_MONOTONIC_TIMER
select SMM_TSEG
select SUPPORT_CPU_UCODE_IN_CBFS select SUPPORT_CPU_UCODE_IN_CBFS
select PARALLEL_CPU_INIT select PARALLEL_CPU_INIT
#select AP_IN_SIPI_WAIT #select AP_IN_SIPI_WAIT

View file

@ -15,7 +15,6 @@ config CPU_SPECIFIC_OPTIONS
select UDELAY_TSC select UDELAY_TSC
select TSC_CONSTANT_RATE select TSC_CONSTANT_RATE
select TSC_MONOTONIC_TIMER select TSC_MONOTONIC_TIMER
select SMM_TSEG
select SUPPORT_CPU_UCODE_IN_CBFS select SUPPORT_CPU_UCODE_IN_CBFS
#select AP_IN_SIPI_WAIT #select AP_IN_SIPI_WAIT
select TSC_SYNC_MFENCE select TSC_SYNC_MFENCE

View file

@ -25,6 +25,7 @@ config SLOT_SPECIFIC_OPTIONS # dummy
select CPU_INTEL_MODEL_68X select CPU_INTEL_MODEL_68X
select CPU_INTEL_MODEL_6BX select CPU_INTEL_MODEL_6BX
select CPU_INTEL_MODEL_6XX select CPU_INTEL_MODEL_6XX
select NO_SMM
config DCACHE_RAM_BASE config DCACHE_RAM_BASE
hex hex

View file

@ -93,18 +93,25 @@ config HAVE_SMI_HANDLER
default n default n
depends on (SMM_ASEG || SMM_TSEG) depends on (SMM_ASEG || SMM_TSEG)
config SMM_ASEG config NO_SMM
bool bool
default n default n
config SMM_TSEG config SMM_ASEG
bool bool
default n default n
depends on !NO_SMM
config SMM_TSEG
bool
default y
depends on !(NO_SMM || SMM_ASEG)
if SMM_TSEG
config SMM_MODULE_HEAP_SIZE config SMM_MODULE_HEAP_SIZE
hex hex
default 0x4000 default 0x4000
depends on SMM_TSEG
help help
This option determines the size of the heap within the SMM handler This option determines the size of the heap within the SMM handler
modules. modules.
@ -112,7 +119,6 @@ config SMM_MODULE_HEAP_SIZE
config SMM_MODULE_STACK_SIZE config SMM_MODULE_STACK_SIZE
hex hex
default 0x400 default 0x400
depends on SMM_TSEG
help help
This option determines the size of the stack within the SMM handler This option determines the size of the stack within the SMM handler
modules. modules.
@ -120,11 +126,12 @@ config SMM_MODULE_STACK_SIZE
config SMM_STUB_STACK_SIZE config SMM_STUB_STACK_SIZE
hex hex
default 0x400 default 0x400
depends on SMM_TSEG
help help
This option determines the size of the stack within the SMM handler This option determines the size of the stack within the SMM handler
modules. modules.
endif
config SMM_LAPIC_REMAP_MITIGATION config SMM_LAPIC_REMAP_MITIGATION
bool bool
default y if NORTHBRIDGE_INTEL_I945 default y if NORTHBRIDGE_INTEL_I945

View file

@ -28,7 +28,6 @@ config NORTHBRIDGE_SPECIFIC_OPTIONS # dummy
select INTEL_GMA_SSC_ALTERNATE_REF select INTEL_GMA_SSC_ALTERNATE_REF
select POSTCAR_STAGE select POSTCAR_STAGE
select POSTCAR_CONSOLE select POSTCAR_CONSOLE
select SMM_TSEG
select PARALLEL_MP select PARALLEL_MP
select CACHE_RELOCATED_RAMSTAGE_OUTSIDE_CBMEM select CACHE_RELOCATED_RAMSTAGE_OUTSIDE_CBMEM

View file

@ -29,7 +29,6 @@ config NORTHBRIDGE_SPECIFIC_OPTIONS # dummy
select HAVE_VGA_TEXT_FRAMEBUFFER if MAINBOARD_DO_NATIVE_VGA_INIT select HAVE_VGA_TEXT_FRAMEBUFFER if MAINBOARD_DO_NATIVE_VGA_INIT
select POSTCAR_STAGE select POSTCAR_STAGE
select POSTCAR_CONSOLE select POSTCAR_CONSOLE
select SMM_TSEG
select PARALLEL_MP select PARALLEL_MP
select CACHE_RELOCATED_RAMSTAGE_OUTSIDE_CBMEM select CACHE_RELOCATED_RAMSTAGE_OUTSIDE_CBMEM

View file

@ -30,7 +30,6 @@ config NORTHBRIDGE_SPECIFIC_OPTIONS # dummy
select INTEL_GMA_ACPI select INTEL_GMA_ACPI
select POSTCAR_STAGE select POSTCAR_STAGE
select POSTCAR_CONSOLE select POSTCAR_CONSOLE
select SMM_TSEG
select PARALLEL_MP select PARALLEL_MP
select CACHE_RELOCATED_RAMSTAGE_OUTSIDE_CBMEM select CACHE_RELOCATED_RAMSTAGE_OUTSIDE_CBMEM
select C_ENVIRONMENT_BOOTBLOCK select C_ENVIRONMENT_BOOTBLOCK

View file

@ -28,7 +28,6 @@ config NORTHBRIDGE_SPECIFIC_OPTIONS # dummy
select CACHE_MRC_SETTINGS select CACHE_MRC_SETTINGS
select POSTCAR_STAGE select POSTCAR_STAGE
select POSTCAR_CONSOLE select POSTCAR_CONSOLE
select SMM_TSEG
select PARALLEL_MP select PARALLEL_MP
select CACHE_RELOCATED_RAMSTAGE_OUTSIDE_CBMEM select CACHE_RELOCATED_RAMSTAGE_OUTSIDE_CBMEM

View file

@ -57,7 +57,6 @@ config CPU_SPECIFIC_OPTIONS
select PARALLEL_MP select PARALLEL_MP
select PARALLEL_MP_AP_WORK select PARALLEL_MP_AP_WORK
select HAVE_SMI_HANDLER select HAVE_SMI_HANDLER
select SMM_TSEG
select POSTCAR_STAGE select POSTCAR_STAGE
select POSTCAR_CONSOLE select POSTCAR_CONSOLE
select SSE2 select SSE2

View file

@ -65,7 +65,6 @@ config CPU_SPECIFIC_OPTIONS
select PARALLEL_MP select PARALLEL_MP
select PARALLEL_MP_AP_WORK select PARALLEL_MP_AP_WORK
select HAVE_SMI_HANDLER select HAVE_SMI_HANDLER
select SMM_TSEG
select POSTCAR_STAGE select POSTCAR_STAGE
select POSTCAR_CONSOLE select POSTCAR_CONSOLE
select SSE2 select SSE2

View file

@ -63,7 +63,6 @@ config CPU_SPECIFIC_OPTIONS
select PMC_INVALID_READ_AFTER_WRITE select PMC_INVALID_READ_AFTER_WRITE
select PMC_GLOBAL_RESET_ENABLE_LOCK select PMC_GLOBAL_RESET_ENABLE_LOCK
select REG_SCRIPT select REG_SCRIPT
select SMM_TSEG
select SA_ENABLE_IMR select SA_ENABLE_IMR
select SOC_INTEL_COMMON select SOC_INTEL_COMMON
select SOC_INTEL_COMMON_ACPI_WAKE_SOURCE select SOC_INTEL_COMMON_ACPI_WAKE_SOURCE

View file

@ -24,7 +24,6 @@ config CPU_SPECIFIC_OPTIONS
select PCIEXP_COMMON_CLOCK select PCIEXP_COMMON_CLOCK
select REG_SCRIPT select REG_SCRIPT
select RTC select RTC
select SMM_TSEG
select SMP select SMP
select SPI_FLASH select SPI_FLASH
select SSE2 select SSE2

View file

@ -34,7 +34,6 @@ config CPU_SPECIFIC_OPTIONS
select SOC_INTEL_COMMON_BLOCK select SOC_INTEL_COMMON_BLOCK
select SOC_INTEL_COMMON_BLOCK_HDA select SOC_INTEL_COMMON_BLOCK_HDA
select SOC_INTEL_COMMON_RESET select SOC_INTEL_COMMON_RESET
select SMM_TSEG
select SMP select SMP
select SPI_FLASH select SPI_FLASH
select SSE2 select SSE2

View file

@ -26,7 +26,6 @@ config CPU_SPECIFIC_OPTIONS
select REG_SCRIPT select REG_SCRIPT
select PARALLEL_MP select PARALLEL_MP
select RTC select RTC
select SMM_TSEG
select SMP select SMP
select SPI_FLASH select SPI_FLASH
select SSE2 select SSE2

View file

@ -80,7 +80,6 @@ config CPU_SPECIFIC_OPTIONS
select POSTCAR_CONSOLE select POSTCAR_CONSOLE
select POSTCAR_STAGE select POSTCAR_STAGE
select REG_SCRIPT select REG_SCRIPT
select SMM_TSEG
select SMP select SMP
select SOC_AHCI_PORT_IMPLEMENTED_INVERT select SOC_AHCI_PORT_IMPLEMENTED_INVERT
select PMC_GLOBAL_RESET_ENABLE_LOCK select PMC_GLOBAL_RESET_ENABLE_LOCK

View file

@ -37,7 +37,6 @@ config CPU_SPECIFIC_OPTIONS
select C_ENVIRONMENT_BOOTBLOCK select C_ENVIRONMENT_BOOTBLOCK
select IOAPIC select IOAPIC
select HAVE_SMI_HANDLER select HAVE_SMI_HANDLER
select SMM_TSEG
select CACHE_MRC_SETTINGS select CACHE_MRC_SETTINGS
select PARALLEL_MP select PARALLEL_MP
select PCR_COMMON_IOSF_1_0 select PCR_COMMON_IOSF_1_0

View file

@ -33,7 +33,6 @@ config CPU_SPECIFIC_OPTIONS
select NO_RELOCATABLE_RAMSTAGE select NO_RELOCATABLE_RAMSTAGE
select PARALLEL_MP select PARALLEL_MP
select REG_SCRIPT select REG_SCRIPT
select SMM_TSEG
select SMP select SMP
select SPI_FLASH select SPI_FLASH
select SSE2 select SSE2

View file

@ -21,7 +21,6 @@ config CPU_SPECIFIC_OPTIONS
select UDELAY_TSC select UDELAY_TSC
select SUPPORT_CPU_UCODE_IN_CBFS select SUPPORT_CPU_UCODE_IN_CBFS
select INTEL_DESCRIPTOR_MODE_CAPABLE select INTEL_DESCRIPTOR_MODE_CAPABLE
select SMM_TSEG
select HAVE_SMI_HANDLER select HAVE_SMI_HANDLER
select TSC_MONOTONIC_TIMER select TSC_MONOTONIC_TIMER
select TSC_CONSTANT_RATE select TSC_CONSTANT_RATE

View file

@ -37,7 +37,6 @@ config CPU_SPECIFIC_OPTIONS
select POSTCAR_CONSOLE select POSTCAR_CONSOLE
select POSTCAR_STAGE select POSTCAR_STAGE
select REG_SCRIPT select REG_SCRIPT
select SMM_TSEG
select SMP select SMP
select SOC_AHCI_PORT_IMPLEMENTED_INVERT select SOC_AHCI_PORT_IMPLEMENTED_INVERT
select PMC_GLOBAL_RESET_ENABLE_LOCK select PMC_GLOBAL_RESET_ENABLE_LOCK

View file

@ -50,7 +50,6 @@ config CPU_SPECIFIC_OPTIONS
select PCIEX_LENGTH_64MB select PCIEX_LENGTH_64MB
select REG_SCRIPT select REG_SCRIPT
select SA_ENABLE_DPR select SA_ENABLE_DPR
select SMM_TSEG
select SMP select SMP
select PMC_GLOBAL_RESET_ENABLE_LOCK select PMC_GLOBAL_RESET_ENABLE_LOCK
select SOC_INTEL_COMMON select SOC_INTEL_COMMON