zhao, forrest wrote: > This patch implements the AHCI suspend/resume. > It puts the port suspend/resume operations in > ahci_pci_device_suspend/resume(), which is in conformance with > Jeff's idea of host<->bus<->device suspend/resume sequence. > > > Signed-off-by: Forrest Zhao <forrest.zhao@xxxxxxxxx> > There is one quirky bit in here: we have to enable interrupts for the _adapter_ after all _devices_ have been re-initialized. This breaks the host<->bus<->device initialization sequence. Is there any chance libata can add some hooks for that sort of thing? The current approach (using a device map and run the host initialisation after the last device is done) is a bit hackish. I'd rather like to see the upper layers being able to deal with such devices. But until then: Signed-off-by: Hannes Reinecke <hare@xxxxxxx> Cheers, Hannes -- Dr. Hannes Reinecke hare@xxxxxxx SuSE Linux Products GmbH S390 & zSeries Maxfeldstraße 5 +49 911 74053 688 90409 Nürnberg http://www.suse.de - : send the line "unsubscribe linux-ide" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html