Hello, all This is the take 2 of AHCI suspend/resume patches. This series of patches provide the support for AHCI suspend/resume. The patch works very well on Napa SDV in our lab. The patch is against libata-dev #upstream [ef2824073fba9def3cf122e89cc485f66dd71f70]. Compared with last version, the changes are: 1 Use ata_wait_register() to replace the code of waiting register bit to change 2 Replace mdelay(500) with at most waiting 1 second in ahci_start_fis_rx () 3 Remove code for cold_presence_detection in ahci_port_spinup() 4 In ahci_port_standby(), refine the code and comments to make the logic correct 5 Remove the field 'dev_map' of struct ahci_host_priv{} and move the host interrupt enabling code into ahci_pci_device_resume() Your comments and bug report are welcome. Thanks, Forrest - : 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