Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1415791

[PATCH 0/2] ioapic hot-removal bugs

From Rui Wang <rui.y.wang@intel.com>
Newsgroups linux.kernel
Subject [PATCH 0/2] ioapic hot-removal bugs
Date 2016-06-07 09:40 +0200
Message-ID <rHjMe-897-9@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH 0/2] ioapic hot-removal bugs Rui Wang <rui.y.wang@intel.com> - 2016-06-07 09:40 +0200
  [PATCH 2/2] x86/ioapic: Fix wrong pointers in ioapic_setup_resources() Rui Wang <rui.y.wang@intel.com> - 2016-06-07 09:40 +0200
    Re: [PATCH 2/2] x86/ioapic: Fix wrong pointers in  ioapic_setup_resources() Thomas Gleixner <tglx@linutronix.de> - 2016-06-07 11:20 +0200
      Re: [PATCH 2/2] x86/ioapic: Fix wrong pointers in ioapic_setup_resources() Rui Wang <rui.y.wang@intel.com> - 2016-06-08 02:30 +0200

csiph-web