]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/kvm: Fix "PR" KVM implementation of H_CEDE
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 9 Jul 2012 22:48:17 +0000 (22:48 +0000)
committerAlexander Graf <agraf@suse.de>
Wed, 11 Jul 2012 15:36:38 +0000 (17:36 +0200)
commit2dae80f9a454b6bd95d71d8a8c0a6229e5666a93
tree7345d97377128e0319b27cd0388ac45666968937
parent3059bd33b0a3196ef8b5bb369887d926c279c868
powerpc/kvm: Fix "PR" KVM implementation of H_CEDE

H_CEDE should enable the vcpu's MSR:EE bit. It does on "HV" KVM (it's
burried in the assembly code though) and as far as I can tell, qemu
does it as well.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/kvm/book3s_pr_papr.c