This patchset adds the userspace debug support for booke/bookehv. this is tested on powerpc e500v2/e500mc devices. Bharat Bhushan (7): KVM: PPC: booke: Added debug handler Added ONE_REG interface for debug instruction KVM: PPC: debug stub interface parameter defined booke: Save and restore debug registers on guest entry and exit bookehv: Save and restore debug registers on guest entry and exit Rename EMULATE_DO_PAPR to EMULATE_EXIT_USER KVM: PPC: Add userspace debug stub support Documentation/virtual/kvm/api.txt | 1 + arch/powerpc/include/asm/kvm_book3s.h | 1 + arch/powerpc/include/asm/kvm_booke.h | 2 + arch/powerpc/include/asm/kvm_host.h | 6 ++ arch/powerpc/include/asm/kvm_ppc.h | 2 +- arch/powerpc/include/uapi/asm/kvm.h | 41 +++++++++ arch/powerpc/kernel/asm-offsets.c | 27 ++++++ arch/powerpc/kvm/book3s.c | 12 +++ arch/powerpc/kvm/book3s_emulate.c | 2 +- arch/powerpc/kvm/book3s_pr.c | 2 +- arch/powerpc/kvm/booke.c | 153 +++++++++++++++++++++++++++++--- arch/powerpc/kvm/booke_interrupts.S | 156 ++++++++++++++++++++++++++++++++- arch/powerpc/kvm/bookehv_interrupts.S | 145 +++++++++++++++++++++++++++++- arch/powerpc/kvm/e500_emulate.c | 6 ++ arch/powerpc/kvm/e500mc.c | 3 +- arch/powerpc/kvm/powerpc.c | 6 -- 16 files changed, 535 insertions(+), 30 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html