]> git.karo-electronics.de Git - karo-tx-linux.git/commit
KVM/MIPS32: Entry point for trampolining to the guest and trap handlers.
authorSanjay Lal <sanjayl@kymasys.com>
Thu, 22 Nov 2012 02:34:01 +0000 (18:34 -0800)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 13 Mar 2013 18:46:08 +0000 (19:46 +0100)
commit908d8d621b5c506b03d2a370e6ee25de22694ee7
treedf489aca7db8ea6f8886753ad4faeda305312574
parenta9e0712ba0d4eb373c1e5aac5c9998df0ce228d2
KVM/MIPS32: Entry point for trampolining to the guest and trap handlers.

- __kvm_mips_vcpu_run: main entry point to enter guest, we save kernel context, load
  up guest context from and ERET to guest context.
- mips32_exception: L1 exception handler(s), save k0/k1 and jump to main handlers.
- mips32_GuestException: Generic exception handlers for exceptions/interrupts while in
  guest context.  Save guest context, restore some kernel context and jump to
  main 'C' handler: kvm_mips_handle_exit()

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>
arch/mips/kvm/kvm_locore.S [new file with mode: 0644]