• Bjorn Helgaas's avatar
    Merge branch 'pci/controller/dwc' · 37853932
    Bjorn Helgaas authored
    - Use msleep() in DWC core instead of usleep_range() for ~100 ms sleep
      (Konrad Dybcio)
    
    - Fix iATU slot management to avoid using the wrong slot after PERST#
      assert/deassert, which could potentially cause DMA to go the wrong place
      (Frank Li)
    
    - Consolidate dw_pcie_prog_outbound_atu() arguments into a struct to ease
      adding new functionality like initiating Message TLPs (Yoshihiro Shimoda)
    
    - Add support for endpoints to initiate PCIe messages (Yoshihiro Shimoda)
    
    - Add #defines for PCIe INTx messages (Yoshihiro Shimoda)
    
    - Add support for endpoints to initiate PCIe PME_Turn_Off messages for
      system suspend (Frank Li)
    
    - Add dw_pcie_ep_linkdown() to reinitialize registers that are lost when
      the link goes down (Manivannan Sadhasivam)
    
    - Use dw_pcie_ep_linkdown() to reinitialize qcom non-sticky registers that
      are lost when the link goes down (Manivannan Sadhasivam)
    
    - Enforce DWC limitation that 64-bit BARs must start with the even numbered
      BAR (Niklas Cassel)
    
    * pci/controller/dwc:
      PCI: dwc: ep: Enforce DWC specific 64-bit BAR limitation
      PCI: layerscape-ep: Use the generic dw_pcie_ep_linkdown() API to handle Link Down event
      PCI: qcom-ep: Use the generic dw_pcie_ep_linkdown() API to handle Link Down event
      PCI: dwc: ep: Remove dw_pcie_ep_init_notify() wrapper
      PCI: dwc: ep: Add a generic dw_pcie_ep_linkdown() API to handle Link Down event
      PCI: dwc: Add generic MSG TLP support for sending PME_Turn_Off when system suspend
      PCI: Add PCIE_MSG_CODE_PME_TURN_OFF message macro
      PCI: Add PCIE_MSG_CODE_ASSERT_INTx message macros
      PCI: dwc: Add outbound MSG TLPs support
      PCI: dwc: Consolidate args of dw_pcie_prog_outbound_atu() into a structure
      PCI: dwc: Fix index 0 incorrectly being interpreted as a free ATU slot
      PCI: dwc: Use msleep() in dw_pcie_wait_for_link()
    37853932
pcie-tegra194.c 68.4 KB