From: Joerg Roedel Subject: [PATCH 0/6 v4] KVM support for 1GB pages Date: Tue, 7 Jul 2009 18:41:01 +0200 Message-ID: <1246984867-15952-1-git-send-email-joerg.roedel@amd.com> Mime-Version: 1.0 Content-Type: text/plain Cc: kvm@vger.kernel.org, linux-kernel@vger.kernel.org To: Avi Kivity , Marcelo Tosatti Return-path: Received: from tx2ehsobe004.messaging.microsoft.com ([65.55.88.14]:34734 "EHLO TX2EHSOBE007.bigfish.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755486AbZGGQli (ORCPT ); Tue, 7 Jul 2009 12:41:38 -0400 Sender: kvm-owner@vger.kernel.org List-ID: Hi, this is the forth version of the patches for KVM to support 1GB pages. This code still only can make use of 1GB pages with nested paging enabled. I will give the shadow paging code another debug round soon. Please comment or consider to apply these patches. Thanks, Joerg shortlog: Joerg Roedel (6): kvm/mmu: make rmap code aware of mapping levels kvm/mmu: rename is_largepage_backed to mapping_level kvm/mmu: make direct mapping paths aware of mapping levels kvm/mmu: make page walker aware of mapping levels kvm/mmu: enable gbpages by increasing nr of pagesizes kvm x86: report 1GB page support to userspace diffstat: arch/x86/include/asm/kvm_host.h | 6 +- arch/x86/kvm/mmu.c | 234 ++++++++++++++++++++++++-------------- arch/x86/kvm/paging_tmpl.h | 62 ++++++----- arch/x86/kvm/svm.c | 6 + arch/x86/kvm/vmx.c | 6 + arch/x86/kvm/x86.c | 3 +- 6 files changed, 199 insertions(+), 118 deletions(-)