Skip to content

AHCI suspend/resume support -- take 2

zhao, forrest linux-ide 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 of 6 patches 2 repliesIn review

4 of 6 patches are in this archive. The cover letter announces 6.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6The definition of ahci_start_engine() and ahci_stop_engine()drivers/scsi/ahci.c+41 -160 replies
2/6The definition of ahci_start_fis_rx() and ahci_stop_fis_rx()drivers/scsi/ahci.c+75 -00 replies
5/6Update the users of new added functionsdrivers/scsi/ahci.c+32 -440 replies
6/6Implement the AHCI suspend/resumedrivers/scsi/ahci.c+137 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/6] AHCI suspend/resume support -- take 2

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