]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
PCI: Annotate PCI quirks in initcall_debug style
authorArjan van de Ven <arjan@infradead.org>
Tue, 31 Jan 2012 04:52:07 +0000 (20:52 -0800)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 14 Feb 2012 16:45:04 +0000 (08:45 -0800)
commit3209874a1da2c51c7325e601d9634189ee178ad6
treea666c6502ac49e43f253b2d611465afa0e9336c1
parent309c665110ee6a8d9a28f802c41eaab50ceebbf7
PCI: Annotate PCI quirks in initcall_debug style

While diagnosing some boot time issues on a platform, all that I
could see in the bootgraph/dmesg was that the system was spending
a lot of time in applying one or more PCI quirks... which
was virtually undebuggable.

This patch adds printk's in "initcall_debug" style to the dmesg,
which are added when the user asks for the initcall_debug
(the nr one tool to use when debugging boot hangs or boot time issues)
kernel command line option.

v2: add #includes so quirks can build on non-x86

Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/quirks.c