]> git.karo-electronics.de Git - karo-tx-linux.git/commit
KVM: MIPS/Emulate: Adapt T&E CACHE emulation for Octeon
authorJames Hogan <james.hogan@imgtec.com>
Tue, 14 Mar 2017 10:25:45 +0000 (10:25 +0000)
committerJames Hogan <james.hogan@imgtec.com>
Tue, 28 Mar 2017 14:36:17 +0000 (15:36 +0100)
commit4fa9de5a645a9770679032a7eea0604f9a36eaf3
tree83d3672e5b49129a7843d0c093cd543fe0499994
parent7d8a528d19815e57566d1e2277f9535e43f4cb68
KVM: MIPS/Emulate: Adapt T&E CACHE emulation for Octeon

Cache management is implemented separately for Cavium Octeon CPUs, so
r4k_blast_[id]cache aren't available. Instead for Octeon perform a local
icache flush using local_flush_icache_range(), and for other platforms
which don't use c-r4k.c use __flush_cache_all() / flush_icache_all().

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: David Daney <david.daney@cavium.com>
Cc: Andreas Herrmann <andreas.herrmann@caviumnetworks.com>
Cc: linux-mips@linux-mips.org
Cc: kvm@vger.kernel.org
arch/mips/kvm/emulate.c
arch/mips/mm/cache.c