]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: Report quirk timings with pci_info() instead of pr_debug()
authorBjorn Helgaas <bhelgaas@google.com>
Wed, 14 Mar 2018 12:42:56 +0000 (07:42 -0500)
committerBjorn Helgaas <helgaas@kernel.org>
Mon, 19 Mar 2018 18:08:38 +0000 (13:08 -0500)
commit7b9aacf5173a8ca50fdf64032d1abf932e17f589
treec98a0cb93f135f44af129e3b2a91b464da019483
parenta48269e3b49f9dc63387c5fa7b6c1691d5b88d02
PCI: Report quirk timings with pci_info() instead of pr_debug()

With "initcall_debug", we report how long every PCI quirk took.  Previously
we used pr_debug(), which means you have to figure out how to enable debug
output.

Log these timings using pci_info() instead so it doesn't depend on DEBUG,
CONFIG_DYNAMIC_DEBUG, etc.

Also, don't log anything at all unless "initcall_debug" is specified.  This
matches what we do in do_one_initcall_debug().

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/quirks.c