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:39:09 +0000 (11:39 +0100)
commit84fd8feb5bb50508ba336c7eaf2f377e0b241521
tree17588ac5a1d7d3cd80a8cfd29a8f880db3504ab6
parent26a401a6a52f7b838ce65b3b48e314c0a4aaa348
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