Files
Bart Van Assche c9161e7182 scsi: sg: Enable runtime power management
[ Upstream commit 4045de893f ]

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 <stern@rowland.harvard.edu>
Cc: Douglas Gilbert <dgilbert@interlog.com>
Fixes: bc4f24014d ("[SCSI] implement runtime Power Management")
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20241030220310.1373569-1-bvanassche@acm.org
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-12-05 13:53:39 +01:00
..
2023-10-13 14:15:54 -04:00
2024-03-10 18:15:48 -04:00
2023-04-18 23:01:23 -04:00
2024-04-01 21:08:48 -04:00
2024-04-01 21:08:48 -04:00
2024-06-20 15:19:17 -06:00
2024-06-11 21:14:54 -04:00
2024-06-20 15:19:17 -06:00
2024-12-05 13:53:39 +01:00
2023-05-31 11:36:40 -04:00