Re: [PATCH v3 3/6] [SCSI] runtime resume device before systemsuspend

From: Tejun Heo
Date: Thu Nov 24 2011 - 14:57:14 EST


Hello,

On Thu, Nov 24, 2011 at 11:36:20AM -0500, Alan Stern wrote:
> I think this email discussion has answered his objection: The only SCSI
> top-level driver implementing runtime suspend is sd, and sd treats
> runtime suspend the same as system sleep. It might be a good idea to
> add a comment with this explanation along with the new code, however.

Hmmm... I see. This shouldn't affect host controller states - we'll
be skipping only the drive PM transitions, right? As long as it's
well documented, I guess it's okay but at the same time I don't think
it's such a big deal to spin up drives when the system is entering
hibernation from runtime powersave. On most systems, they'll need to
be spun up for image dump pretty soon anyway.

Thanks.

--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/