x86, gart: Don't enforce GART aperture lower-bound by alignment
authorJoerg Roedel <joerg.roedel@amd.com>
Mon, 18 Apr 2011 13:45:43 +0000 (15:45 +0200)
committerH. Peter Anvin <hpa@linux.intel.com>
Mon, 18 Apr 2011 17:31:38 +0000 (10:31 -0700)
commitc387aa3a1a910ce00b86f3a85082d24f144db256
tree7e4518458663eb488b231e96af9982924a96ad90
parent665d3e2af83c8fbd149534db8f57d82fa6fa6753
x86, gart: Don't enforce GART aperture lower-bound by alignment

This patch changes the allocation of the GART aperture to
enforce only natural alignment instead of aligning it on
512MB. This big alignment was used to force the GART
aperture to be over 512MB. This is enforced by using 512MB
as the lower-bound address in the allocation range.

[ hpa: The actual number 512 MiB needs to be revisited, too. ]

Cc: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Link: http://lkml.kernel.org/r/1303134346-5805-2-git-send-email-joerg.roedel@amd.com
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/kernel/aperture_64.c