public inbox for linux-ide@vger.kernel.org
 help / color / mirror / Atom feed
From: Niklas Cassel <niklas.cassel@wdc.com>
To: Damien Le Moal <damien.lemoal@opensource.wdc.com>,
	Mikael Pettersson <mikpelinux@gmail.com>,
	"James E.J. Bottomley" <jejb@linux.ibm.com>,
	"Martin K. Petersen" <martin.petersen@oracle.com>
Cc: john.garry@huawei.com, Niklas Cassel <niklas.cassel@wdc.com>,
	linux-ide@vger.kernel.org, linux-scsi@vger.kernel.org
Subject: [PATCH 0/4] libata: misc frozen port cleanups
Date: Fri,  7 Oct 2022 15:23:36 +0200	[thread overview]
Message-ID: <20221007132342.1590367-1-niklas.cassel@wdc.com> (raw)

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


             reply	other threads:[~2022-10-07 13:23 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-07 13:23 Niklas Cassel [this message]
2022-10-07 13:23 ` [PATCH 1/4] ata: add ata_port_is_frozen() helper Niklas Cassel
2022-10-10  7:00   ` John Garry
2022-10-10 10:17     ` Niklas Cassel
2022-10-10 11:22       ` John Garry
2022-10-11  0:32         ` Damien Le Moal
2022-10-07 13:23 ` [PATCH 2/4] ata: make use of " Niklas Cassel
2022-10-07 22:31   ` Damien Le Moal
2022-10-07 23:50     ` Niklas Cassel
2022-10-07 23:56       ` Damien Le Moal
2022-10-08  0:09         ` Niklas Cassel
2022-10-07 13:23 ` [PATCH 4/4] ata: libata-core: do not retry reading the log on timeout Niklas Cassel
2022-10-07 22:33   ` Damien Le Moal
2022-10-07 23:47     ` Niklas Cassel
2022-10-07 23:52       ` Damien Le Moal
2022-10-10 17:10       ` Niklas Cassel
2022-10-18  4:59 ` [PATCH 0/4] libata: misc frozen port cleanups Damien Le Moal

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221007132342.1590367-1-niklas.cassel@wdc.com \
    --to=niklas.cassel@wdc.com \
    --cc=damien.lemoal@opensource.wdc.com \
    --cc=jejb@linux.ibm.com \
    --cc=john.garry@huawei.com \
    --cc=linux-ide@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=martin.petersen@oracle.com \
    --cc=mikpelinux@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox