soc/amd/cezanne: Disable Co-op multitasking
There are gremlins in the system. thread_coop_enable has an assert. This is currently problematic for two reasons. assert(current->can_yield <= 0); When doing smm_do_relocate we are entering a deadlock. The root cause hasn't been quite found yet, but it's related to co-op multi-threading. For some reason the assert in thread_coop_enable is firing when releasing the console_lock spin lock. I'm assuming cpu_info hasn't been initialized yet. The assert tries to perform a printk, but since the console_lock is still held we end up in a dead lock. This dead lock will generally not happen after a warm reset. Again I'm assuming because the cpu_info struct has some valid values at this point. For now disable multi-tasking until we fix the cpu_info initialization. BUG=b:194391185 TEST=Boot guybrush to OS Co-developed-by: nikolai.vyssotski@amd.corp-partner.google.com Signed-off-by: Raul E Rangel <rrangel@chromium.org> Change-Id: Ia3143f538a31b5aaaea104aa1d8bcf44e6dcb528 Reviewed-on: https://review.coreboot.org/c/coreboot/+/57005 Reviewed-by: Karthik Ramasubramanian <kramasub@google.com> Reviewed-by: Nikolai Vyssotski <nikolai.vyssotski@amd.corp-partner.google.com> Reviewed-by: Jason Glenesk <jason.glenesk@gmail.com> Reviewed-by: Rob Barnes <robbarnes@google.com> Reviewed-by: Felix Held <felix-coreboot@felixheld.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
35a4bfa9ce
commit
5f80e7c764
|
@ -18,7 +18,6 @@ config SOC_SPECIFIC_OPTIONS
|
|||
select BOOT_DEVICE_SUPPORTS_WRITES if BOOT_DEVICE_SPI_FLASH
|
||||
select DRIVERS_USB_ACPI
|
||||
select DRIVERS_I2C_DESIGNWARE
|
||||
select COOP_MULTITASKING
|
||||
select DRIVERS_USB_PCI_XHCI
|
||||
select FSP_COMPRESS_FSP_M_LZMA
|
||||
select FSP_COMPRESS_FSP_S_LZMA
|
||||
|
@ -31,7 +30,6 @@ config SOC_SPECIFIC_OPTIONS
|
|||
select IDT_IN_EVERY_STAGE
|
||||
select IOAPIC
|
||||
select PARALLEL_MP_AP_WORK
|
||||
select PAYLOAD_PRELOAD
|
||||
select PLATFORM_USES_FSP2_0
|
||||
select PROVIDES_ROM_SHARING
|
||||
select RESET_VECTOR_IN_RAM
|
||||
|
|
Loading…
Reference in New Issue