1. 24 4月, 2015 1 次提交
  2. 09 4月, 2015 1 次提交
  3. 24 3月, 2015 1 次提交
    • A
      PCI: Add ACS quirks for Intel 1G NICs · d748804f
      Alex Williamson 提交于
      Intel has verified that there is no peer-to-peer between functions for the
      below selection of 82580, 82576, 82575, I350, and 82571 multi-port devices.
      This adds the necessary quirks to consider the functions isolated from each
      other.  82571 quad-port devices are omitted due to likely lack of
      ACS/isolation in the onboard switch, rendering quirks for the downstream
      endpoints useless.
      Signed-off-by: NAlex Williamson <alex.williamson@redhat.com>
      Signed-off-by: NBjorn Helgaas <bhelgaas@google.com>
      CC: John Ronciak <john.ronciak@intel.com>
      d748804f
  4. 04 2月, 2015 1 次提交
  5. 24 1月, 2015 2 次提交
    • A
      PCI: Add Wellsburg (X99) to Intel PCH root port ACS quirk · 78e88358
      Alex Williamson 提交于
      Intel has confirmed that the Wellsburg chipset, while not reporting ACS,
      does provide the proper isolation through the RCBA/BSPR registers, so the
      same quirk works for this set of device IDs.
      Signed-off-by: NAlex Williamson <alex.williamson@redhat.com>
      Signed-off-by: NBjorn Helgaas <bhelgaas@google.com>
      Acked-by: NDon Dugger <donald.d.dugger@intel.com>
      78e88358
    • A
      PCI: Add DMA alias quirk for Adaptec 3405 · d3d2ab43
      Alex Williamson 提交于
      The Adaptec 3405 is actually an Intel 80333 I/O processor where the exposed
      device at 0e.0 is actually the address translation unit of the I/O
      processor and a hidden, private device at 01.0 masters the DMA for the
      device.  Create a fixed alias between the exposed and hidden devfn so we
      can enable the IOMMU.
      
      Scenarios like this are potentially likely for any device incorporating
      this I/O processor, so this little bit of abstraction with the fixed alias
      table should make future additions trivial.
      
      Without this fix, booting a system with the Intel IOMMU enabled and an
      Adaptec 3405 at 02:0e.0 results in a flood of errors like this:
      
        dmar: DRHD: handling fault status reg 3
        dmar: DMAR:[DMA Write] Request device [02:01.0] fault addr ffbff000
        DMAR:[fault reason 02] Present bit in context entry is clear
      
      [bhelgaas: changelog, comment]
      Signed-off-by: NAlex Williamson <alex.williamson@redhat.com>
      Signed-off-by: NBjorn Helgaas <bhelgaas@google.com>
      CC: Adaptec OEM Raid Solutions <aacraid@adaptec.com>
      d3d2ab43
  6. 17 1月, 2015 3 次提交
  7. 04 11月, 2014 1 次提交
  8. 02 10月, 2014 1 次提交
  9. 30 9月, 2014 1 次提交
  10. 23 9月, 2014 2 次提交
  11. 17 9月, 2014 1 次提交
  12. 09 9月, 2014 1 次提交
  13. 06 7月, 2014 1 次提交
  14. 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
  15. 12 6月, 2014 1 次提交
  16. 11 6月, 2014 2 次提交
  17. 10 6月, 2014 1 次提交
  18. 29 5月, 2014 3 次提交
  19. 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
  20. 29 4月, 2014 1 次提交
  21. 15 4月, 2014 1 次提交
  22. 28 2月, 2014 1 次提交
  23. 12 2月, 2014 2 次提交
  24. 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
  25. 28 11月, 2013 1 次提交
  26. 15 11月, 2013 1 次提交
  27. 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
  28. 13 8月, 2013 2 次提交
  29. 26 7月, 2013 1 次提交
  30. 19 6月, 2013 1 次提交