public inbox for linux-ide@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Fix runtime suspended device resume
@ 2023-11-20  7:35 Damien Le Moal
  2023-11-20  7:35 ` [PATCH 1/2] scsi: Change scsi device boolean fields to single bit flags Damien Le Moal
  2023-11-20  7:35 ` [PATCH 2/2] scsi: sd: fix system start for ATA devices Damien Le Moal
  0 siblings, 2 replies; 8+ messages in thread
From: Damien Le Moal @ 2023-11-20  7:35 UTC (permalink / raw)
  To: Martin K . Petersen, James Bottomley, linux-scsi, linux-ide
  Cc: Bart Van Assche, Phillip Susi

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).

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(-)

-- 
2.42.0


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2023-11-20 22:53 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-20  7:35 [PATCH 0/2] Fix runtime suspended device resume Damien Le Moal
2023-11-20  7:35 ` [PATCH 1/2] scsi: Change scsi device boolean fields to single bit flags Damien Le Moal
2023-11-20 16:06   ` Bart Van Assche
2023-11-20 22:53     ` Damien Le Moal
2023-11-20  7:35 ` [PATCH 2/2] scsi: sd: fix system start for ATA devices Damien Le Moal
2023-11-20  8:50   ` Sergey Shtylyov
2023-11-20  9:00     ` Damien Le Moal
2023-11-20 12:41       ` Niklas Cassel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox