]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit57b38c37b7942ebbe6cdc177d3dd61d6ac4afecb
tree7789aae3ec11b1ca49050e3afaf004fe0ea6c8b4
parentf4ff2c0706bacba14ac18201fb7cfe7c90b03af3
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