Re: PCI hotplug question.

Russell King (rmk@arm.linux.org.uk)
Wed, 5 Mar 2003 08:35:25 +0000


On Tue, Mar 04, 2003 at 10:15:20PM -0800, Greg KH wrote:
> I can't find my copy of the PCI Hotplug spec right now (and it's not
> free for download anymore...), but I think that once a user presses the
> latch button, the OS _has_ to power down that slot within a reasonable
> amount of time. So there's no way that a driver could return an error
> to the remove() callback and have a chance to still be around in a
> moment or so. And some systems (ACPI controlled PCI Hotplug), we don't
> have a choice, as the BIOS is about to do the powerdown anyway, and we
> can't stop it.

Not only that, but with Cardbus-based PCI expansion systems, a complete
PCI bus tree could have been removed and be gone before the drivers get
notified, if the user pulls the cardbus card from the slot.

-- 
Russell King (rmk@arm.linux.org.uk)                The developer of ARM Linux
             http://www.arm.linux.org.uk/personal/aboutme.html

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/