]> git.karo-electronics.de Git - mv-sheeva.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)
commit512ba59ed9c580b5e5575beda0041bb19a641127
treea262fbb9260d4af7e39f184ef2b90a8c8e02e8c2
parentcbe487fac7fc016dbabbcbe83f11384e1803a56d
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