]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: KVM: Use __local_flush_icache_user_range()
authorJames Hogan <james.hogan@imgtec.com>
Thu, 1 Sep 2016 16:30:14 +0000 (17:30 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 4 Oct 2016 23:31:20 +0000 (01:31 +0200)
commit5daea7c4f0366dcc65e5a830eb1141c21e419688
tree899543ab17002c7c3a95c34fa92278cc0018d15c
parenta5b4a136728a1559523bd4a6f68467089b83b7d4
MIPS: KVM: Use __local_flush_icache_user_range()

Convert KVM dynamic translation of guest instructions to flush icache
for guest mapped addresses using the new
__local_flush_icache_user_range() API to allow the more generic
flush_icache_range() to be changed to work on kernel addresses only.

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