x86/ioapic: Support hot-removal of IOAPICs present during boot
authorRui Wang <rui.y.wang@intel.com>
Wed, 17 Aug 2016 08:00:34 +0000 (16:00 +0800)
committerIngo Molnar <mingo@kernel.org>
Thu, 18 Aug 2016 09:45:18 +0000 (11:45 +0200)
commit584c5c422f6c749ced1e0bc3c6837f650f64e1e1
treea4435a1214fa37c3d912955d50c77877bda4c95b
parentfe7bd58f5d25d5d655b1da4a084cc4ef6f085fee
x86/ioapic: Support hot-removal of IOAPICs present during boot

IOAPICs present during system boot aren't added to ioapic_list,
thus are unable to be hot-removed. Fix it by calling
acpi_ioapic_add() during root bus enumeration.

Signed-off-by: Rui Wang <rui.y.wang@intel.com>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
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/1471420837-31003-3-git-send-email-rui.y.wang@intel.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
drivers/acpi/pci_root.c
drivers/pci/setup-bus.c