KVM: PPC: E500: exit to user space on "ehpriv 1" instruction
authorBharat Bhushan <r65777@freescale.com>
Thu, 4 Jul 2013 06:57:45 +0000 (12:27 +0530)
committerAlexander Graf <agraf@suse.de>
Thu, 17 Oct 2013 12:49:39 +0000 (14:49 +0200)
commitb12c784123ff805c066449ca580f15a903c24994
tree9fe3eadbff1e5acae7ad3c9b05c0fd349af1439c
parentfc82cf113bded906e0fc1d4a8636a6776670b1c5
KVM: PPC: E500: exit to user space on "ehpriv 1" instruction

"ehpriv 1" instruction is used for setting software breakpoints
by user space. This patch adds support to exit to user space
with "run->debug" have relevant information.

As this is the first point we are using run->debug, also defined
the run->debug structure.

Signed-off-by: Bharat Bhushan <bharat.bhushan@freescale.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/include/asm/disassemble.h
arch/powerpc/include/asm/kvm_booke.h
arch/powerpc/include/uapi/asm/kvm.h
arch/powerpc/kvm/booke.c
arch/powerpc/kvm/e500_emulate.c