From: "Jan Beulich" Subject: [PATCH] linux/i386: widen physical address range Date: Mon, 22 Jan 2007 11:47:16 +0000 Message-ID: <45B4B254.76E4.0078.0@novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org 32on64 supports 168Gb for 32-bit guests, hence at least 38 bits must be specified here. The foreign frame bit is MFN bit 31, so the maximum valid value here would be 43. Signed-off-by: Jan Beulich Index: sle10sp1-2007-01-22/include/asm-i386/mach-xen/asm/page.h =================================================================== --- sle10sp1-2007-01-22.orig/include/asm-i386/mach-xen/asm/page.h 2007-01-22 09:42:04.000000000 +0100 +++ sle10sp1-2007-01-22/include/asm-i386/mach-xen/asm/page.h 2007-01-22 09:55:48.000000000 +0100 @@ -7,7 +7,7 @@ #define PAGE_MASK (~(PAGE_SIZE-1)) #ifdef CONFIG_X86_PAE -#define __PHYSICAL_MASK_SHIFT 36 +#define __PHYSICAL_MASK_SHIFT 40 #define __PHYSICAL_MASK ((1ULL << __PHYSICAL_MASK_SHIFT) - 1) #define PHYSICAL_PAGE_MASK (~((1ULL << PAGE_SHIFT) - 1) & __PHYSICAL_MASK) #else