x86, gart: Set DISTLBWALKPRB bit always
authorJoerg Roedel <joerg.roedel@amd.com>
Mon, 18 Apr 2011 13:45:45 +0000 (15:45 +0200)
committerH. Peter Anvin <hpa@zytor.com>
Mon, 18 Apr 2011 16:26:48 +0000 (09:26 -0700)
commitc34151a742d84ae65db2088ea30495063f697fbe
tree1322126cd11a9ad7529fca7d76b90a1a8acd6d5d
parentaf289bfe15fc92ecfbf6d8312713815b33e452c0
x86, gart: Set DISTLBWALKPRB bit always

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: <stable@kernel.org>
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>
arch/x86/include/asm/gart.h
arch/x86/kernel/aperture_64.c