Messages in this thread | | | Subject | Re: Totally broken PCI PM calls | From | Benjamin Herrenschmidt <> | Date | Tue, 12 Oct 2004 09:08:51 +1000 |
| |
On Tue, 2004-10-12 at 08:58, Dmitry Torokhov wrote:
> Yes, I think that devices that failed to resume (and all their children) > have to be moved by the core resume function into a separate list and > then destroyed (again by the driver core). For that we might need to add > bus_type->remove_device() handler as it seems that all buses do alot > of work outside of driver->remove handlers. The remove_device should > accept additional argument - something like dead_device that would > suggest that driver should not be alarmed by any errors during unbind/ > removal process as the device (or rather usually its parent) is simply > not there anynore.
They already do... think USB...
It's really only a locking problem within the PM core, that's getting OT at the moment. I'll see if I can come up with something later.
Ben.
- 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/
| |