public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] libata: misc frozen port cleanups
@ 2022-10-07 13:23 Niklas Cassel
  2022-10-07 13:23 ` [PATCH 3/4] scsi: libsas: make use of ata_port_is_frozen() helper Niklas Cassel
  2022-10-18  4:59 ` [PATCH 0/4] libata: misc frozen port cleanups Damien Le Moal
  0 siblings, 2 replies; 6+ messages in thread
From: Niklas Cassel @ 2022-10-07 13:23 UTC (permalink / raw)
  To: Damien Le Moal, Mikael Pettersson, James E.J. Bottomley,
	Martin K. Petersen
  Cc: john.garry, Niklas Cassel, linux-ide, linux-scsi

Hello there,

This series adds a new ata_port_is_frozen() helper function,
and makes use of it in ata and libsas.

Additionally, improve ata_read_log_page() to avoid a futile
retry while the port is frozen.

Kind regards,
Niklas


Niklas Cassel (4):
  ata: add ata_port_is_frozen() helper
  ata: make use of ata_port_is_frozen() helper
  scsi: libsas: make use of ata_port_is_frozen() helper
  ata: libata-core: do not retry reading the log on timeout

 drivers/ata/libahci.c         |  6 +++---
 drivers/ata/libata-acpi.c     |  4 ++--
 drivers/ata/libata-core.c     |  7 ++++---
 drivers/ata/libata-eh.c       | 21 ++++++++++-----------
 drivers/ata/libata-sata.c     |  2 +-
 drivers/ata/libata-scsi.c     |  2 +-
 drivers/ata/sata_nv.c         |  2 +-
 drivers/ata/sata_promise.c    |  2 +-
 drivers/ata/sata_sx4.c        |  2 +-
 drivers/scsi/libsas/sas_ata.c |  2 +-
 include/linux/libata.h        |  5 +++++
 11 files changed, 30 insertions(+), 25 deletions(-)

-- 
2.37.3


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

end of thread, other threads:[~2022-10-18  5:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-07 13:23 [PATCH 0/4] libata: misc frozen port cleanups Niklas Cassel
2022-10-07 13:23 ` [PATCH 3/4] scsi: libsas: make use of ata_port_is_frozen() helper Niklas Cassel
2022-10-10  8:03   ` John Garry
2022-10-17  3:08     ` Damien Le Moal
2022-10-18  1:33       ` Martin K. Petersen
2022-10-18  4:59 ` [PATCH 0/4] libata: misc frozen port cleanups Damien Le Moal

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