Re: [PATCH 4/4] x86, gart: Make sure GART does not map physmemabove 1TB

From: Roedel, Joerg
Date: Mon Apr 18 2011 - 10:52:53 EST


On Mon, Apr 18, 2011 at 10:46:24AM -0400, H. Peter Anvin wrote:
> On 04/18/2011 06:45 AM, Joerg Roedel wrote:
> > The GART can only map physical memory below 1TB. Make sure
> > the gart driver in the kernel does not try to map memory
> > above 1TB.
>
> Where does this limit come from?

>From the hardware. A GART PTE is only 32 bits in size so that it cannot
be expanded. The physical address bits 32-39 are mapped 11:4 in the PTE.
This can not be architecturally expanded to more than 40 physical bits.

Regards,

Joerg

--
AMD Operating System Research Center

Advanced Micro Devices GmbH Einsteinring 24 85609 Dornach
General Managers: Alberto Bozzo, Andrew Bowd
Registration: Dornach, Landkr. Muenchen; Registerger. Muenchen, HRB Nr. 43632

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/