]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: PPC: Make PV mtmsr work with r30 and r31
authorAlexander Graf <agraf@suse.de>
Thu, 5 Aug 2010 09:26:04 +0000 (11:26 +0200)
committerAvi Kivity <avi@redhat.com>
Sun, 24 Oct 2010 08:52:13 +0000 (10:52 +0200)
commit3c784ff15e22c0004648cf9919c6518eea6baea8
treea262fbb9260d4af7e39f184ef2b90a8c8e02e8c2
parentd3ca9c1f63ad0138c1012d3dc0e77bfbd2720ea8
KVM: PPC: Make PV mtmsr work with r30 and r31

So far we've been restricting ourselves to r0-r29 as registers an mtmsr
instruction could use. This was bad, as there are some code paths in
Linux actually using r30.

So let's instead handle all registers gracefully and get rid of that
stupid limitation

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