KVM: PPC: BOOK3S: PR: Emulate virtual timebase register
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Thu, 5 Jun 2014 12:08:02 +0000 (17:38 +0530)
committerAlexander Graf <agraf@suse.de>
Mon, 28 Jul 2014 13:21:50 +0000 (15:21 +0200)
commit8f42ab2749d00ea15157ab896cfbed73a247b3e1
tree2ca02b2e03693367661a77c28746a05852b2ed1b
parent3cd60e31185343d4132ca7cf3c9becb903b3ec1b
KVM: PPC: BOOK3S: PR: Emulate virtual timebase register

virtual time base register is a per VM, per cpu register that needs
to be saved and restored on vm exit and entry. Writing to VTB is not
allowed in the privileged mode.

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
[agraf: fix compile error]
Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/include/asm/kvm_host.h
arch/powerpc/include/asm/reg.h
arch/powerpc/include/asm/time.h
arch/powerpc/kvm/book3s.c
arch/powerpc/kvm/book3s_emulate.c
arch/powerpc/kvm/book3s_hv.c
arch/powerpc/kvm/book3s_pr.c