• James Hogan's avatar
    KVM: MIPS/Emulate: Adapt T&E CACHE emulation for Octeon · 4fa9de5a
    James Hogan authored
    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: default avatarJames 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
    4fa9de5a
emulate.c 74.9 KB