]> git.karo-electronics.de Git - karo-tx-linux.git/commit
isci: implement suspend/resume support
authorArtur Wojcik <artur.wojcik@intel.com>
Fri, 24 Feb 2012 23:42:45 +0000 (23:42 +0000)
committerDan Williams <dan.j.williams@intel.com>
Fri, 13 Apr 2012 07:13:15 +0000 (00:13 -0700)
commitb9a61a9b448e15325a5b7b7ca8ce665daba25f56
tree946e2b12fcd2f375b96047d4e1bc609489b662b6
parentca1f42153c7a30619108f6fc43c19861b0bac427
isci: implement suspend/resume support

Provide a "simple-dev-pm-ops" implementation that shuts down the domain
and the device on suspend, and resumes the device and the domain on
resume.  All of the mechanics of restoring domain connectivity are
handled by libsas once isci has notified libsas that all links should be
back up.  libsas is in charge of handling links that did not resume, or
resumed out of order.

Signed-off-by: Artur Wojcik <artur.wojcik@intel.com>
Signed-off-by: Jacek Danecki <jacek.danecki@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/scsi/isci/host.c
drivers/scsi/isci/host.h
drivers/scsi/isci/init.c