Re: [Qemu-devel] [Qemu-ppc] [PATCH v3 4/4] PPC: e500 pci host: Add support for ATMUs

2014-11-13 Thread bharat.bhus...@freescale.com
-Original Message- From: qemu-ppc-bounces+bharat.bhushan=freescale@nongnu.org [mailto:qemu-ppc- bounces+bharat.bhushan=freescale@nongnu.org] On Behalf Of Alexander Graf Sent: Thursday, November 13, 2014 3:27 AM To: qemu-...@nongnu.org Cc: Yoder Stuart-B08248;

Re: [Qemu-devel] [PATCH v5 07/10] hw/vfio/platform: add vfio-platform support

2014-08-12 Thread bharat.bhus...@freescale.com
-Original Message- From: Alexander Graf [mailto:ag...@suse.de] Sent: Monday, August 11, 2014 3:06 PM To: Eric Auger; eric.au...@st.com; christoffer.d...@linaro.org; qemu- de...@nongnu.org; Phillips Kim-R1AAHA; a.r...@virtualopensystems.com Cc: will.dea...@arm.com;

Re: [Qemu-devel] [PATCH 5/5 v5] ppc: Add hw breakpoint watchpoint support

2014-06-27 Thread bharat.bhus...@freescale.com
+ +static void kvm_e500_handle_debug(CPUState *cs, int handle) { +PowerPCCPU *cpu = POWERPC_CPU(cs); +CPUPPCState *env = cpu-env; + +env-spr[SPR_BOOKE_DBSR] = 0; How would KVM ever know that DBSR is now 0? Yes, guest will not come to know of this 0 value. I was wrong,

Re: [Qemu-devel] [PATCH 5/5 v5] ppc: Add hw breakpoint watchpoint support

2014-06-26 Thread bharat.bhus...@freescale.com
On 26.06.14 09:23, Bharat Bhushan wrote: This patch adds hardware breakpoint and hardware watchpoint support for ppc. If the debug interrupt is not handled then this is injected to guest. Signed-off-by: Bharat Bhushan bharat.bhus...@freescale.com --- v4-v5 - cleanup

Re: [Qemu-devel] [PATCH 3/3 v2] ppc debug: Add debug stub support

2014-06-24 Thread bharat.bhus...@freescale.com
...@freescale.com wrote: -Original Message- From: Alexander Graf [mailto:ag...@suse.de] Sent: Tuesday, June 17, 2014 4:14 PM To: Bhushan Bharat-R65777; qemu-...@nongnu.org; qemu-devel@nongnu.org Subject: Re: [PATCH 3/3 v2] ppc debug: Add debug stub support On 17.06.14 12:40, bharat.bhus

Re: [Qemu-devel] [PATCH 4/5 v3][RESEND] ppc: Add software breakpoint support

2014-06-24 Thread bharat.bhus...@freescale.com
On 24.06.14 14:10, Bharat Bhushan wrote: This patch allow insert/remove software breakpoint Signed-off-by: Bharat Bhushan bharat.bhus...@freescale.com --- target-ppc/kvm.c | 71 +- -- 1 file changed, 57 insertions(+), 14 deletions

Re: [Qemu-devel] [PATCH 5/5 v3][RESEND] ppc: Add hw breakpoint watchpoint support

2014-06-24 Thread bharat.bhus...@freescale.com
On 24.06.14 14:10, Bharat Bhushan wrote: This patch adds hardware breakpoint and hardware watchpoint support for ppc. If the debug interrupt is not handled then this is injected to guest. Signed-off-by: Bharat Bhushan bharat.bhus...@freescale.com --- v2-v3 - Shared as much code

Re: [Qemu-devel] [PATCH 5/5 v3][RESEND] ppc: Add hw breakpoint watchpoint support

2014-06-24 Thread bharat.bhus...@freescale.com
On 24.06.14 16:37, bharat.bhus...@freescale.com wrote: -Original Message- From: Alexander Graf [mailto:ag...@suse.de] Sent: Tuesday, June 24, 2014 6:50 PM To: Bhushan Bharat-R65777 Cc: qemu-...@nongnu.org; qemu-devel@nongnu.org; ma...@linux.vnet.ibm.com Subject: Re: [PATCH 5

Re: [Qemu-devel] [PATCH 4/5 v3][RESEND] ppc: Add software breakpoint support

2014-06-24 Thread bharat.bhus...@freescale.com
On Tuesday 24 June 2014 05:40 PM, Bharat Bhushan wrote: This patch allow insert/remove software breakpoint Signed-off-by: Bharat Bhushan bharat.bhus...@freescale.com --- target-ppc/kvm.c | 71 +--- 1 file changed, 57 insertions(+), 14

Re: [Qemu-devel] [PATCH 3/3 v2] ppc debug: Add debug stub support

2014-06-17 Thread bharat.bhus...@freescale.com
: This patch adds software breakpoint, hardware breakpoint and hardware watchpoint support for ppc. If the debug interrupt is not handled then this is injected to guest. Signed-off-by: Bharat Bhushan bharat.bhus...@freescale.com --- v1-v2: - factored out e500 specific code based

Re: [Qemu-devel] [PATCH 3/3 v2] ppc debug: Add debug stub support

2014-06-17 Thread bharat.bhus...@freescale.com
wrote: This patch adds software breakpoint, hardware breakpoint and hardware watchpoint support for ppc. If the debug interrupt is not handled then this is injected to guest. Signed-off-by: Bharat Bhushan bharat.bhus...@freescale.com --- v1-v2: - factored out e500 specific code

Re: [Qemu-devel] [PATCH 3/3 v2] ppc debug: Add debug stub support

2014-06-17 Thread bharat.bhus...@freescale.com
-Original Message- From: Alexander Graf [mailto:ag...@suse.de] Sent: Tuesday, June 17, 2014 4:33 PM To: Bhushan Bharat-R65777; qemu-...@nongnu.org; qemu-devel@nongnu.org Subject: Re: [PATCH 3/3 v2] ppc debug: Add debug stub support On 17.06.14 13:01, bharat.bhus

Re: [Qemu-devel] [PATCH 3/3 v2] ppc debug: Add debug stub support

2014-06-17 Thread bharat.bhus...@freescale.com
+static void kvm_arch_e500_update_guest_debug(CPUState *cs, + struct +kvm_guest_debug +*dbg) { +int n; + +if (nb_hw_breakpoint + nb_hw_watchpoint 0) { +dbg-control |= KVM_GUESTDBG_ENABLE | KVM_GUESTDBG_USE_HW_BP; +

Re: [Qemu-devel] [PATCH 3/3 v2] ppc debug: Add debug stub support

2014-06-17 Thread bharat.bhus...@freescale.com
...@freescale.com wrote: -Original Message- From: Alexander Graf [mailto:ag...@suse.de] Sent: Tuesday, June 17, 2014 3:20 PM To: Bhushan Bharat-R65777; qemu-...@nongnu.org; qemu-devel@nongnu.org Subject: Re: [PATCH 3/3 v2] ppc debug: Add debug stub support On 17.06.14 11:14, bharat.bhus

Re: [Qemu-devel] [Qemu-ppc] [PATCH] qemu/target-ppc: software breakpoint support

2014-06-16 Thread bharat.bhus...@freescale.com
-Original Message- From: qemu-ppc-bounces+bharat.bhushan=freescale@nongnu.org [mailto:qemu-ppc- bounces+bharat.bhushan=freescale@nongnu.org] On Behalf Of Madhavan Srinivasan Sent: Sunday, June 15, 2014 2:38 AM To: ag...@suse.de; pau...@samba.org Cc: Madhavan Srinivasan;

Re: [Qemu-devel] [PATCH 3/3] ppc debug: Add debug stub support

2014-06-15 Thread bharat.bhus...@freescale.com
Bhushan wrote: This patch adds software breakpoint, hardware breakpoint and hardware watchpoint support for ppc. If the debug interrupt is not handled then this is injected to guest. Signed-off-by: Bharat Bhushan bharat.bhus...@freescale.com --- hw/ppc/e500.c| 1

Re: [Qemu-devel] [PATCH 4/5] PPC: e500: Support platform devices

2014-06-13 Thread bharat.bhus...@freescale.com
-Original Message- From: qemu-devel-bounces+bharat.bhushan=freescale@nongnu.org [mailto:qemu- devel-bounces+bharat.bhushan=freescale@nongnu.org] On Behalf Of Alexander Graf Sent: Wednesday, June 04, 2014 5:59 PM To: qemu-...@nongnu.org Cc: qemu-devel@nongnu.org;

Re: [Qemu-devel] [PATCH 3/3] ppc debug: Add debug stub support

2014-06-12 Thread bharat.bhus...@freescale.com
: This patch adds software breakpoint, hardware breakpoint and hardware watchpoint support for ppc. If the debug interrupt is not handled then this is injected to guest. Signed-off-by: Bharat Bhushan bharat.bhus...@freescale.com --- hw/ppc/e500.c| 1 + target-ppc/kvm.c

Re: [Qemu-devel] [PATCH 2/2] ppc-e500: implement PCI INTx routing

2013-12-20 Thread bharat.bhus...@freescale.com
without this patch we gets below warning PCI: Bug - unimplemented PCI INTx routing (e500-pcihost) qemu-system-ppc64: PCI: Bug - unimplemented PCI INTx routing (e500-pcihost) and Legacy interrupt does not work with pci device passthrough. Signed-off-by: Bharat Bhushan bharat.bhus

Re: [Qemu-devel] [PATCH 1/2] ppc-e500: some pci related cleanup

2013-12-19 Thread bharat.bhus...@freescale.com
, at 07:35, Bharat Bhushan r65...@freescale.com wrote: - Use PCI_NUM_PINS rather than hardcoding - use pin wherever possible I assume you mean the PCI A/B/C/D pin with pin. Yes Signed-off-by: Bharat Bhushan bharat.bhus...@freescale.com --- hw/pci-host/ppce500.c | 14

Re: [Qemu-devel] [PATCH 2/2] ppc-e500: implement PCI INTx routing

2013-12-19 Thread bharat.bhus...@freescale.com
, 2013 at 03:39:58PM +, bharat.bhus...@freescale.com wrote: -Original Message- From: Michael S. Tsirkin [mailto:m...@redhat.com] Sent: Thursday, December 19, 2013 3:55 AM To: Alexander Graf Cc: Bhushan Bharat-R65777; Wood Scott-B07421; QEMU Developers; qemu-ppc

Re: [Qemu-devel] [PATCH 2/2] ppc-e500: implement PCI INTx routing

2013-12-19 Thread bharat.bhus...@freescale.com
(e500-pcihost) qemu-system-ppc64: PCI: Bug - unimplemented PCI INTx routing (e500-pcihost) Signed-off-by: Bharat Bhushan bharat.bhus...@freescale.com --- hw/pci-host/ppce500.c | 20 ++-- 1 files changed, 18 insertions(+), 2 deletions(-) diff --git a/hw

Re: [Qemu-devel] [PATCH 2/2] ppc-e500: implement PCI INTx routing

2013-12-19 Thread bharat.bhus...@freescale.com
, 2013 at 05:28:17PM +0100, Alexander Graf wrote: On 19.12.2013, at 16:39, bharat.bhus...@freescale.com wrote: -Original Message- From: Michael S. Tsirkin [mailto:m...@redhat.com] Sent: Thursday, December 19, 2013 3:55 AM To: Alexander Graf Cc: Bhushan Bharat-R65777