• Linus Torvalds's avatar
    Merge tag 'ata-6.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/libata/linux · 57aaf913
    Linus Torvalds authored
    Pull ata updates from Niklas Cassel:
    
     - Do not enable LPM for external ports (hotplug-capable ports or eSATA
       ports), as the HBA will not be able to detect hot plug removal events
       when LPM is enabled (me)
    
     - Drop the board type board_ahci_low_power. Now when we make sure that
       we won't enable LPM for external ports, we can always set the LPM
       policy to CONFIG_SATA_MOBILE_LPM_POLICY for internal ports. There is
       thus no longer any need for the board type board_ahci_low_power, so
       it can be removed. (As before, LPM features not supported by the HBA
       and/or the device will not be enabled, regardless of the LPM policy
       Kconfig) (Mario Limonciello)
    
       Note that the default CONFIG_SATA_MOBILE_LPM_POLICY value is still 0
       (which will not try to enable any LPM features), however, most Linux
       distributions override this and set it to 3 (Medium power with DIPM).
       We intend to change the default to 3 in the coming cycles, but we
       will wait a cycle or two.
    
     - Add board type board_ahci_pcs_quirk and make all legacy Intel
       platforms use it. The Intel PCS quirk was being applied to basically
       all Intel platforms, which caused some issues (the device failing to
       come back after a reset), when being applied to newer Intel platforms
       where it shouldn't have been applied.
    
       New platforms can be added using board type board_ahci, which will
       not have the quirk applied (me)
    
     - Rename board_ahci_nosntf to board_ahci_pcs_quirk_no_sntf to more
       clearly highlight that it applies two different quirks (me)
    
     - Modify the ahci_broken_devslp() quirk to be implemented like all the
       other quirks (i.e. define a board type for the quirk) (me)
    
     - Drop unused board_ahci_noncq board type (me)
    
     - Rename board_ahci_nomsi to board_ahci_no_msi to match the other board
       types (me)
    
     - Make pata_parport_bus_type const (Ricardo B. Marliere)
    
     - Remove at91 compact flash device tree binding. (The binding is not
       used by any driver.) (from Hari Prasath Gujulan Elango)
    
     - Convert MediaTek device tree binding to json-schema (Rafał Miłecki)
    
     - At boot, print the number of implemented ports, instead of printing
       the maximum number of ports supported by the HBA silicon (me)
    
    * tag 'ata-6.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/libata/linux:
      ahci: print the number of implemented ports
      dt-bindings: ata: convert MediaTek controller to the json-schema
      ahci: rename board_ahci_nomsi
      ahci: drop unused board_ahci_noncq
      ahci: clean up ahci_broken_devslp quirk
      ahci: rename board_ahci_nosntf
      ahci: clean up intel_pcs_quirk
      ata: ahci: Drop low power policy board type
      ata: ahci: do not enable LPM on external ports
      ata: ahci: drop hpriv param from ahci_update_initial_lpm_policy()
      ata: ahci: a hotplug capable port is an external port
      ata: ahci: move marking of external port earlier
      dt-bindings: ata: atmel: remove at91 compact flash documentation
      ata: pata_parport: make pata_parport_bus_type const
    57aaf913
ahci.c 66 KB