The first three patches of this series cleanup libata-core code in the area of device configuration (ata_dev_configure() function). Patch 4 improves ata_read_log_page() handling to avoid unnecessary warning messages and patch 5 adds an informational message on device scan to advertize the features supported by a device. Path 6 adds the new sysfs ahci device attribute ncq_prio_supported to indicate that a disk supports NCQ priority. Patch 7 does the same for the mpt3sas driver, adding the sas_ncq_prio_supported device attribute. Damien Le Moal (7): libata: cleanup device sleep capability detection libata: cleanup ata_dev_configure() libata: cleanup NCQ priority handling libata: fix ata_read_log_page() warning libata: print feature list on device scan libahci: Introduce ncq_prio_supported sysfs sttribute scsi: mpt3sas: Introduce sas_ncq_prio_supported sysfs sttribute drivers/ata/libahci.c | 1 + drivers/ata/libata-core.c | 249 +++++++++++++++-------------- drivers/ata/libata-sata.c | 61 ++++--- drivers/scsi/mpt3sas/mpt3sas_ctl.c | 20 +++ include/linux/libata.h | 5 + 5 files changed, 191 insertions(+), 145 deletions(-) -- 2.31.1