linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] ioapic hot-removal bugs
@ 2016-06-07  7:21 Rui Wang
  2016-06-07  7:21 ` [PATCH 1/2] x86/ioapic: Support hot-removal of IOAPICs present during boot Rui Wang
  2016-06-07  7:21 ` [PATCH 2/2] x86/ioapic: Fix wrong pointers in ioapic_setup_resources() Rui Wang
  0 siblings, 2 replies; 5+ messages in thread
From: Rui Wang @ 2016-06-07  7:21 UTC (permalink / raw)
  To: tglx, rjw, tony.luck, bhelgaas
  Cc: linux-acpi, linux-pci, linux-kernel, rui.y.wang

Hi All,

While testing ioapic hotplug, two bugs were found.

1) acpi_ioapic_add() is only called during hotadd of ioapics. Those
already present during system boot are not added, and thus cannot be
hot-removed.

2) ioapics[i].iomem_res were assigned the wrong pointers, causing panic
while hot-removing ioapics.

On a 4-socket brickland, hot-removal of the 3 sockets can be done
only after applying these two patches.

Regards,
Rui

Rui Wang (2):
  Support hot-removal of IOAPICs present during boot
  x86/ioapic: Fix wrong pointers in ioapic_setup_resources()

 arch/x86/kernel/apic/io_apic.c | 18 +++++++-----------
 drivers/acpi/internal.h        |  2 --
 drivers/acpi/ioapic.c          |  7 ++++---
 drivers/acpi/pci_root.c        |  2 +-
 drivers/pci/setup-bus.c        |  5 ++++-
 include/linux/acpi.h           |  3 +++
 6 files changed, 19 insertions(+), 18 deletions(-)

-- 
1.8.3.1

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-06-08  0:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-07  7:21 [PATCH 0/2] ioapic hot-removal bugs Rui Wang
2016-06-07  7:21 ` [PATCH 1/2] x86/ioapic: Support hot-removal of IOAPICs present during boot Rui Wang
2016-06-07  7:21 ` [PATCH 2/2] x86/ioapic: Fix wrong pointers in ioapic_setup_resources() Rui Wang
2016-06-07  9:17   ` Thomas Gleixner
2016-06-08  0:07     ` Rui Wang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).