• Linus Torvalds's avatar
    Merge tag 'pci-v3.14-fixes-1' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci · d158fc7f
    Linus Torvalds authored
    Pull PCI updates from Bjorn Helgaas:
     "The most interesting thing here is the change to enable INTx (by
      clearing PCI_COMMAND_INTX_DISABLE) if the BIOS left INTx disabled.
      Apparently the Baytrail BIOS does this, which means EHCI doesn't work.
    
      Also, fix an AHCI MSI regression and other issues with the recent MSI
      changes.  This also adds pci_enable_msi_exact() and
      pci_enable_msix_exact(), which aren't regression fixes, but will keep
      us from touching drivers twice (once to stop using the deprecated
      pci_enable_msi(), etc., and again to use the *_exact() variants).
    
      There's also a minor MVEBU fix.
    
      Summary:
    
      MSI:
        - Fix AHCI single-MSI fallback (Alexander Gordeev)
        - Fix populate_msi_sysfs() error paths (Greg Kroah-Hartman)
        - Fix htmldocs problem (Masanari Iida)
        - Add pci_enable_msi_exact() and pci_enable_msix_exact() (Alexander Gordeev)
        - Update documentation (Alexander Gordeev)
    
      Miscellaneous:
        - mvebu: expose device ID & revision via lspci (Andrew Lunn)
        - Enable INTx if the BIOS left them disabled (Bjorn Helgaas)"
    
    * tag 'pci-v3.14-fixes-1' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci:
      ahci: Fix broken fallback to single MSI mode
      PCI: Enable INTx if BIOS left them disabled
      PCI/MSI: Add pci_enable_msi_exact() and pci_enable_msix_exact()
      PCI/MSI: Fix cut-and-paste errors in documentation
      PCI/MSI: Add pci_enable_msi() documentation back
      PCI/MSI: Fix pci_msix_vec_count() htmldocs failure
      PCI/MSI: Fix leak of msi_attrs
      PCI/MSI: Check kmalloc() return value, fix leak of name
      PCI: mvebu: Use Device ID and revision from underlying endpoint
    d158fc7f
ahci.c 46.9 KB