]> git.proxmox.com Git - mirror_qemu.git/commit - target/i386/cpu.c
x86: implement la57 paging mode
authorKirill A. Shutemov <kirill.shutemov@linux.intel.com>
Thu, 15 Dec 2016 00:13:05 +0000 (03:13 +0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 22 Dec 2016 15:01:04 +0000 (16:01 +0100)
commit6c7c3c21f95dd9af8a0691c0dd29b07247984122
treeee8ef96cdff2c67cb89aa7217edc106a4bfc2be3
parentc52ab08aee6f7d4717fc6b517174043126bd302f
x86: implement la57 paging mode

The new paging more is extension of IA32e mode with more additional page
table level.

It brings support of 57-bit vitrual address space (128PB) and 52-bit
physical address space (4PB).

The structure of new page table level is identical to pml4.

The feature is enumerated with CPUID.(EAX=07H, ECX=0):ECX[bit 16].

CR4.LA57[bit 12] need to be set when pageing enables to activate 5-level
paging mode.

Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Message-Id: <20161215001305.146807-1-kirill.shutemov@linux.intel.com>
[Drop changes to target-i386/translate.c. - Paolo]
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target/i386/arch_memory_mapping.c
target/i386/cpu.c
target/i386/cpu.h
target/i386/helper.c
target/i386/monitor.c