From: James Hogan Date: Thu, 29 May 2014 09:16:25 +0000 (+0100) Subject: MIPS: KVM: Use local_flush_icache_range to fix RI on XBurst X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~8^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=facaaec1a72db90127b71d22e788596cf1991ae1;p=pandora-kernel.git MIPS: KVM: Use local_flush_icache_range to fix RI on XBurst MIPS KVM uses mips32_SyncICache to synchronise the icache with the dcache after dynamically modifying guest instructions or writing guest exception vector. However this uses rdhwr to get the SYNCI step, which causes a reserved instruction exception on Ingenic XBurst cores. It would seem to make more sense to use local_flush_icache_range() instead which does the same thing but is more portable. Signed-off-by: James Hogan Cc: Paolo Bonzini Cc: Gleb Natapov Cc: kvm@vger.kernel.org Cc: Ralf Baechle Cc: linux-mips@linux-mips.org Cc: Sanjay Lal Signed-off-by: Paolo Bonzini --- Reading git-diff-tree failed