Skip to contentSkip to conversation

linux/i386: widen physical address range

PATCH New Jan Beulich 1 participant 1 message Jan 22, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 linux/i386: widen physical address range

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.

include/asm-i386/mach-xen/asm/page.h +1 -1
Index: sle10sp1-2007-01-22/include/asm-i386/mach-xen/asm/page.h
===================================================================
@@ -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