From: Rusty Lynch <rusty@penguin.co.intel.com>
To: scottm@somanetworks.com
Cc: linux-kernel@vger.kernel.org
Cc: pcihpd-discuss@lists.sourceforge.net
Subject: [BUG][2.5]deadlock on cpci hot insert
Date: Wed, 15 Jan 2003 17:11:06 -0800 [thread overview]
Message-ID: <200301160111.h0G1B6ZE020954@penguin.co.intel.com> (raw)
When I hot insert a cpci peripheral board into a ZT5084 chassis
with a ZT5550 system master board, my ZT5550 locks up. I managed
to isolate the problem to a deadlock with list_lock
* hot insert *
||
\/
cpci_hotplug_core.c:check_slots() which does a spin_lock(&list_lock)
||
\/
* inserted card is found *
||
\/
cpci_hotplug_pci.c:cpci_configure_slot()
||
\/
pci_hotplug_util.c:pci_visit_dev()
||
|| (fn->visit_pci_dev)
\/
cpci_hotplug_pci.c:configure_visit_pci_dev()
||
\/
cpci_hotplug_core.c:cpci_find_slot() which also does a spin_lock(&list_lock)
||
\/
* deadlock *
I'm not sure which is the correct way to fix this. Maybe a
cpci_unlocked_find_slot()? hmm... pci_visit_dev is exported,
so anybody could call it.
--rustyl
next reply other threads:[~2003-01-16 1:02 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-16 1:11 Rusty Lynch [this message]
2003-01-16 5:33 ` Scott Murray
2003-01-16 7:04 ` Rusty Lynch
2003-01-16 20:42 ` [Pcihpd-discuss] " Rusty Lynch
2003-01-17 5:32 ` Scott Murray
2003-01-18 2:04 ` Rusty Lynch
2003-01-18 7:10 ` Scott Murray
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=200301160111.h0G1B6ZE020954@penguin.co.intel.com \
--to=rusty@penguin.co.intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=scottm@somanetworks.com \
/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
all inboxes | Powered by JetHome®