x86_64: allocate gart aperture from 512M
authorYinghai Lu <yhlu.kernel.send@gmail.com>
Tue, 15 Apr 2008 03:40:37 +0000 (20:40 -0700)
committerIngo Molnar <mingo@elte.hu>
Mon, 12 May 2008 19:28:10 +0000 (21:28 +0200)
commit7677b2ef6c0c4fddc84f6473f3863f40eb71821b
tree165d77d56acf37398ff75261e80a96d763e3442b
parent8c9fd91a0dc503f085169d44f4360be025f75224
x86_64: allocate gart aperture from 512M

because we try to reserve dma32 early, so we have chance to get aperture
from 64M.

with some sequence aperture allocated from RAM, could become E820_RESERVED.

and then if doing a kexec with a big kernel that uncompressed size is above
64M we could have a range conflict with still using gart.

So allocate gart aperture from 512M instead.

Also change the fallback_aper_order to 5, because we don't have chance to get
2G or 4G aperture.

Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/aperture_64.c
arch/x86/kernel/pci-dma.c