public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/7 v3]  KVM :PPC: Userspace Debug support
@ 2013-04-08 10:32 Bharat Bhushan
  2013-04-08 10:32 ` [PATCH 1/7 v3] KVM: PPC: debug stub interface parameter defined Bharat Bhushan
  2013-04-26 13:37 ` [PATCH 0/7 v3] KVM :PPC: Userspace Debug support Alexander Graf
  0 siblings, 2 replies; 25+ messages in thread
From: Bharat Bhushan @ 2013-04-08 10:32 UTC (permalink / raw)
  To: kvm-ppc, kvm, agraf, scottwood; +Cc: Bharat Bhushan

From: Bharat Bhushan <bharat.bhushan@freescale.com>

This patchset adds the userspace debug support for booke/bookehv.
this is tested on powerpc e500v2/e500mc devices.

We are now assuming that debug resource will not be used by
kernel for its own debugging. It will be used for only kernel
user process debugging. So the kernel debug load interface during
context_to is used to load debug conext for that selected process.

v2->v3
 - We are now assuming that debug resource will not be used by
   kernel for its own debugging.
   It will be used for only kernel user process debugging.
   So the kernel debug load interface during context_to is
   used to load debug conext for that selected process.

v1->v2
 - Debug registers are save/restore in vcpu_put/vcpu_get.
   Earlier the debug registers are saved/restored in guest entry/exit

Bharat Bhushan (7):
  KVM: PPC: debug stub interface parameter defined
  Rename EMULATE_DO_PAPR to EMULATE_EXIT_USER
  KVM: extend EMULATE_EXIT_USER to support different exit reasons
  booke: exit to user space if emulator request
  KVM: PPC: exit to user space on "ehpriv" instruction
  powerpc: export debug register save function for KVM
  KVM: PPC: Add userspace debug stub support

 arch/powerpc/include/asm/kvm_host.h  |    8 +
 arch/powerpc/include/asm/kvm_ppc.h   |    2 +-
 arch/powerpc/include/asm/switch_to.h |    4 +
 arch/powerpc/include/uapi/asm/kvm.h  |   37 +++++
 arch/powerpc/kernel/process.c        |    3 +-
 arch/powerpc/kvm/book3s.c            |    6 +
 arch/powerpc/kvm/book3s_emulate.c    |    4 +-
 arch/powerpc/kvm/book3s_pr.c         |    4 +-
 arch/powerpc/kvm/booke.c             |  239 ++++++++++++++++++++++++++++++++--
 arch/powerpc/kvm/booke.h             |    5 +
 arch/powerpc/kvm/e500_emulate.c      |   10 ++
 arch/powerpc/kvm/powerpc.c           |    6 -
 12 files changed, 304 insertions(+), 24 deletions(-)

^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2013-05-06  5:51 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-08 10:32 [PATCH 0/7 v3] KVM :PPC: Userspace Debug support Bharat Bhushan
2013-04-08 10:32 ` [PATCH 1/7 v3] KVM: PPC: debug stub interface parameter defined Bharat Bhushan
2013-04-08 10:32   ` [PATCH 2/7 v3] Rename EMULATE_DO_PAPR to EMULATE_EXIT_USER Bharat Bhushan
2013-04-08 10:32     ` [PATCH 3/7 v3] KVM: extend EMULATE_EXIT_USER to support different exit reasons Bharat Bhushan
2013-04-08 10:32       ` [PATCH 4/7 v3] booke: exit to user space if emulator request Bharat Bhushan
2013-04-08 10:32         ` [PATCH 5/7 v3] KVM: PPC: exit to user space on "ehpriv" instruction Bharat Bhushan
2013-04-08 10:32           ` [PATCH 6/7 v3] powerpc: export debug register save function for KVM Bharat Bhushan
2013-04-08 10:32             ` [PATCH 7/7 v3] KVM: PPC: Add userspace debug stub support Bharat Bhushan
2013-04-26 11:15               ` Alexander Graf
2013-05-02  9:46                 ` Bhushan Bharat-R65777
2013-05-02 11:05                   ` Alexander Graf
2013-05-02 14:00                     ` Bhushan Bharat-R65777
2013-05-02 14:04                       ` Alexander Graf
2013-05-03 10:48                     ` Bhushan Bharat-R65777
2013-05-03 11:08                       ` Alexander Graf
2013-05-03 12:29                         ` Alexander Graf
2013-05-03 13:11                           ` Bhushan Bharat-R65777
2013-05-03 13:18                             ` Alexander Graf
2013-05-06  5:51                               ` Bhushan Bharat-R65777
2013-04-09  8:28           ` [PATCH 5/7 v3] KVM: PPC: exit to user space on "ehpriv" instruction tiejun.chen
2013-04-26 10:45           ` Alexander Graf
2013-04-26 10:56             ` tiejun.chen
2013-04-09 22:37     ` [PATCH 2/7 v3] Rename EMULATE_DO_PAPR to EMULATE_EXIT_USER Paul Mackerras
2013-04-10 22:09       ` Alexander Graf
2013-04-26 13:37 ` [PATCH 0/7 v3] KVM :PPC: Userspace Debug support Alexander Graf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox