KVM: PPC: PV wrteei
authorAlexander Graf <agraf@suse.de>
Thu, 29 Jul 2010 12:48:06 +0000 (14:48 +0200)
committerAvi Kivity <avi@redhat.com>
Sun, 24 Oct 2010 08:50:57 +0000 (10:50 +0200)
commit644bfa013fd589b0df2470a66bcd104318ef24cd
tree7789aae3ec11b1ca49050e3afaf004fe0ea6c8b4
parent7810927760a0d16d7a41be4dab895fbbf9445bc0
KVM: PPC: PV wrteei

On BookE the preferred way to write the EE bit is the wrteei instruction. It
already encodes the EE bit in the instruction.

So in order to get BookE some speedups as well, let's also PV'nize thati
instruction.

Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/powerpc/kernel/kvm.c
arch/powerpc/kernel/kvm_emul.S