From: Sanjay Lal Date: Thu, 22 Nov 2012 02:34:16 +0000 (-0800) Subject: KVM/MIPS32: Binary patching of select privileged instructions. X-Git-Tag: v3.10-rc1~15^2~1^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=50c8308538dc9671490d6cb65259ef0ed79f5d13;p=pandora-kernel.git KVM/MIPS32: Binary patching of select privileged instructions. Currently, the following instructions are translated: - CACHE (indexed) - CACHE (va based): translated to a SYNCI, overkill on D-CACHE operations, but still much faster than a trap. - mfc0/mtc0: the virtual COP0 registers for the guest are implemented as 2-D array. [COP#][SEL] and this is mapped into the guest kernel address space @ VA 0x0. mfc0/mtc0 operations are transformed to load/stores. Signed-off-by: Sanjay Lal Cc: kvm@vger.kernel.org Cc: linux-mips@linux-mips.org Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed