[PATCH] PCI: Revert "Implement pcibios_alloc_irq() and pcibios_free_irq()"

From: Bjorn Helgaas
Date: Tue Feb 09 2016 - 12:58:12 EST


We have two reports of drivers broken in v4.3 by Jiang's change,
991de2e59090 ("PCI, x86: Implement pcibios_alloc_irq() and
pcibios_free_irq()").

It would be best to fix the problem instead of reverting 991de2e59090, but
I don't have time to do that myself, and we haven't heard from Jiang, so
the only choice I have is to revert the commit.

Note that reverting will likely break IOAPIC hotplug.

I haven't put my signed-off on it yet because it didn't revert cleanly, and
I'm not sure that I did it correctly.

ÐÐÐÐ and Sunjin, can you please test this and see whether it fixes your
drivers? This patch is based on v4.5-rc1.

---

Bjorn Helgaas (1):
Revert 991de2e59090 ("PCI, x86: Implement pcibios_alloc_irq() and pcibios_free_irq()")


arch/x86/include/asm/pci_x86.h | 2 ++
arch/x86/pci/common.c | 27 +++++++++++----------------
arch/x86/pci/intel_mid_pci.c | 7 ++-----
arch/x86/pci/irq.c | 15 ++++++++++++++-
drivers/acpi/pci_irq.c | 8 ++++++++
5 files changed, 37 insertions(+), 22 deletions(-)