x86, gart: Set DISTLBWALKPRB bit always
authorJoerg Roedel <joerg.roedel@amd.com>
Mon, 18 Apr 2011 13:45:45 +0000 (15:45 +0200)
committerSteve Conklin <sconklin@canonical.com>
Thu, 2 Jun 2011 19:23:00 +0000 (14:23 -0500)
commitdd41cb1297f6f2523ae6810de1ad3ac364953401
tree05058c0526705389a186f636df96745852903955
parentdadb885307d464c8f08f890e8efc83ff1e594e72
x86, gart: Set DISTLBWALKPRB bit always

BugLink: http://bugs.launchpad.net/bugs/775809

commit c34151a742d84ae65db2088ea30495063f697fbe upstream.

The DISTLBWALKPRB bit must be set for the GART because the
gatt table is mapped UC. But the current code does not set
the bit at boot when the BIOS setup the aperture correctly.
Fix that by setting this bit when enabling the GART instead
of the other places.

Cc: Borislav Petkov <borislav.petkov@amd.com>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Link: http://lkml.kernel.org/r/1303134346-5805-4-git-send-email-joerg.roedel@amd.com
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
arch/x86/include/asm/gart.h
arch/x86/kernel/aperture_64.c