[lkml]   [2018]   [Mar]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[PATCH v2 0/2] PCI: Update quirk timing
This is a minor update of a patch I posted earlier [1] when Paul
reported an unreasonably long time spent in PCI quirks during boot
[2]. This doesn't fix the slow quirks, but might help find them.

We previously printed the time taken by each quirk if "initcall_debug"
was specified. With these patches, we'll print it even without
"initcall_debug" if the quirk takes longer than 10ms.

I did notice one quirk (quirk_apple_poweroff_thunderbolt()) in the
suspend path that sleeps for 300ms, so this will probably make suspend
noisier on Apple systems.



Bjorn Helgaas (2):
PCI: Report quirk timings with pci_info() instead of pr_debug()
PCI: Report quirks that take more than 10ms

drivers/pci/quirks.c | 24 ++++++++----------------
1 file changed, 8 insertions(+), 16 deletions(-)

 \ /
  Last update: 2018-03-14 14:31    [W:0.065 / U:2.692 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site