]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
Add IORESOUCE_BUSY flag for System RAM
authorYasunori Goto <y-goto@jp.fujitsu.com>
Thu, 15 Nov 2007 00:59:20 +0000 (16:59 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 15 Nov 2007 02:45:39 +0000 (18:45 -0800)
commit887c3cb18865a4f9e0786e5a5b3ef47ff469b956
tree553024b7cfb9c06e71aafefc218165ecc015bd10
parent5fce25a9df4865bdd5e3dc4853b269dc1677a02a
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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/ia64/kernel/efi.c
kernel/resource.c
mm/memory_hotplug.c