x86: set PAE PHYSICAL_MASK_SHIFT to 44 bits.
authorJeremy Fitzhardinge <jeremy@goop.org>
Fri, 6 Jun 2008 09:21:39 +0000 (10:21 +0100)
committerIngo Molnar <mingo@elte.hu>
Tue, 10 Jun 2008 10:31:20 +0000 (12:31 +0200)
commitce8e37cdbdb34a9faeade22e0e6440f0d04560f5
treede2fd45d521f45978808d8c7d949033cb6612556
parent668231141f307ffd81db075b34bddaedae0ec863
x86: set PAE PHYSICAL_MASK_SHIFT to 44 bits.

When a 64-bit x86 processor runs in 32-bit PAE mode, a pte can
potentially have the same number of physical address bits as the
64-bit host ("Enhanced Legacy PAE Paging").  This means, in theory,
we could have up to 52 bits of physical address in a pte.

The 32-bit kernel uses a 32-bit unsigned long to represent a pfn.
This means that it can only represent physical addresses up to 32+12=44
bits wide.  Rather than widening pfns everywhere, just set 2^44 as the
Linux x86_32-PAE architectural limit for physical address size.

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Cc: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/asm-x86/page_32.h
This page took 0.025796 seconds and 5 git commands to generate.