KVM: ARM: vgic: Fix sgi dispatch problem
authorHaibin Wang <wanghaibin.wang@huawei.com>
Thu, 10 Apr 2014 12:14:32 +0000 (13:14 +0100)
committerJiri Slaby <jslaby@suse.cz>
Thu, 15 May 2014 07:55:49 +0000 (09:55 +0200)
commitdfcb8cde86ee85d38caaa3140e1b66cf99ca1df8
treec6b86587a9420132fe8ea61be4e3103bcee61243
parent3d43edf5868f260dbfd1353bf243a78f030a08b0
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: Jiri Slaby <jslaby@suse.cz>
virt/kvm/arm/vgic.c