• Linus Torvalds's avatar
    Merge tag 'ata-6.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/dlemoal/libata · 8ecd28b7
    Linus Torvalds authored
    Pull ata updates from Damien Le Moal:
     "The ususal set of driver fixes and improvements as well as several
      patches improving libata core in preparation of the introduction of
      the support for the command duration limits feature. In more details:
    
       - Define the missing COMPLETED sense key in scsi header (me)
    
       - Several patches to improve libata handling of the status of
         completed commands and the retry and sense data reported to the
         scsi layer for failed commands. In particular, this widen the
         support for NCQ autosense to all drives that support this feature
         instead of restricting this feature use to ZAC drives only (Niklas)
    
       - Cleanup of the pata_mpc52xx and sata_dwc_460ex drivers to remove
         the use of the deprecated NO_IRQ macro (Christophe)
    
       - Fix build dedependency on OF vs use of the of_match_ptr() macro to
         avoid build errors with the sata_gemini and pata_ftide010 drivers
         (me)
    
       - Some libata cleanups using the new helper function
         ata_port_is_frozen() (Niklas)
    
       - Improve internal command handling by not retrying commands that
         failed with a timeout (Niklas)
    
       - Remove code for several unused libata helper functions (from
         Niklas)
    
       - Remove the palmchip pata_bk3710 driver. A couple of other driver
         removal should come in through the arm tree pull request (from
         Arnd)
    
       - Remove unused variable and function in the sata_dwc_460ex driver
         and libata-sff code (Colin and Sergey)
    
       - Minor cleanup of the pata_ep93xx driver platform code (from
         Minghao)
    
       - Remove the unnecessary linux/msi.h include from the ahci driver
         (Thomas)
    
       - Changes to libata enum constants definitions to avoid warnings with
         gcc-13 (Arnd)"
    
    * tag 'ata-6.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/dlemoal/libata: (24 commits)
      ata: ahci: fix enum constants for gcc-13
      ata: libata: fix commands incorrectly not getting retried during NCQ error
      ata: ahci: Remove linux/msi.h include
      ata: sata_dwc_460ex: Check !irq instead of irq == NO_IRQ
      ata: pata_ep93xx: use devm_platform_get_and_ioremap_resource()
      ata: libata-sff: kill unused ata_sff_busy_sleep()
      ata: sata_dwc_460ex: remove variable num_processed
      ata: remove palmchip pata_bk3710 driver
      ata: remove unused helper ata_id_flush_ext_enabled()
      ata: remove unused helper ata_id_flush_enabled()
      ata: remove unused helper ata_id_lba48_enabled()
      ata: libata-core: do not retry reading the log on timeout
      scsi: libsas: make use of ata_port_is_frozen() helper
      ata: make use of ata_port_is_frozen() helper
      ata: add ata_port_is_frozen() helper
      ata: pata_ftide010: Remove build dependency on OF
      ata: sata_gemini: Remove dependency on OF for compile tests
      ata: pata_mpc52xx: Replace NO_IRQ with 0
      ata: libahci: read correct status and error field for NCQ commands
      ata: libata: fetch sense data for ATA devices supporting sense reporting
      ...
    8ecd28b7
libata-scsi.c 114 KB