]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6767d2fbf70c8885ece6e03533b56dda75a98381
tree1322126cd11a9ad7529fca7d76b90a1a8acd6d5d
parent795b25ec14aea456daf5c0c8b4c79b62dcbd97d4
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