1. 10 1月, 2015 1 次提交
  2. 07 1月, 2015 1 次提交
  3. 04 12月, 2014 1 次提交
  4. 24 10月, 2014 1 次提交
  5. 25 9月, 2014 1 次提交
  6. 03 9月, 2014 1 次提交
  7. 01 9月, 2014 1 次提交
    • R
      PCI / PM: Make PCIe PME interrupts wake up from suspend-to-idle · 76cde7e4
      Rafael J. Wysocki 提交于
      To make PCIe PME interrupts wake up the system from suspend to idle,
      make the PME driver use enable_irq_wake() on the IRQ during system
      suspend (if there are any wakeup devices below the given PCIe port)
      without disabling PME interrupts.  This way, an interrupt will still
      trigger if a wakeup event happens and the system will be woken up (or
      system suspend in progress will be aborted) by means of the new
      mechanics introduced previously.
      
      This change allows Wake-on-LAN to be used for wakeup from
      suspend-to-idle on my MSI Wind tesbed netbook.
      Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
      76cde7e4
  8. 03 7月, 2014 1 次提交
    • J
      PCI/portdrv: Remove warning about invalid IRQ for hot-added PCIe ports · 7f105d31
      Jiang Liu 提交于
      For hot-added PCIe ports on x86 platforms, we always warned about an
      invalid IRQ, e.g.,
      
        pci 0000:00:00.0: device [8086:0e0b] has invalid IRQ; check vendor BIOS
      
      This was because we check pci_dev->irq before actually allocating the IRQ
      for the device, which happens in this path:
      
        pcie_port_device_register
          pci_enable_device
            pci_enable_device_flags
              do_pci_enable_device
                pcibios_enable_device    (on x86)
                  pcibios_enable_irq
      
      This warning message isn't generated for PCIe ports present at boot time
      because x86 arch code has called acpi_pci_irq_enable() in pci_acpi_init()
      for each PCI device for safety.
      
      [bhelgaas: changelog]
      Signed-off-by: NJiang Liu <jiang.liu@linux.intel.com>
      Signed-off-by: NBjorn Helgaas <bhelgaas@google.com>
      7f105d31
  9. 24 6月, 2014 1 次提交
  10. 11 6月, 2014 2 次提交
  11. 25 4月, 2014 1 次提交
  12. 15 4月, 2014 1 次提交
  13. 14 1月, 2014 2 次提交
  14. 04 1月, 2014 1 次提交
    • A
      PCI/MSI: Add pci_msix_vec_count() · ff1aa430
      Alexander Gordeev 提交于
      This creates an MSI-X counterpart for pci_msi_vec_count().  Device drivers
      can use this function to obtain maximum number of MSI-X interrupts the
      device supports and use that number in a subsequent call to
      pci_enable_msix().
      
      pci_msix_vec_count() supersedes pci_msix_table_size() and returns a
      negative errno if device does not support MSI-X interrupts.  After this
      update, callers must always check the returned value.
      
      The only user of pci_msix_table_size() was the PCI-Express port driver,
      which is also updated by this change.
      Signed-off-by: NAlexander Gordeev <agordeev@redhat.com>
      Signed-off-by: NBjorn Helgaas <bhelgaas@google.com>
      Reviewed-by: NTejun Heo <tj@kernel.org>
      ff1aa430
  15. 20 12月, 2013 3 次提交
  16. 14 12月, 2013 4 次提交
  17. 13 12月, 2013 1 次提交
  18. 21 11月, 2013 1 次提交
  19. 15 11月, 2013 2 次提交
    • S
      kfifo API type safety · 498d319b
      Stefani Seibold 提交于
      This patch enhances the type safety for the kfifo API.  It is now safe
      to put const data into a non const FIFO and the API will now generate a
      compiler warning when reading from the fifo where the destination
      address is pointing to a const variable.
      
      As a side effect the kfifo_put() does now expect the value of an element
      instead a pointer to the element.  This was suggested Russell King.  It
      make the handling of the kfifo_put easier since there is no need to
      create a helper variable for getting the address of a pointer or to pass
      integers of different sizes.
      
      IMHO the API break is okay, since there are currently only six users of
      kfifo_put().
      
      The code is also cleaner by kicking out the "if (0)" expressions.
      
      [akpm@linux-foundation.org: coding-style fixes]
      Signed-off-by: NStefani Seibold <stefani@seibold.net>
      Cc: Russell King <rmk@arm.linux.org.uk>
      Cc: Hauke Mehrtens <hauke@hauke-m.de>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      498d319b
    • B
      PCI: Fix whitespace, capitalization, and spelling errors · f7625980
      Bjorn Helgaas 提交于
      Fix whitespace, capitalization, and spelling errors.  No functional change.
      I know "busses" is not an error, but "buses" was more common, so I used it
      consistently.
      
      Signed-off-by: Marta Rybczynska <rybczynska@gmail.com> (pci_reset_bridge_secondary_bus())
      Signed-off-by: NBjorn Helgaas <bhelgaas@google.com>
      Acked-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
      f7625980
  20. 01 11月, 2013 1 次提交
    • A
      PCI: Update pcie_ports 'auto' behavior for non-ACPI platforms · 6b87e700
      Andrew Murray 提交于
      The pcie_ports parameter, which defaults to 'auto', allows a user
      to specify if PCIe port services are disabled ('compat'), always
      enabled ('native'), or only used when allowed by the BIOS
      ('auto').
      
      Where CONFIG_ACPI isn't enabled, as is often the case for non
      x86/ia64 platforms, the 'auto' behavior results in that of
      'compat'. Thus in order to use port services on these platforms
      'pcie_ports=native' must be added to the kernel command line.
      
      This patch results in the 'native' behavior being followed where
      'auto' is selected and ACPI is not enabled.
      Signed-off-by: NAndrew Murray <amurray@embedded-bits.co.uk>
      Signed-off-by: NBjorn Helgaas <bhelgaas@google.com>
      6b87e700
  21. 15 8月, 2013 1 次提交
  22. 26 7月, 2013 2 次提交
  23. 11 6月, 2013 1 次提交
  24. 07 6月, 2013 5 次提交
  25. 31 5月, 2013 1 次提交
  26. 29 5月, 2013 1 次提交
  27. 22 5月, 2013 1 次提交