Skip to content

Commit e685c68

Browse files
sanjaylcaralfbaechle
authored andcommitted
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>
1 parent 9843b03 commit e685c68

File tree

2 files changed

+1853
-0
lines changed

2 files changed

+1853
-0
lines changed

0 commit comments

Comments
 (0)