the following patch was just integrated into master: commit 8fc41e1b84301e76921730caa4e6b8e8bf27cc35 Author: Aaron Durbin adurbin@chromium.org Date: Mon Apr 29 23:22:01 2013 -0500
boot state: run timers on state entry
When TIMER_QUEUE is configured on call the timer callbacks on entry into a state but before its entry callbacks. In addition provide a barrier to the following states so that timers are drained before proceeding. This allows for blocking state traversal for key components of boot. BS_OS_RESUME BS_WRITE_TABLES BS_PAYLOAD_LOAD BS_PAYLOAD_BOOT
Future functionality consists of evaluating the timer callbacks within the device tree. One example is dev_initialize() as that seems state seems to take 90% of the boot time. The timer callbacks could then be ran in a more granular manner.
Change-Id: Idb549ea17c5ec38eb57b4f6f366a1c2183f4a6dd Signed-off-by: Aaron Durbin adurbin@chromium.org Reviewed-on: http://review.coreboot.org/3159 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich rminnich@gmail.com
Build-Tested: build bot (Jenkins) at Wed May 1 06:22:52 2013, giving +1 Reviewed-By: Ronald G. Minnich rminnich@gmail.com at Wed May 1 07:19:52 2013, giving +2 See http://review.coreboot.org/3159 for details.
-gerrit