kvm/ppc/booke64: Fix lazy ee handling in kvmppc_handle_exit()
authorScott Wood <scottwood@freescale.com>
Fri, 7 Jun 2013 00:16:32 +0000 (19:16 -0500)
committerGleb Natapov <gleb@redhat.com>
Tue, 11 Jun 2013 08:11:00 +0000 (11:11 +0300)
commit7c11c0ccc7ba186433b2102cf3775ce6b2445453
tree50cc6f01328d8e523d5fc6a3dc427c9c0e1953ab
parentf1e89028f020ca982bf51be6eaba0d462ba0f7fa
kvm/ppc/booke64: Fix lazy ee handling in kvmppc_handle_exit()

EE is hard-disabled on entry to kvmppc_handle_exit(), so call
hard_irq_disable() so that PACA_IRQ_HARD_DIS is set, and soft_enabled
is unset.

Without this, we get warnings such as arch/powerpc/kernel/time.c:300,
and sometimes host kernel hangs.

Signed-off-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Gleb Natapov <gleb@redhat.com>
arch/powerpc/kvm/booke.c