KVM: ARM: vgic: Fix sgi dispatch problem
authorHaibin Wang <wanghaibin.wang@huawei.com>
Thu, 10 Apr 2014 12:14:32 +0000 (13:14 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 May 2014 11:32:47 +0000 (13:32 +0200)
commit2264ca6c71682e1c0d72a9f21e178204b1e621e4
treec59d6ebabb88adf3e88f061a8f13a0ac247a0e6e
parentb487c62505afbd87654773562fbf2e89bcd52147
KVM: ARM: vgic: Fix sgi dispatch problem

commit 91021a6c8ffdc55804dab5acdfc7de4f278b9ac3 upstream.

When dispatch SGI(mode == 0), that is the vcpu of VM should send
sgi to the cpu which the target_cpus list.
So, there must add the "break" to branch of case 0.

Signed-off-by: Haibin Wang <wanghaibin.wang@huawei.com>
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
virt/kvm/arm/vgic.c