You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After the introduction of #110, the adaptive timer/UART fd registration
logic would exclude timer fd monitoring when all harts entered WFI state
during early boot. This created a deadlock: harts waited for timer
interrupts, but the timer fd was not being polled, preventing wakeup.
Symptom:
- SMP=4 hung after "smp: Brought up 1 node, 4 CPUs" (49 lines of output)
- Never reached "clocksource: Switched to clocksource" or login prompt
- SMP=1 continued to work correctly
This commit introduces boot completion heuristic using
peripheral_update_ctr. Consider boot "incomplete" for the first 5000
scheduler iterations after all harts start. During this period, always
keep timer and UART fds active to ensure harts can receive timer
interrupts even when temporarily in WFI.
0 commit comments