linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* RFC on PCI Device Lock
@ 2018-08-31 23:03 Sinan Kaya
  2018-09-04 22:52 ` Alex Williamson
  0 siblings, 1 reply; 12+ messages in thread
From: Sinan Kaya @ 2018-08-31 23:03 UTC (permalink / raw)
  To: Alex Williamson, Bjorn Helgaas, Dennis Dalessandro; +Cc: Linux PCI

Hi Bjorn, Alex;

Since my recent series to relocate secondary bus reset code into the PCI core,
we hit a deadlock while trying to obtain a device lock during probe since
device lock is already held.

https://bugzilla.kernel.org/show_bug.cgi?id=200985

I posted a patch into the bugzilla so that we skip locks if we are probing
to follow the same strategy found in other lock routines in pci.c.

https://bugzilla.kernel.org/attachment.cgi?id=278221

I wanted to hear some opinions since this is a regression and need to find
a solution and also waiting for test feedback

Sinan

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2018-09-05 22:21 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-31 23:03 RFC on PCI Device Lock Sinan Kaya
2018-09-04 22:52 ` Alex Williamson
2018-09-05  1:12   ` Sinan Kaya
2018-09-05  2:46     ` Alex Williamson
2018-09-05  3:09       ` Sinan Kaya
2018-09-05  3:41         ` Sinan Kaya
2018-09-05  4:13           ` Alex Williamson
2018-09-05 14:26             ` Sinan Kaya
2018-09-05 17:37               ` Alex Williamson
2018-09-05 17:50                 ` Sinan Kaya
2018-09-05  2:59   ` Dennis Dalessandro
2018-09-05  3:10     ` Sinan Kaya

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).