[PATCH 0/3] Implement runtime power management for SCSI

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The following series of three patches implements a runtime power
management interface for the SCSI subsystem.  This initial
implementation is very crude; only devices driven by sd are affected,
and then only when their device files aren't open.  There is no
connection with SCSI transport classes, although such connections could
easily be added at well-defined points in the new code.

Patch 1/3 prepares the way by converting the old-style PM callbacks 
used by the SCSI midlayer over to the new dev_pm_ops framework.  The 
callback pointers and routines are rearranged, but they continue to 
function as before.

Patch 2/3 provides the midlayer mechanism for runtime PM.  The existing 
driver callbacks are used for runtime suspend and resume, and there are 
provisions for making sure that devices are not suspended at important 
times (during probe, remove, or while the error handler is running).  
However this patch doesn't change the high-level drivers, which means 
nothing will use the new runtime PM machinery.

Patch 3/3 adds support for runtime PM to sd.

There is a fourth patch to follow, adding runtime PM support to 
usb-storage.  Because it affects a different subsystem, I will delay 
submitting it until this earlier material has been approved.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux