]> git.baikalelectronics.ru Git - kernel.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)
commitd3ca9c1f63ad0138c1012d3dc0e77bfbd2720ea8
tree7144ae2f0b5a920aba061c101b9a0ac8305d5e31
parentf81e9277765f4f120d569a7e947b148a7c120de3
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