• Bjorn Helgaas's avatar
    Merge branch 'pci/pm' · 034f93fc
    Bjorn Helgaas authored
    - Cache the PTM capability offset instead of searching for it every time
      (Bjorn Helgaas)
    
    - Separate PTM configuration from PTM enable (Bjorn Helgaas)
    
    - Add pci_suspend_ptm() and pci_resume_ptm() to disable and re-enable PTM
      on suspend/resume so some Root Ports can safely enter a lower-power PM
      state (Bjorn Helgaas)
    
    - Disable PTM for all devices during suspend; previously we only did this
      for Root Ports and even then only in certain cases (Bjorn Helgaas)
    
    - Simplify pci_pm_suspend_noirq() (Rajvi Jingar)
    
    - Reduce the delay after transitions to/from D3hot by using usleep_range()
      instead of msleep(), which reduces the typical delay from 19ms to 10ms
      (Sajid Dalvi, Will McVicker)
    
    * pci/pm:
      PCI/PM: Reduce D3hot delay with usleep_range()
      PCI/PM: Simplify pci_pm_suspend_noirq()
      PCI/PM: Always disable PTM for all devices during suspend
      PCI/PTM: Consolidate PTM interface declarations
      PCI/PTM: Reorder functions in logical order
      PCI/PTM: Preserve RsvdP bits in PTM Control register
      PCI/PTM: Move pci_ptm_info() body into its only caller
      PCI/PTM: Add pci_suspend_ptm() and pci_resume_ptm()
      PCI/PTM: Separate configuration and enable
      PCI/PTM: Add pci_upstream_ptm() helper
      PCI/PTM: Cache PTM Capability offset
    034f93fc
pci.c 181 KB