]> git.karo-electronics.de Git - linux-beck.git/commit
KVM: PPC: Add support for explicit HIOR setting
authorAlexander Graf <agraf@suse.de>
Mon, 8 Aug 2011 15:17:09 +0000 (17:17 +0200)
committerAvi Kivity <avi@redhat.com>
Sun, 25 Sep 2011 16:52:23 +0000 (19:52 +0300)
commita15bd354f083f20f257db450488db52ac27df439
tree06d382a5fd5a4811c00deeda261eca70975c445e
parent77e675ad825d1106f973afd353e8af84cd8d3960
KVM: PPC: Add support for explicit HIOR setting

Until now, we always set HIOR based on the PVR, but this is just wrong.
Instead, we should be setting HIOR explicitly, so user space can decide
what the initial HIOR value is - just like on real hardware.

We keep the old PVR based way around for backwards compatibility, but
once user space uses the SREGS based method, we drop the PVR logic.

Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/include/asm/kvm.h
arch/powerpc/include/asm/kvm_book3s.h
arch/powerpc/kvm/book3s_pr.c
arch/powerpc/kvm/powerpc.c
include/linux/kvm.h