From: Russell King <rmk@arm.linux.org.uk>
To: Scott Murray <scottm@somanetworks.com>
Cc: Linus Torvalds <torvalds@transmeta.com>,
linux-kernel@vger.kernel.org, Jeff Garzik <jgarzik@pobox.com>,
Greg KH <greg@kroah.com>
Subject: Re: [PATCH] Make hot unplugging of PCI buses work
Date: Sun, 23 Feb 2003 21:24:32 +0000 [thread overview]
Message-ID: <20030223212432.J20405@flint.arm.linux.org.uk> (raw)
In-Reply-To: <Pine.LNX.4.44.0302231531450.2559-100000@rancor.yyz.somanetworks.com>; from scottm@somanetworks.com on Sun, Feb 23, 2003 at 04:01:10PM -0500
On Sun, Feb 23, 2003 at 04:01:10PM -0500, Scott Murray wrote:
> Having beaten out something roughly similiar for the cPCI hotplug code,
> I have a couple of comments:
> 1) The description of pci_remove_bus_device says "informing the drivers
> that the device has been removed", yet unless I'm missing some sysfs
> wrinkle, no call will be made to an attached driver's remove callback.
pci_remove_all_bus_devices => pci_remove_bus_device =>
pci_remove_device => device_unregister => device_del =>
bus_remove_device => device_release_driver => driver->remove
> 2) The recursive bus handling in pci_remove_bus_device should probably
> call pci_proc_detach_bus
Good catch - I'll create a new patch for Monday.
> and potentially should also update the parent bridge's subordinate
> field.
Yes - I think this is something we may consider when sorting out the
insertion.
However, whether x86 PCs will survive bus renumbering or not remains to
be seen. We currently try to leave as much of the configuration intact
from the BIOS.
--
Russell King (rmk@arm.linux.org.uk) The developer of ARM Linux
http://www.arm.linux.org.uk/personal/aboutme.html
next prev parent reply other threads:[~2003-02-23 21:14 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-23 17:34 [PATCH] Make hot unplugging of PCI buses work Russell King
2003-02-23 18:16 ` Jeff Garzik
2003-02-23 18:57 ` Linus Torvalds
2003-02-23 19:32 ` Russell King
2003-02-23 21:29 ` Alan Cox
2003-02-24 0:10 ` Ivan Kokshaysky
2003-02-23 21:01 ` Scott Murray
2003-02-23 21:24 ` Russell King [this message]
2003-02-23 22:27 ` Scott Murray
2003-02-24 0:59 ` Linus Torvalds
2003-02-24 5:40 ` Scott Murray
2003-02-24 6:08 ` Greg KH
2003-02-24 5:48 ` Greg KH
2003-02-24 10:03 ` Russell King
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=20030223212432.J20405@flint.arm.linux.org.uk \
--to=rmk@arm.linux.org.uk \
--cc=greg@kroah.com \
--cc=jgarzik@pobox.com \
--cc=linux-kernel@vger.kernel.org \
--cc=scottm@somanetworks.com \
--cc=torvalds@transmeta.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