All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/5 v5] ppc: Add debug stub support
@ 2014-06-26  7:23 Bharat Bhushan
  2014-06-26  7:23 ` [Qemu-devel] [PATCH 5/5 v5] ppc: Add hw breakpoint watchpoint support Bharat Bhushan
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Bharat Bhushan @ 2014-06-26  7:23 UTC (permalink / raw)
  To: agraf; +Cc: Bharat Bhushan, maddy, qemu-ppc, qemu-devel

This patchset add support for
 - software breakpoint
 - h/w breakpoint
 - h/w watchpoint

Please find description in individual patch.

v4->v5
 - cleanup in kvmppc_hw_debug_points_init()
 - replaced assert in kvm_arch_insert_hw_breakpoint() with return.
   This allows gdb to through warning "You may have requested too many
   hardware breakpoints/watchpoints.". Now user can remove extra breakpint
   and continue.

v3->v4
 - remove hardcoding for size of instruction in software breakpoint
 - remove unnecessary assert in debug handler
 - Corrected assert comparison in insert_breakpoint()

v2->v3
 - Sharing of code for book3s support (which may come in future)
 - Initializing number of hw breakpoint/watchpoints from KVM world
 - Other minor cleanup/fixes

v1->v2:
 - use kvm_get_one_reg() for getting trap instruction
 - factored out e500 specific code based on exception model POWERPC_EXCP_BOOKE.
 - Not supporting ppc440


Bharat Bhushan (5):
  ppc: debug stub: Get trap instruction opcode from KVM
  ppc: Add interface to inject interrupt to guest
  ppc: Add debug interrupt injection handler
  ppc: Add software breakpoint support
  ppc: Add hw breakpoint watchpoint support

 target-ppc/kvm.c | 384 +++++++++++++++++++++++++++++++++++++++++++++++++++----
 1 file changed, 356 insertions(+), 28 deletions(-)

-- 
1.9.0

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

end of thread, other threads:[~2014-06-27 17:23 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-26  7:23 [Qemu-devel] [PATCH 0/5 v5] ppc: Add debug stub support Bharat Bhushan
2014-06-26  7:23 ` [Qemu-devel] [PATCH 5/5 v5] ppc: Add hw breakpoint watchpoint support Bharat Bhushan
2014-06-26 10:21   ` Alexander Graf
2014-06-27  5:51     ` Bharat.Bhushan
2014-06-27 16:27       ` Alexander Graf
2014-06-27 17:22         ` Bharat.Bhushan
2014-06-26  7:23 ` [Qemu-devel] [PATCH 4/5 v5] ppc: Add software breakpoint support Bharat Bhushan
2014-06-26  7:23 ` [Qemu-devel] [PATCH 3/5 v5] ppc: Add debug interrupt injection handler Bharat Bhushan
2014-06-26  7:23 ` [Qemu-devel] [PATCH 2/5 v5] ppc: Add interface to inject interrupt to guest Bharat Bhushan
2014-06-26  7:23 ` [Qemu-devel] [PATCH 1/5 v5] ppc: debug stub: Get trap instruction opcode from KVM Bharat Bhushan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.