Skip to content

Support for GB pages in KVM

Joerg Roedel kvm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 19 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7hugetlb: export vma_kernel_pagesize to modulesmm/hugetlb.c+1 -00 replies
2/7kvm mmu: infrastructure changes for multiple huge page supportarch/x86/include/asm/kvm_host.h arch/x86/kvm/mmu.c arch/x86/kvm/paging_tmpl.h+83 -671 reply
3/7kvm mmu: add page size parameter to rmap_removearch/x86/kvm/mmu.c arch/x86/kvm/paging_tmpl.h+29 -210 replies
4/7kvm mmu: implement necessary data structures for second huge page accountingarch/x86/include/asm/kvm_host.h arch/x86/kvm/mmu.c include/linux/kvm_host.h +1 more+70 -16 replies
5/7kvm mmu: add support for 1GB pages to direct mapping pathsarch/x86/kvm/mmu.c arch/x86/kvm/paging_tmpl.h+59 -111 reply
6/7kvm mmu: enabling 1GB pages by extending backing_size funtionarch/x86/kvm/mmu.c+22 -81 reply
7/7kvm x86: report 1GB page support to userspacearch/x86/include/asm/kvm_host.h arch/x86/kvm/svm.c arch/x86/kvm/vmx.c +2 more+22 -15 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/7] Support for GB pages in KVM

Hi,

this patchset extends the KVM MMU implementation to support 1GB pages as supported by AMD family 16 processors. These patches enable support for 1 GB pages with Nested Paging. Support for these pages in the shadow paging code was also developed but does not run stable yet. The patch for shadow-paging support is not included in this series and will be sent out seperatly.

Joerg

git diff --stat avi/master..

 arch/ia64/kvm/process.c         |    5 -
 arch/ia64/kvm/vmm_ivt.S         |   18 ++--
 arch/ia64/kvm/vtlb.c            |    3 +-
 arch/x86/include/asm/kvm_host.h |   29 ++++-
 arch/x86/kvm/mmu.c              |  232 +++++++++++++++++++++++++++------------
 arch/x86/kvm/paging_tmpl.h      |   48 ++++++---
 arch/x86/kvm/svm.c              |    7 +
 arch/x86/kvm/vmx.c              |   19 ++-
 arch/x86/kvm/x86.c              |    6 +-
 include/linux/kvm.h             |    1 +
 include/linux/kvm_host.h        |    2 +-
 mm/hugetlb.c                    |    1 +
 virt/kvm/kvm_main.c             |   26 +++++