KVM: MIPS: Flush KVM entry code from icache globally
authorJames Hogan <james.hogan@imgtec.com>
Tue, 3 Jan 2017 17:43:01 +0000 (17:43 +0000)
committerRadim Krčmář <rkrcmar@redhat.com>
Thu, 5 Jan 2017 13:56:32 +0000 (14:56 +0100)
commit32eb12a6c11034867401d56b012e3c15d5f8141e
tree65289ae54c248a74f05d004271d24a719c219674
parent4c881451d3017033597ea186cf79ae41a73e1ef8
KVM: MIPS: Flush KVM entry code from icache globally

Flush the KVM entry code from the icache on all CPUs, not just the one
that built the entry code.

Signed-off-by: James Hogan <james.hogan@imgtec.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: "Radim Krčmář" <rkrcmar@redhat.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: linux-mips@linux-mips.org
Cc: kvm@vger.kernel.org
Cc: <stable@vger.kernel.org> # 3.16.x-
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
arch/mips/kvm/mips.c