lkml.org 
[lkml]   [2011]   [Apr]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/4] gart cleanups and fixes
Date
Hi,

here is a patch-set to clean things up and fix certain issues with the
GART driver in x86-linux. The first patch changes the alignment
requirements for the aperture to be aper_size instead of hard-coded
512MB as discussed in another thread.
Patch two is preperation for patch three which makes sure that the bit
to disable cache probes on gart table walks is always set, even when the
BIOS sets up the aperture correctly and Linux does not remap then.
The last patch adds a check for a GART hardware constraint. The GART can
only map addresses in the first 1TB of physical memory. This is now
checked with the last patch.

Regards,

Joerg

Diffstat:

arch/x86/include/asm/gart.h | 24 ++++++++++++------------
arch/x86/kernel/aperture_64.c | 36 ++++++++++++++++++++----------------
arch/x86/kernel/pci-gart_64.c | 9 ++++++++-
3 files changed, 40 insertions(+), 29 deletions(-)

Shortlog:

Joerg Roedel (4):
x86, gart: Don't enforce GART aperture lower-bound by alignment
x86, gart: Convert spaces to tabs in enable_gart_translation
x86, gart: Set DISTLBWALKPRB bit always
x86, gart: Make sure GART does not map physmem above 1TB





\
 
 \ /
  Last update: 2011-04-18 15:49    [W:0.130 / U:0.408 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site