Skip to content

Fix runtime suspended device resume

Damien Le Moal linux-ide linux-scsi 2 versions Applied

Status from this message: Applied to 6.7/scsi-fixes, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 2 repliesApplied
  2. v12 patches 5 repliesSuperseded

Changes in v2 from the cover letter

- Fixed typos in patch 2 commit message.

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2scsi: Change scsi device boolean fields to single bit flagsdrivers/ata/libata-scsi.c drivers/firewire/sbp2.c include/scsi/scsi_device.h+8 -81 reply
2/2scsi: sd: fix system start for ATA devicesdrivers/ata/libata-scsi.c drivers/scsi/sd.c include/scsi/scsi_device.h+19 -10 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchNiklas Cassel
1/2R-b
2/2

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

Read the v2 thread

Cover letter [PATCH v2 0/2] Fix runtime suspended device resume

The first patch changes the use of the bool type back to the regular unsigned:1 for the manage_xxx scsi device flags. This is marked as a fix and CC-stable to avoid issues with later eventual fixes in this area.

The second patch addresses an issue with system resume with devices that were runtime suspended. For ATA devices, this leads to a disk still being reported as suspended while it is in fact spun up due to how ATA resume is done (port reset).

Changes from v1:
- Fixed typos in patch 2 commit message.

Damien Le Moal (2):
scsi: Change scsi device boolean fields to single bit flags
scsi: sd: fix system start for ATA devices

 drivers/ata/libata-scsi.c  |  9 +++++++--
 drivers/firewire/sbp2.c    |  6 +++---
 drivers/scsi/sd.c          |  9 ++++++++-
 include/scsi/scsi_device.h | 12 +++++++++---
 4 files changed, 27 insertions(+), 9 deletions(-)
Signature · 1 line
2.42.0