Attention is currently required from: Julius Werner, Karthik Ramasubramanian. Hello build bot (Jenkins), Julius Werner, Karthik Ramasubramanian,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/58199
to look at the new patch set (#2).
Change subject: arch/x86,cpu/x86,lib/thread: Remove usage of cpu_info from lib/thread ......................................................................
arch/x86,cpu/x86,lib/thread: Remove usage of cpu_info from lib/thread
We only ever start and execute threads on the BSP. By explicitly checking to see if the CPU is the BSP we can remove the dependency on cpu_info. With this change we can in theory enable threads in bootblock and romstage.
BUG=b:194391185, b:179699789 TEST=Boot guybrush to OS and verify coop multithreading still works
Suggested-by: Julius Werner jwerner@chromium.org Signed-off-by: Raul E Rangel rrangel@chromium.org Change-Id: Iea4622d52c36d529e100b7ea55f32c334acfdf3e --- M src/arch/x86/include/arch/cpu.h M src/cpu/x86/cpu_info.S.inc M src/cpu/x86/lapic/lapic_cpu_init.c M src/cpu/x86/mp_init.c M src/include/thread.h M src/lib/thread.c 6 files changed, 16 insertions(+), 23 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/99/58199/2