Re: [PATCH 2/2] KVM: PPC: booke: Add watchdog emulation

2012-07-06 Thread Scott Wood
On 07/06/2012 08:17 AM, Alexander Graf wrote: > On 28.06.2012, at 08:17, Bharat Bhushan wrote: >> +/* >> + * The timer system can almost deal with LONG_MAX timeouts, except that >> + * when you get very close to LONG_MAX, the slack added can cause overflow. >> + * >> + * LONG_MAX/2 is a conservativ

Re: [Qemu-ppc] [RFC PATCH 12/17] PowerPC: booke64: Add DO_KVM kernel hooks

2012-07-06 Thread Alexander Graf
On 07.07.2012, at 00:33, Caraman Mihai Claudiu-B02008 wrote: >> -Original Message- >> From: Benjamin Herrenschmidt [mailto:b...@kernel.crashing.org] >> Sent: Thursday, July 05, 2012 1:26 AM >> To: Alexander Graf >> Cc: Caraman Mihai Claudiu-B02008; ; KVM list; >> linuxppc-dev; qemu-...@no

RE: [Qemu-ppc] [RFC PATCH 09/17] KVM: PPC64: booke: Hard disable interrupts when entering guest

2012-07-06 Thread Caraman Mihai Claudiu-B02008
> -Original Message- > From: Linuxppc-dev [mailto:linuxppc-dev- > bounces+mihai.caraman=freescale@lists.ozlabs.org] On Behalf Of > Benjamin Herrenschmidt > Sent: Thursday, July 05, 2012 1:21 AM > To: Alexander Graf > Cc: qemu-...@nongnu.org List; Caraman Mihai Claudiu-B02008; linuxppc-d

RE: [Qemu-ppc] [RFC PATCH 12/17] PowerPC: booke64: Add DO_KVM kernel hooks

2012-07-06 Thread Caraman Mihai Claudiu-B02008
> -Original Message- > From: Benjamin Herrenschmidt [mailto:b...@kernel.crashing.org] > Sent: Thursday, July 05, 2012 1:26 AM > To: Alexander Graf > Cc: Caraman Mihai Claudiu-B02008; ; KVM list; > linuxppc-dev; qemu-...@nongnu.org List > Subject: Re: [Qemu-ppc] [RFC PATCH 12/17] PowerPC: bo

RE: [PATCH] KVM: PPC: bookehv: Add ESR flag to Data Storage Interrupt

2012-07-06 Thread Caraman Mihai Claudiu-B02008
> From: Kun Wang [mailto:wang...@cn.ibm.com] > Sent: Friday, July 06, 2012 5:07 PM > To: Caraman Mihai Claudiu-B02008 > Cc: ag...@suse.de; k...@vger.kernel.org; kvm-ppc@vger.kernel.org; > kvm-ppc-ow...@vger.kernel.org > Subject: Re: [PATCH] KVM: PPC: bookehv: Add ESR flag to Data Storage Interrup

Re: [PATCH] msi/msix: added API to set MSI message address and data

2012-07-06 Thread Jan Kiszka
On 2012-07-06 17:36, Alexander Graf wrote: > > On 02.07.2012, at 09:24, Jan Kiszka wrote: > >> On 2012-07-02 06:28, Alexey Kardashevskiy wrote: >>> Ping? >>> >>> >>> On 22/06/12 11:15, Alexey Kardashevskiy wrote: Added (msi|msix)_set_message() function for whoever might want to use them

Re: [PATCH] msi/msix: added API to set MSI message address and data

2012-07-06 Thread Alexander Graf
On 02.07.2012, at 09:24, Jan Kiszka wrote: > On 2012-07-02 06:28, Alexey Kardashevskiy wrote: >> Ping? >> >> >> On 22/06/12 11:15, Alexey Kardashevskiy wrote: >>> Added (msi|msix)_set_message() function for whoever might >>> want to use them. >>> >>> Currently msi_notify()/msix_notify() write

Re: [RFC PATCH 08/17] KVM: PPC: e500mc: Fix tlbilx emulation for 64-bit guests

2012-07-06 Thread Alexander Graf
On 25.06.2012, at 14:26, Mihai Caraman wrote: > tlbilxva emulation was using an u32 variable for guest effective address. > Replace it with gva_t type to handle 64-bit guests. > > Signed-off-by: Mihai Caraman Thanks, applied to kvm-ppc-next. Alex -- To unsubscribe from this list: send the l

Re: [PATCH 1/2] KVM: PPC: Critical interrupt emulation support

2012-07-06 Thread Alexander Graf
On 28.06.2012, at 07:37, Bharat Bhushan wrote: > rfci instruction and CSRR0/1 registers are emulated. > > Signed-off-by: Scott Wood > Signed-off-by: Stuart Yoder > Signed-off-by: Bharat Bhushan Thanks, applied to kvm-ppc-next. Alex -- To unsubscribe from this list: send the line "unsubscr

Re: [PATCH 2/2] KVM: PPC: booke: Add watchdog emulation

2012-07-06 Thread Alexander Graf
On 28.06.2012, at 08:17, Bharat Bhushan wrote: > This patch adds the watchdog emulation in KVM. The watchdog > emulation is enabled by KVM_ENABLE_CAP(KVM_CAP_PPC_WDT) ioctl. > The kernel timer are used for watchdog emulation and emulates > h/w watchdog state machine. On watchdog timer expiry, it

Re: [Qemu-ppc] [RFC PATCH 04/17] KVM: PPC64: booke: Add guest computation mode for irq delivery

2012-07-06 Thread Alexander Graf
On 06.07.2012, at 01:51, Scott Wood wrote: > On 07/04/2012 08:40 AM, Alexander Graf wrote: >> On 25.06.2012, at 14:26, Mihai Caraman wrote: >>> @@ -381,7 +386,8 @@ static int kvmppc_booke_irqprio_deliver(struct kvm_vcpu >>> *vcpu, >>>set_guest_esr(vcpu, vcpu->arch.queued_esr); >>>