On 10/7/22 22:23, Niklas Cassel wrote: > 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(-) > Applied to for-6.2. Thanks ! -- Damien Le Moal Western Digital Research