OSDN Git Service

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)
commit1dee7a3dc89fe8c7671aee012be8981a42aad45f
tree7345d97377128e0319b27cd0388ac45666968937
parent85b7059169e128c57a3a8a3e588fb89cb2031da1
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