Re: [patch 5/3] fastboot: sync the async execution before late_initcall and move level 6s (sync) first

Ingo Molnar
2008-07-20T16:40:55Z

* Arjan van de Ven <arjan@infradead.org> wrote:

> From: Arjan van de Ven <arjan@linux.intel.com>
> Subject: [PATCH] fastboot: sync the async execution before late_initcall and move level 6s (sync) first
>
> Rene Herman points out several cases where it's basically needed to
> have all level 6/6a/6s calls done before the level 7 (late_initcall)
> code runs. This patch adds a sync point in the transition from the 6's
> to the 7's.
>
> Second, this patch makes sure that level 6s (sync) happens before the
> async code starts, and puts a user in driver/pci in this category that
> needs to happen before device init.

incidentally, this fixed an USB related boot hang i found today on one
of my testsystems running tip/master (which had patches 1-2-3 already),
which i was about to report. Good spotting Rene! I've applied patches
4/5 to tip/fastboot.

Ingo