From: Sinan Kaya <okaya@kernel.org>
To: Alex Williamson <alex.williamson@redhat.com>,
Bjorn Helgaas <bhelgaas@google.com>,
Dennis Dalessandro <dennis.dalessandro@intel.com>
Cc: Linux PCI <linux-pci@vger.kernel.org>
Subject: RFC on PCI Device Lock
Date: Fri, 31 Aug 2018 16:03:38 -0700 [thread overview]
Message-ID: <87682473-6ffe-f7df-e8f8-3d00e8247621@kernel.org> (raw)
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
next reply other threads:[~2018-09-01 3:13 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-31 23:03 Sinan Kaya [this message]
2018-09-04 22:52 ` RFC on PCI Device Lock 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87682473-6ffe-f7df-e8f8-3d00e8247621@kernel.org \
--to=okaya@kernel.org \
--cc=alex.williamson@redhat.com \
--cc=bhelgaas@google.com \
--cc=dennis.dalessandro@intel.com \
--cc=linux-pci@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).