Skip to content

Rework SCSI runtime power management support

Bart Van Assche linux-scsi 1 version Applied

Status from this message: Applied to 5.16/scsi-staging, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 7 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3scsi: pm: Rely on the device driver core for async power managementdrivers/scsi/hosts.c drivers/scsi/scsi.c drivers/scsi/scsi_pm.c +4 more+22 -540 replies
2/3scsi: sd: Rename sd_resume() into sd_resume_system()drivers/scsi/sd.c+8 -30 replies
3/3scsi: pm: Only runtime resume if necessarydrivers/scsi/scsi_pm.c drivers/scsi/sd.c+20 -555 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by.

PatchMartin Kepplinger
1/3
2/3
3/3T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] Rework SCSI runtime power management support

Hi Martin,

For the UFS driver it is undesired that the SCSI power management core activates runtime suspended devices during system resume. This patch series leaves SCSI devices runtime suspended during system resume if these were runtime suspended before the system was suspended. Please consider this patch series for Linux kernel v5.16.

Thanks,

Bart.

Bart Van Assche (3):
scsi: pm: Rely on the device driver core for async power management
scsi: sd: Rename sd_resume() into sd_resume_system()
scsi: pm: Only runtime resume if necessary

 drivers/scsi/hosts.c      |   1 +
 drivers/scsi/scsi.c       |   8 ---
 drivers/scsi/scsi_pm.c    | 105 +++++---------------------------------
 drivers/scsi/scsi_priv.h  |   4 +-
 drivers/scsi/scsi_scan.c  |  17 ++++++
 drivers/scsi/scsi_sysfs.c |   1 +
 drivers/scsi/sd.c         |  18 +++++--
 7 files changed, 46 insertions(+), 108 deletions(-)