The patch titled hot-add-mem x86_64: acpi motherboard fix has been removed from the -mm tree. Its filename is hot-add-mem-x86_64-acpi-motherboard-fix.patch This patch was dropped because it needs more work ------------------------------------------------------ Subject: hot-add-mem x86_64: acpi motherboard fix From: Keith Mannthey <kmannth@xxxxxxxxxx> This patch set allow SPARSEMEM and RESERVE based hot-add to work. I have test both options and they work as expected. I am adding memory to the 2nd node of a numa system (x86_64). Major changes from last set is the config change and RESERVE enablment. This patch: Make ACPI motherboard driver not attach to devices/handles it dosen't expect. Fix a bug where the motherboard driver attached to hot-add memory event and caused the add memory call to fail. Signed-off-by: Keith Mannthey<kmannth@xxxxxxxxxx> Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx> Cc: Andi Kleen <ak@xxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- diff -puN drivers/acpi/motherboard.c~hot-add-mem-x86_64-acpi-motherboard-fix drivers/acpi/motherboard.c --- a/drivers/acpi/motherboard.c~hot-add-mem-x86_64-acpi-motherboard-fix +++ a/drivers/acpi/motherboard.c @@ -87,6 +87,7 @@ static acpi_status acpi_reserve_io_range } } else { /* Memory mapped IO? */ + return -EINVAL; } if (requested_res) @@ -96,11 +97,16 @@ static acpi_status acpi_reserve_io_range static int acpi_motherboard_add(struct acpi_device *device) { + acpi_status status; if (!device) return -EINVAL; - acpi_walk_resources(device->handle, METHOD_NAME__CRS, + + status = acpi_walk_resources(device->handle, METHOD_NAME__CRS, acpi_reserve_io_ranges, NULL); + if (ACPI_FAILURE(status)) + return -ENODEV; + return 0; } _ Patches currently in -mm which might be from kmannth@xxxxxxxxxx are hot-add-mem-x86_64-acpi-motherboard-fix.patch hot-add-mem-x86_64-fixup-externs.patch hot-add-mem-x86_64-kconfig-changes.patch hot-add-mem-x86_64-enable-sparsemem-in-sratc.patch hot-add-mem-x86_64-memory_add_physaddr_to_nid-enable.patch hot-add-mem-x86_64-memory_add_physaddr_to_nid-node-fixup.patch hot-add-mem-x86_64-memory_add_physaddr_to_nid-node-fixup-fix.patch hot-add-mem-x86_64-memory_add_physaddr_to_nid-node-fixup-fix-2.patch hot-add-mem-x86_64-use-config_memory_hotplug_sparse.patch hot-add-mem-x86_64-use-config_memory_hotplug_reserve.patch hot-add-mem-x86_64-use-config_memory_hotplug_reserve-fix.patch convert-i386-numa-kva-space-to-bootmem.patch convert-i386-numa-kva-space-to-bootmem-tidy.patch convert-i386-summit-subarch-to-use-srat-info-for-apicid_to_node-calls.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html