From: Jiang Liu Date: Wed, 18 Jun 2014 05:56:21 +0000 (+0800) Subject: PCI/portdrv: Remove warning about invalid IRQ for hot-added PCIe ports X-Git-Tag: omap-for-v3.17/fixes-against-rc2~196^2~1^5~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f105d311869d80895c169ba90ebebded93b3867;p=pandora-kernel.git PCI/portdrv: Remove warning about invalid IRQ for hot-added PCIe ports 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: Jiang Liu Signed-off-by: Bjorn Helgaas --- Reading git-diff-tree failed