diff options
author | Bart Van Assche <[email protected]> | 2024-10-30 15:03:10 -0700 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2024-11-06 20:52:28 -0500 |
commit | 4045de893f691f75193c606aec440c365cf7a7be (patch) | |
tree | efee3ce54ac0073326d8846cc5b7dab332f04fe0 /tools/perf/scripts/python/netdev-times.py | |
parent | 95bbdca4999bc59a72ebab01663d421d6ce5775d (diff) |
scsi: sg: Enable runtime power management
In 2010, runtime power management support was implemented in the SCSI
core. The description of patch "[SCSI] implement runtime Power
Management" mentions that the sg driver is skipped but not why. This
patch enables runtime power management even if an instance of the sg
driver is held open. Enabling runtime PM for the sg driver is safe
because all interactions of the sg driver with the SCSI device pass
through the block layer (blk_execute_rq_nowait()) and the block layer
already supports runtime PM.
Cc: Alan Stern <[email protected]>
Cc: Douglas Gilbert <[email protected]>
Fixes: bc4f24014de5 ("[SCSI] implement runtime Power Management")
Signed-off-by: Bart Van Assche <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Acked-by: Alan Stern <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions