1. 24 9月, 2014 3 次提交
  2. 13 8月, 2014 1 次提交
  3. 24 7月, 2014 1 次提交
    • R
      ACPI / PCI: Use ACPI_COMPANION() instead of ACPI_HANDLE() · 85dbb3d0
      Rafael J. Wysocki 提交于
      The ACPI_HANDLE() macro evaluates ACPI_COMPANION() internally to
      return the handle of the device's ACPI companion, so it is much
      more straightforward and efficient to use ACPI_COMPANION()
      directly to obtain the device's ACPI companion object instead of
      using ACPI_HANDLE() and acpi_bus_get_device() on the returned
      handle for the same thing.
      
      Use ACPI_COMPANION() instead of ACPI_HANDLE() in the PCI ACPI support
      code.
      Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
      85dbb3d0
  4. 23 7月, 2014 8 次提交
  5. 22 7月, 2014 1 次提交
  6. 21 7月, 2014 3 次提交
  7. 18 7月, 2014 1 次提交
  8. 17 7月, 2014 8 次提交
  9. 16 7月, 2014 6 次提交
  10. 14 7月, 2014 1 次提交
  11. 09 7月, 2014 4 次提交
  12. 08 7月, 2014 2 次提交
    • F
      PCI: cpqphp: Remove unnecessary null test before debugfs_remove() · 5d37818b
      Fabian Frederick 提交于
      Fix checkpatch warning:
      "WARNING: debugfs_remove(NULL) is safe this check is probably not required"
      Signed-off-by: NFabian Frederick <fabf@skynet.be>
      Signed-off-by: NBjorn Helgaas <bhelgaas@google.com>
      CC: Ryan Desfosses <ryan@desfo.org>
      5d37818b
    • M
      PCI: pciehp: Clear Data Link Layer State Changed during init · 0d25d35c
      Myron Stowe 提交于
      During PCIe hot-plug initialization - pciehp_probe() - data structures
      related to slot capabilities are set up.  As part of this set up, ISRs are
      put in place to handle slot events and all event bits are cleared out.
      
      This patch adds the Data Link Layer State Changed (PCI_EXP_SLTSTA_DLLSC)
      Slot Status bit to the event bits that are cleared out during
      initialization.
      
      If the BIOS doesn't clear DLLSC before handoff to the OS, pciehp notices
      that it's set and interprets it as a new Link Up event, which results in
      spurious messages:
      
        pciehp 0000:82:04.0:pcie24: slot(4): Link Up event
        pciehp 0000:82:04.0:pcie24: Device 0000:83:00.0 already exists at 0000:83:00, cannot hot-add
        pciehp 0000:82:04.0:pcie24: Cannot add device at 0000:83:00
      
      Prior to e48f1b67 ("PCI: pciehp: Use link change notifications for
      hot-plug and removal"), pciehp ignored DLLSC.
      
      Reference:
        PCI-SIG.  PCI Express Base Specification Revision 4.0 Version 0.3
        (PCI-SIG, 2014): 7.8.11. Slot Status Register (Offset 1Ah).
      
      [bhelgaas: add e48f1b67 ref and stable tag]
      Fixes: e48f1b67 ("PCI: pciehp: Use link change notifications for hot-plug and removal")
      Link: https://bugzilla.kernel.org/show_bug.cgi?id=79611Signed-off-by: NMyron Stowe <myron.stowe@redhat.com>
      Signed-off-by: NBjorn Helgaas <bhelgaas@google.com>
      CC: stable@vger.kernel.org	# v3.15+
      0d25d35c
  13. 06 7月, 2014 1 次提交