]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: PPC: Book3S HV: Fix KVM hang with CONFIG_KVM_XICS=n
authorAnton Blanchard <anton@samba.org>
Mon, 24 Mar 2014 23:47:01 +0000 (10:47 +1100)
committerPaul Mackerras <paulus@samba.org>
Wed, 26 Mar 2014 12:34:56 +0000 (23:34 +1100)
commit0f7eaa5ebd12c45be768e13d3a40adc11db4fed4
tree20bf8b252c0f77cf5ed7c0c9f2afedbba98d73c5
parent874742b94c2291c6e1c3bc4441eb044e74374a98
KVM: PPC: Book3S HV: Fix KVM hang with CONFIG_KVM_XICS=n

I noticed KVM is broken when KVM in-kernel XICS emulation
(CONFIG_KVM_XICS) is disabled.

The problem was introduced in 8981d81b (KVM: PPC: Book3S HV: use
xics_wake_cpu only when defined). It used CONFIG_KVM_XICS to wrap
xics_wake_cpu, where CONFIG_PPC_ICP_NATIVE should have been
used.

Signed-off-by: Anton Blanchard <anton@samba.org>
Cc: stable@vger.kernel.org
Signed-off-by: Paul Mackerras <paulus@samba.org>
Acked-by: Scott Wood <scottwood@freescale.com>
arch/powerpc/kvm/book3s_hv.c