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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 12 Jan 2017 10:22:43 +0000 (11:22 +0100)
commite72575d2d76ed9eea122b76eb3d47781cc115dab
tree3c541a4b6a1c7149df9b70f6ba978e906ef9f7d9
parent7b95f36fc6fa98afae5cf1450e29482561a11f5b
KVM: MIPS: Flush KVM entry code from icache globally

commit 32eb12a6c11034867401d56b012e3c15d5f8141e upstream.

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
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/mips/kvm/mips.c