1. 03 6月, 2015 2 次提交
    • R
      ahci: Store irq number in struct ahci_host_priv · 21bfd1aa
      Robert Richter 提交于
      Currently, ahci supports only msi and intx. To also support msix the
      handling of the irq number need to be changed. The irq number for msix
      devices is taken from msi_list instead of pci_dev. Thus, the irq
      number of a device needs to be stored in struct ahci_host_priv now.
      This allows the host controller to be activated in a generic way.
      
      This change is only intended for ahci drivers. For that reason the irq
      number is stored in struct ahci_host_priv used only by ahci drivers.
      Thus, the ABI changes only for ahci_host_activate(), but existing ata
      drivers (about 50) are unaffected and keep unchanged. All users of
      ahci_host_activate() have been updated.
      
      While touching drivers/ata/libahci.c, doing a small code cleanup in
      ahci_port_start().
      Signed-off-by: NRobert Richter <rrichter@cavium.com>
      Signed-off-by: NTejun Heo <tj@kernel.org>
      21bfd1aa
    • R
      ahci: Move interrupt enablement code to a separate function · a1c82311
      Robert Richter 提交于
      This patch refactors ahci_init_interrupts() and moves msi code to a
      separate function. Need the split since we add msix initialization in
      a later patch. The initialization for msix will be done after msi but
      before intx.
      Signed-off-by: NRobert Richter <rrichter@cavium.com>
      Signed-off-by: NTejun Heo <tj@kernel.org>
      a1c82311
  2. 29 5月, 2015 1 次提交
  3. 26 5月, 2015 1 次提交
  4. 25 5月, 2015 1 次提交
  5. 22 5月, 2015 2 次提交
  6. 19 5月, 2015 1 次提交
  7. 11 5月, 2015 1 次提交
    • S
      ata: ahci_xgene: Add AHCI Support for 2nd HW version of APM X-Gene SoC AHCI SATA Host controller. · c9802a4b
      Suman Tripathi 提交于
      This patch enables full AHCI feature support for APM X-Gene SoC SATA
      host controller. The following errata's are removed:
      
      1. 2a0bdff6 ("ahci-xgene: fix the dma state machine lockup for the
                       IDENTIFY DEVICE PIO mode command")
      2. 09c32aaa ("ahci_xgene: Fix the dma state machine lockup for the
                       ATA_CMD_SMART PIO mode command")
      3. 1540035d ("ahci_xgene: Implement the xgene_ahci_poll_reg_val to
                       support PMP")
      4. a3a84bc7 ("ahci_xgene: Implement the workaround to support PMP
                       enumeration and discovery")
      5. 1102407b ("ahci_xgene: Fix the DMA state machine lockup for the
                       ATA_CMD_PACKET PIO mode command")
      6. 72f79f9e ("ahci_xgene: Removing NCQ support from the APM X-Gene
      		SoC AHCI SATA Host Controller driver")
      
      In addition, enable PMP support for APM X-Gene SoC and enable FBS
      support for second generation APM X-Gene SoC.
      Signed-off-by: NSuman Tripathi <stripathi@apm.com>
      Signed-off-by: NTejun Heo <tj@kernel.org>
      c9802a4b
  8. 10 5月, 2015 2 次提交
  9. 05 5月, 2015 3 次提交
  10. 03 5月, 2015 1 次提交
  11. 21 4月, 2015 1 次提交
    • P
      ata: ahci_st: fixup layering violations / drvdata errors · e0e2674b
      Peter Griffin 提交于
      Brian noticed while working on another SATA driver that uses libahci_platform,
      an error in this driver; it tries to the the driver data for its
      device, while libata also thinks it can set the driver data. See:
      
        ahci_platform_init_host()
        -> ata_host_alloc_pinfo()
           -> ata_host_alloc()
              -> dev_set_drvdata()
      
      So instead of sticking the IP-specific platform data into drvdata, let's
      use the plat_data variable that is reserved for this use.
      
      Addtionally plat_data isn't set until ahci_platform_init_host() has been
      called further down in probe(). So re-work the st_ahci_probe_resets and
      st_ahci_deassert_resets functions to take ahci_host_priv *hpriv as a
      parameter.
      Signed-off-by: NPeter Griffin <peter.griffin@linaro.org>
      Suggested-by: NBrian Norris <computersforpeace@gmail.com>
      Cc: Srinivas Kandagatla <srinivas.kandagatla@gmail.com>
      Cc: Maxime Coquelin <maxime.coquelin@st.com>
      Cc: Patrice Chotard <patrice.chotard@st.com>
      Signed-off-by: NTejun Heo <tj@kernel.org>
      e0e2674b
  12. 15 4月, 2015 2 次提交
  13. 13 4月, 2015 1 次提交
  14. 12 4月, 2015 1 次提交
  15. 11 4月, 2015 8 次提交
  16. 10 4月, 2015 12 次提交