[SCSI] isci: implement suspend/resume support
authorArtur Wojcik <artur.wojcik@intel.com>
Fri, 22 Jun 2012 06:41:56 +0000 (23:41 -0700)
committerJames Bottomley <JBottomley@Parallels.com>
Fri, 24 Aug 2012 09:10:24 +0000 (13:10 +0400)
commite468dc112f38220ee78bc0de64190eca9812749b
treed6bfa83c3c72e288a01b1b4ced2c1116c20f095c
parent303694eeee5eacad5b84105a15afd9e351e1891b
[SCSI] 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>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/isci/host.c
drivers/scsi/isci/host.h
drivers/scsi/isci/init.c