KVM: ARM: vgic: Fix sgi dispatch problem
authorHaibin Wang <wanghaibin.wang@huawei.com>
Thu, 10 Apr 2014 12:14:32 +0000 (13:14 +0100)
committerChristoffer Dall <christoffer.dall@linaro.org>
Thu, 2 Oct 2014 15:18:40 +0000 (17:18 +0200)
commit738a77ae39541495f4d5396ed093bccdebc589f1
tree74fdde8f7ebe2e4d0c29bce2c858cabdad19890a
parent16b80f7131f5d763118811815439c82e4ac45e50
KVM: ARM: vgic: Fix sgi dispatch problem

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.

Cc: <stable@vger.kernel.org> # 3.10+
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>
(cherry picked from commit 91021a6c8ffdc55804dab5acdfc7de4f278b9ac3)
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
virt/kvm/arm/vgic.c