]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit341e35c3a4c9585f41e1e16313713814a8658a59
tree7e4518458663eb488b231e96af9982924a96ad90
parentdc22f2cc0998984b1932e03efb445429e10e3bf7
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