]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit424c626c48cb5f2fb664c3601f764a87c56e97ff
treeb6b31c900abc49312c0306b4a0d596d74a22f71c
parentf60de2e363d9d166bff60c58dd05c56d83281c65
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