1. 17 1月, 2015 3 次提交
  2. 04 11月, 2014 1 次提交
  3. 02 10月, 2014 1 次提交
  4. 30 9月, 2014 1 次提交
  5. 23 9月, 2014 2 次提交
  6. 17 9月, 2014 1 次提交
  7. 09 9月, 2014 1 次提交
  8. 06 7月, 2014 1 次提交
  9. 20 6月, 2014 2 次提交
    • A
      PCI: Suspend/resume quirks for Apple thunderbolt · 1df5172c
      Andreas Noever 提交于
      Add two quirks to support thunderbolt suspend/resume on Apple systems.
      We need to perform two different actions during suspend and resume:
      
      The whole controller has to be powered down before suspend. If this is
      not done then the native host interface device will be gone after resume
      if a thunderbolt device was plugged in before suspending. The controller
      represents itself as multiple PCI devices/bridges. To power it down we
      hook into the upstream bridge of the controller and call the magic ACPI
      methods.  Power will be restored automatically during resume (by the
      firmware presumably).
      
      During resume we have to wait for the native host interface to
      reestablish all pci tunnels. Since there is no parent-child relationship
      between the NHI and the bridges we have to explicitly wait for them
      using device_pm_wait_for_dev. We do this in the resume_noirq phase of
      the downstream bridges of the controller (which lead into the
      thunderbolt tunnels).
      Signed-off-by: NAndreas Noever <andreas.noever@gmail.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      1df5172c
    • A
      PCI: Add pci_fixup_suspend_late quirk pass · 7d2a01b8
      Andreas Noever 提交于
      Add pci_fixup_suspend_late as a new pci_fixup_pass. The pass is called
      from suspend_noirq and poweroff_noirq. Using the same pass for suspend
      and hibernate is consistent with resume_early which is called by
      resume_noirq and restore_noirq.
      
      The new quirk pass is required for Thunderbolt support on Apple
      hardware.
      Signed-off-by: NAndreas Noever <andreas.noever@gmail.com>
      Acked-by: NBjorn Helgaas <bhelgaas@google.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      7d2a01b8
  10. 12 6月, 2014 1 次提交
  11. 11 6月, 2014 2 次提交
  12. 10 6月, 2014 1 次提交
  13. 29 5月, 2014 3 次提交
  14. 21 5月, 2014 1 次提交
    • A
      PCI: Mark RTL8110SC INTx masking as broken · 3cb30b73
      Alex Williamson 提交于
      INTx masking does not work on this device.  To see this, configure the
      network device UP on an active network, note that the interrupt count
      continues to increment for the device in /proc/interrupts.  Use setpci to
      set the PCI_COMMAND_INTX_DISABLE bit in the PCI_COMMAND register.  As
      expected, the interrupt count ceases to increment.  However, reading the
      PCI_STATUS_INTERRUPT bit of the PCI_STATUS register does not indicate that
      interrupts are pending and clearing PCI_COMMAND_INTX_DISABLE in the
      PCI_COMMAND register does not allow the device to continue operation.
      
      This does not affect operation of the host r8169 driver, but it does
      prevent the device from being functional when assigned to a VM, such as
      with QEMU and VFIO.  The guest driver successfully probes the device, but
      there is no traffic.  Mark INTx masking as broken, allowing the more
      restrictive APIC masking to be used instead.
      Signed-off-by: NAlex Williamson <alex.williamson@redhat.com>
      Signed-off-by: NBjorn Helgaas <bhelgaas@google.com>
      3cb30b73
  15. 29 4月, 2014 1 次提交
  16. 15 4月, 2014 1 次提交
  17. 28 2月, 2014 1 次提交
  18. 12 2月, 2014 2 次提交
  19. 22 12月, 2013 1 次提交
    • Y
      PCI: Convert pcibios_resource_to_bus() to take a pci_bus, not a pci_dev · fc279850
      Yinghai Lu 提交于
      These interfaces:
      
        pcibios_resource_to_bus(struct pci_dev *dev, *bus_region, *resource)
        pcibios_bus_to_resource(struct pci_dev *dev, *resource, *bus_region)
      
      took a pci_dev, but they really depend only on the pci_bus.  And we want to
      use them in resource allocation paths where we have the bus but not a
      device, so this patch converts them to take the pci_bus instead of the
      pci_dev:
      
        pcibios_resource_to_bus(struct pci_bus *bus, *bus_region, *resource)
        pcibios_bus_to_resource(struct pci_bus *bus, *resource, *bus_region)
      
      In fact, with standard PCI-PCI bridges, they only depend on the host
      bridge, because that's the only place address translation occurs, but
      we aren't going that far yet.
      
      [bhelgaas: changelog]
      Signed-off-by: NYinghai Lu <yinghai@kernel.org>
      Signed-off-by: NBjorn Helgaas <bhelgaas@google.com>
      fc279850
  20. 28 11月, 2013 1 次提交
  21. 15 11月, 2013 1 次提交
  22. 26 9月, 2013 1 次提交
    • T
      PCI: Remove Intel Haswell D3 delays · b8cac70a
      Todd E Brandt 提交于
      The latest Intel Haswell chipsets have a hardware optimization which
      allows on-chip PCI devices to ignore the 10ms delay before entering
      or exiting D3 suspend.
      
      This patch implements the optimization as a PCI quirk, since we want
      tight control over which devices use it. This way we can test each device
      individually to be sure there are no issues before we enable the quirk.
      The first set of devices are from the Haswell platform, which includes
      every PCI device that is on the northbridge and southbridge.
      
      This patch reduces the Haswell suspend time from 93 ms to 47 ms and resume
      time from 160 ms to 64 ms.
      Signed-off-by: NTodd Brandt <todd.e.brandt@linux.intel.com>
      Signed-off-by: NBjorn Helgaas <bhelgaas@google.com>
      Acked-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
      b8cac70a
  23. 13 8月, 2013 2 次提交
  24. 26 7月, 2013 1 次提交
  25. 19 6月, 2013 1 次提交
  26. 04 6月, 2013 1 次提交
  27. 16 5月, 2013 1 次提交
  28. 16 4月, 2013 1 次提交
  29. 05 4月, 2013 1 次提交
  30. 27 12月, 2012 1 次提交
  31. 29 11月, 2012 1 次提交