x86/ioapic: Ignore root bridges without a companion ACPI device
authorRui Wang <rui.y.wang@intel.com>
Sat, 10 Sep 2016 15:40:45 +0000 (23:40 +0800)
committerIngo Molnar <mingo@kernel.org>
Sat, 10 Sep 2016 18:30:31 +0000 (20:30 +0200)
commitd9c149d6ce1a94de578a4e323f6881fcb6b986ab
tree02e5ce0c78a71753f3a0cb9195d4e9d24beb2406
parent5035da41996d346c648a65c1d7a9f6469c7d358a
x86/ioapic: Ignore root bridges without a companion ACPI device

Some PCI root bridges don't have a corresponding ACPI device.
This can be the case on some old platforms. Don't call acpi_ioapic_add()
on these bridges because they can't support ioapic hotplug.

Reported-and-tested-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Rui Wang <rui.y.wang@intel.com>
Reviewed-by: Borislav Petkov <bp@alien8.de>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: bhelgaas@google.com
Cc: helgaas@kernel.org
Cc: linux-acpi@vger.kernel.org
Cc: linux-pci@vger.kernel.org
Cc: rjw@rjwysocki.net
Cc: tony.luck@intel.com
Link: http://lkml.kernel.org/r/1473522046-31329-1-git-send-email-rui.y.wang@intel.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
drivers/pci/setup-bus.c