]> git.karo-electronics.de Git - mv-sheeva.git/commit
KVM: PPC: Add mtsrin PV code
authorAlexander Graf <agraf@suse.de>
Tue, 3 Aug 2010 08:39:35 +0000 (10:39 +0200)
committerAvi Kivity <avi@redhat.com>
Sun, 24 Oct 2010 08:52:12 +0000 (10:52 +0200)
commitcbe487fac7fc016dbabbcbe83f11384e1803a56d
tree7144ae2f0b5a920aba061c101b9a0ac8305d5e31
parentdf1bfa25d81f9451715ccbbb67551e0f792ceec8
KVM: PPC: Add mtsrin PV code

This is the guest side of the mtsr acceleration. Using this a guest can now
call mtsrin with almost no overhead as long as it ensures that it only uses
it with (MSR_IR|MSR_DR) == 0. Linux does that, so we're good.

Signed-off-by: Alexander Graf <agraf@suse.de>
Documentation/kvm/ppc-pv.txt
arch/powerpc/kernel/asm-offsets.c
arch/powerpc/kernel/kvm.c
arch/powerpc/kernel/kvm_emul.S