Kernel KVM-PPC virtualization development
 help / color / mirror / Atom feed
* [PATCH 0/6] Get rid of mandatory huge page defines
@ 2013-10-02 21:22 Christoffer Dall
  2013-10-02 21:22 ` [PATCH 1/6] KVM: Move gfn_to_index to x86 specific code Christoffer Dall
                   ` (6 more replies)
  0 siblings, 7 replies; 13+ messages in thread
From: Christoffer Dall @ 2013-10-02 21:22 UTC (permalink / raw)
  To: kvm; +Cc: kvmarm, kvm-ppc, kvm-ia64, Christoffer Dall

The current KVM code relies on a number of definitions to exist for each
architecture:
  KVM_HPAGE_GFN_SHIFT
  KVM_NR_HPAGE_SIZES
  KVM_PAGES_PER_HPAGE

However, these defines are only used in the gfn_to_index function, which
is only used in the x86 code.  This series moves the gfn_to_index
function from the generic KVM code into the x86 world and gets rid of
the definitions from archiectures that don't use them.  s390 actually
uses these values in other code, so we leave that part untouched.

Patches based on kvm/next and available here:
git://git.linaro.org/people/cdall/linux-kvm-arm.git kvm-pagesize-cleanup

Christoffer Dall (6):
  KVM: Move gfn_to_index to x86 specific code
  KVM: ARM: Get rid of KVM_HPAGE defines
  KVM: arm64: Get rid of KVM_HPAGE defines
  KVM: mips: Get rid of KVM_HPAGE defines
  KVM: ia64: Get rid of KVM_HPAGE defines
  KVM: PPC: Get rid of KVM_HPAGE defines

 arch/arm/include/asm/kvm_host.h     |    5 -----
 arch/arm64/include/asm/kvm_host.h   |    5 -----
 arch/ia64/include/asm/kvm_host.h    |    4 ----
 arch/mips/include/asm/kvm_host.h    |    7 -------
 arch/powerpc/include/asm/kvm_host.h |    5 -----
 arch/x86/include/asm/kvm_host.h     |    7 +++++++
 include/linux/kvm_host.h            |    7 -------
 7 files changed, 7 insertions(+), 33 deletions(-)

-- 
1.7.10.4


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2013-10-14  7:20 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-02 21:22 [PATCH 0/6] Get rid of mandatory huge page defines Christoffer Dall
2013-10-02 21:22 ` [PATCH 1/6] KVM: Move gfn_to_index to x86 specific code Christoffer Dall
2013-10-02 21:22 ` [PATCH 2/6] KVM: ARM: Get rid of KVM_HPAGE defines Christoffer Dall
2013-10-02 21:22 ` [PATCH 3/6] KVM: arm64: " Christoffer Dall
2013-10-02 21:22 ` [PATCH 4/6] KVM: mips: " Christoffer Dall
2013-10-02 21:22 ` [PATCH 5/6] KVM: ia64: " Christoffer Dall
2013-10-02 21:22 ` [PATCH 6/6] KVM: PPC: " Christoffer Dall
2013-10-12 17:36 ` [PATCH 0/6] Get rid of mandatory huge page defines Christoffer Dall
2013-10-13  9:31   ` Gleb Natapov
2013-10-13 17:41     ` Christoffer Dall
2013-10-13 17:49       ` Gleb Natapov
2013-10-13 19:29         ` Christoffer Dall
2013-10-14  7:20           ` Gleb Natapov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox