add-ioresouce_busy-flag-for-system-ram
commit64289813f7ace44568580abeff581518bc53e7fa
authorYasunori Goto <y-goto@jp.fujitsu.com>
Tue, 6 Nov 2007 05:55:43 +0000 (6 05:55 +0000)
committerMatthias Urlichs <smurf@hera.kernel.org>
Wed, 14 Nov 2007 11:11:26 +0000 (14 11:11 +0000)
tree35b8d64e0e5620ad28779055f430c925dc351d7b
parent7281a3a4f735aba54f046f8edf6d6728dae6f8ae
add-ioresouce_busy-flag-for-system-ram

i386 and x86-64 registers System RAM as IORESOURCE_MEM | IORESOURCE_BUSY.

But ia64 registers it as IORESOURCE_MEM only.
In addition, memory hotplug code registers new memory as IORESOURCE_MEM too.

This difference causes a failure of memory unplug of x86-64.  This patch
fixes it.

This patch adds IORESOURCE_BUSY to avoid potential overlap mapping by PCI
device.

Signed-off-by: Yasunori Goto <y-goto@jp.fujitsu.com>
Signed-off-by: Badari Pulavarty <pbadari@us.ibm.com>
Cc: Luck, Tony" <tony.luck@intel.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
arch/ia64/kernel/efi.c
kernel/resource.c
mm/memory_hotplug.c