ia64/xen-unstable

changeset 18722:3ff349c7aeb7

x86: relax restrictions on reserved bits in L3 for 32on64 x86 guests

A 32on64 guest cannot copy an existing pinned L3 entry to use as a new
L3 because COMPAT_L3_DISALLOW_MASK contains bits which are added to L3
entries by adjust_guest_l3e (U/S & R/W) or by the hardware (A & D).

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Mon Oct 27 10:08:48 2008 +0000 (2008-10-27)
parents c3362551a424
children b99ab7f88a82
files xen/include/asm-x86/x86_64/page.h
line diff
     1.1 --- a/xen/include/asm-x86/x86_64/page.h	Mon Oct 27 10:06:58 2008 +0000
     1.2 +++ b/xen/include/asm-x86/x86_64/page.h	Mon Oct 27 10:08:48 2008 +0000
     1.3 @@ -119,7 +119,7 @@ typedef l4_pgentry_t root_pgentry_t;
     1.4  #define L3_DISALLOW_MASK (BASE_DISALLOW_MASK)
     1.5  #define L4_DISALLOW_MASK (BASE_DISALLOW_MASK)
     1.6  
     1.7 -#define COMPAT_L3_DISALLOW_MASK 0xFFFFF1FEU
     1.8 +#define COMPAT_L3_DISALLOW_MASK 0xFFFFF198U
     1.9  
    1.10  #define PAGE_HYPERVISOR         (__PAGE_HYPERVISOR         | _PAGE_GLOBAL)
    1.11  #define PAGE_HYPERVISOR_NOCACHE (__PAGE_HYPERVISOR_NOCACHE | _PAGE_GLOBAL)