commit | e685c689f3a84e5e24a5867afc5e7b5857efa3e4 | [log] [tgz] |
---|---|---|
author | Sanjay Lal <sanjayl@kymasys.com> | Wed Nov 21 18:34:04 2012 -0800 |
committer | Ralf Baechle <ralf@linux-mips.org> | Wed May 08 03:55:35 2013 +0200 |
tree | 5771e2db6000f2fc8b125350d4b51424b90400cc | |
parent | 9843b030cc951bce4a4d9bec38b5155c96eb1740 [diff] |
KVM/MIPS32: Privileged instruction/target branch emulation. - The Guest kernel is run in UM and privileged instructions cause a trap. - If the instruction causing the trap is in a branch delay slot, the branch needs to be emulated to figure out the PC @ which the guest will resume execution. Signed-off-by: Sanjay Lal <sanjayl@kymasys.com> Cc: kvm@vger.kernel.org Cc: linux-mips@linux-mips.org Signed-off-by: Ralf Baechle <ralf@linux-mips.org>