Re: [PATCH 6/6] KVM: PPC: BOOKE: Emulate debug registers and exception

2014-08-01 Thread Scott Wood
On Fri, 2014-08-01 at 04:34 -0500, Bhushan Bharat-R65777 wrote: > on dbsr write emulation, deque the debug interrupt even if DBSR_IDE is set. > > case SPRN_DBSR: > > vcpu->arch.dbsr &= ~spr_val; > if (!(vcpu->arch.dbsr & ~DBSR_IDE)) >

RE: [PATCH 6/6] KVM: PPC: BOOKE: Emulate debug registers and exception

2014-08-01 Thread bharat.bhus...@freescale.com
; Cc: ag...@suse.de; kvm-...@vger.kernel.org; kvm@vger.kernel.org; Yoder > Stuart- > > > B08248 > > > Subject: Re: [PATCH 6/6] KVM: PPC: BOOKE: Emulate debug registers and > exception > > > > > > On Wed, 2014-07-30 at 01:43 -0500, Bhushan Bharat-R65777 wrote:

Re: [PATCH 6/6] KVM: PPC: BOOKE: Emulate debug registers and exception

2014-07-31 Thread Scott Wood
rg; Yoder > > Stuart- > > B08248 > > Subject: Re: [PATCH 6/6] KVM: PPC: BOOKE: Emulate debug registers and > > exception > > > > On Wed, 2014-07-30 at 01:43 -0500, Bhushan Bharat-R65777 wrote: > > > > > > > -Original Message- > &

RE: [PATCH 6/6] KVM: PPC: BOOKE: Emulate debug registers and exception

2014-07-30 Thread bharat.bhus...@freescale.com
> Cc: ag...@suse.de; kvm-...@vger.kernel.org; kvm@vger.kernel.org; > > > Yoder Stuart- > > > B08248 > > > Subject: Re: [PATCH 6/6] KVM: PPC: BOOKE: Emulate debug registers > > > and exception > > > > > > Userspace might be interested in > >

Re: [PATCH 6/6] KVM: PPC: BOOKE: Emulate debug registers and exception

2014-07-30 Thread Scott Wood
rg; Yoder > > Stuart- > > B08248 > > Subject: Re: [PATCH 6/6] KVM: PPC: BOOKE: Emulate debug registers and > > exception > > > > Userspace might be interested in > > the raw value, > > With the current design, If userspace is interested then it will

RE: [PATCH 6/6] KVM: PPC: BOOKE: Emulate debug registers and exception

2014-07-29 Thread bharat.bhus...@freescale.com
> -Original Message- > From: Alexander Graf [mailto:ag...@suse.de] > Sent: Monday, July 28, 2014 7:35 PM > To: Bhushan Bharat-R65777; kvm-...@vger.kernel.org > Cc: kvm@vger.kernel.org; Wood Scott-B07421; Yoder Stuart-B08248 > Subject: Re: [PATCH 6/6] KVM: PPC: BO

RE: [PATCH 6/6] KVM: PPC: BOOKE: Emulate debug registers and exception

2014-07-29 Thread bharat.bhus...@freescale.com
> -Original Message- > From: Wood Scott-B07421 > Sent: Tuesday, July 29, 2014 3:58 AM > To: Bhushan Bharat-R65777 > Cc: ag...@suse.de; kvm-...@vger.kernel.org; kvm@vger.kernel.org; Yoder Stuart- > B08248 > Subject: Re: [PATCH 6/6] KVM: PPC: BOOKE: Emulate debug regis

Re: [PATCH 6/6] KVM: PPC: BOOKE: Emulate debug registers and exception

2014-07-29 Thread Alexander Graf
er.kernel.org; kvm@vger.kernel.org; >> Yoder >> Stuart-B08248 >> Subject: Re: [PATCH 6/6] KVM: PPC: BOOKE: Emulate debug registers and >> exception >> >>> On Tue, 2014-07-29 at 16:06 +0200, Alexander Graf wrote: >>>> On 29.07.14 00:33, Scott W

RE: [PATCH 6/6] KVM: PPC: BOOKE: Emulate debug registers and exception

2014-07-29 Thread bharat.bhus...@freescale.com
> -Original Message- > From: Wood Scott-B07421 > Sent: Tuesday, July 29, 2014 11:20 PM > To: Alexander Graf > Cc: Bhushan Bharat-R65777; kvm-...@vger.kernel.org; kvm@vger.kernel.org; Yoder > Stuart-B08248 > Subject: Re: [PATCH 6/6] KVM: PPC: BOOKE: Emulat

Re: [PATCH 6/6] KVM: PPC: BOOKE: Emulate debug registers and exception

2014-07-29 Thread Alexander Graf
> Am 29.07.2014 um 19:50 schrieb Scott Wood : > >> On Tue, 2014-07-29 at 16:06 +0200, Alexander Graf wrote: >>> On 29.07.14 00:33, Scott Wood wrote: On Mon, 2014-07-28 at 16:04 +0200, Alexander Graf wrote: > On 11.07.14 10:39, Bharat Bhushan wrote: > This patch emulates debug regist

Re: [PATCH 6/6] KVM: PPC: BOOKE: Emulate debug registers and exception

2014-07-29 Thread Scott Wood
On Tue, 2014-07-29 at 16:06 +0200, Alexander Graf wrote: > On 29.07.14 00:33, Scott Wood wrote: > > On Mon, 2014-07-28 at 16:04 +0200, Alexander Graf wrote: > >> On 11.07.14 10:39, Bharat Bhushan wrote: > >>> This patch emulates debug registers and debug exception > >>> to support guest using debug

Re: [PATCH 6/6] KVM: PPC: BOOKE: Emulate debug registers and exception

2014-07-29 Thread Alexander Graf
On 29.07.14 00:33, Scott Wood wrote: On Mon, 2014-07-28 at 16:04 +0200, Alexander Graf wrote: On 11.07.14 10:39, Bharat Bhushan wrote: This patch emulates debug registers and debug exception to support guest using debug resource. This enables running gdb/kgdb etc in guest. On BOOKE architectu

Re: [PATCH 6/6] KVM: PPC: BOOKE: Emulate debug registers and exception

2014-07-28 Thread Scott Wood
On Mon, 2014-07-28 at 16:04 +0200, Alexander Graf wrote: > On 11.07.14 10:39, Bharat Bhushan wrote: > > This patch emulates debug registers and debug exception > > to support guest using debug resource. This enables running > > gdb/kgdb etc in guest. > > > > On BOOKE architecture we cannot share de

Re: [PATCH 6/6] KVM: PPC: BOOKE: Emulate debug registers and exception

2014-07-28 Thread Scott Wood
On Fri, 2014-07-11 at 14:09 +0530, Bharat Bhushan wrote: > This patch emulates debug registers and debug exception > to support guest using debug resource. This enables running > gdb/kgdb etc in guest. > > On BOOKE architecture we cannot share debug resources between QEMU and > guest because: >

Re: [PATCH 6/6] KVM: PPC: BOOKE: Emulate debug registers and exception

2014-07-28 Thread Alexander Graf
On 11.07.14 10:39, Bharat Bhushan wrote: This patch emulates debug registers and debug exception to support guest using debug resource. This enables running gdb/kgdb etc in guest. On BOOKE architecture we cannot share debug resources between QEMU and guest because: When QEMU is using debug

[PATCH 6/6] KVM: PPC: BOOKE: Emulate debug registers and exception

2014-07-11 Thread Bharat Bhushan
This patch emulates debug registers and debug exception to support guest using debug resource. This enables running gdb/kgdb etc in guest. On BOOKE architecture we cannot share debug resources between QEMU and guest because: When QEMU is using debug resources then debug exception must be a