PCI, x86: Implement pcibios_alloc_irq() and pcibios_free_irq()
authorJiang Liu <jiang.liu@linux.intel.com>
Wed, 10 Jun 2015 08:54:59 +0000 (16:54 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 30 Jul 2015 19:05:57 +0000 (14:05 -0500)
commit991de2e59090e55c65a7f59a049142e3c480f7bd
treeb6b31c900abc49312c0306b4a0d596d74a22f71c
parent890e4847587fcff5eb0438e90992ad7d2a261f33
PCI, x86: Implement pcibios_alloc_irq() and pcibios_free_irq()

To support IOAPIC hotplug, we need to allocate PCI IRQ resources on demand
and free them when not used anymore.

Implement pcibios_alloc_irq() and pcibios_free_irq() to dynamically
allocate and free PCI IRQs.

Remove mp_should_keep_irq(), which is no longer used.

[bhelgaas: changelog]
Signed-off-by: Jiang Liu <jiang.liu@linux.intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/include/asm/pci_x86.h
arch/x86/pci/common.c
arch/x86/pci/intel_mid_pci.c
arch/x86/pci/irq.c
drivers/acpi/pci_irq.c