commit | 4b83873d3da0704987cb116833818ed96214ee29 | [log] [tgz] |
---|---|---|
author | Joerg Roedel <joerg.roedel@amd.com> | Wed Apr 07 12:57:35 2010 +0200 |
committer | Joerg Roedel <joerg.roedel@amd.com> | Wed Apr 07 14:36:30 2010 +0200 |
tree | 49ae6049ff73abdb9c11c1c46ef40b634f3deb62 | |
parent | 39a37ce1cc5eef420604fa68b776ff5dab400340 [diff] |
x86/gart: Disable GART explicitly before initialization If we boot into a crash-kernel the gart might still be enabled and its caches might be dirty. This can result in undefined behavior later. Fix it by explicitly disabling the gart hardware before initialization and flushing the caches after enablement. Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>