Re: [PATCH 3/5] KVM: PPC: Book3S HV: Handle memory slot deletion and modification correctly

2012-08-10 Thread Paul Mackerras
On Fri, Aug 10, 2012 at 03:35:53PM -0300, Marcelo Tosatti wrote: > There's no plan. I just wanted to confirm this before converting > to per-memslot flush. > > 1) __kvm_set_memory_region line 807: > > * - gfn_to_hva (kvm_read_guest, gfn_to_pfn) > * - k

[PATCH] powerpc/epapr: export epapr_hypercall_start

2012-08-10 Thread Scott Wood
This fixes breakage introduced by the following commit: commit 6d2d82627f4f1e96a33664ace494fa363e0495cb Author: Liu Yu-B13201 Date: Tue Jul 3 05:48:56 2012 + PPC: Don't use hardcoded opcode for ePAPR hcall invocation when a driver that uses ePAPR hypercalls is built as a module.

Re: [PATCH 3/5] KVM: PPC: Book3S HV: Handle memory slot deletion and modification correctly

2012-08-10 Thread Marcelo Tosatti
On Fri, Aug 10, 2012 at 11:09:09AM +0900, Takuya Yoshikawa wrote: > On Thu, 9 Aug 2012 22:25:32 -0300 > Marcelo Tosatti wrote: > > > I'll send a patch to flush per memslot in the next days, you can work > > out the PPC details in the meantime. Not anymore. > Are you going to implement that usin

RE: [PATCH 2/3] KVM: PPC: booke: Allow multiple exception types

2012-08-10 Thread Bhushan Bharat-R65777
> -Original Message- > From: Alexander Graf [mailto:ag...@suse.de] > Sent: Friday, August 10, 2012 4:27 PM > To: Bhushan Bharat-R65777 > Cc: kvm-ppc@vger.kernel.org; k...@vger.kernel.org > Subject: Re: [PATCH 2/3] KVM: PPC: booke: Allow multiple exception types > > > On 10.08.2012, at 1

Re: [PATCH 2/3] KVM: PPC: booke: Allow multiple exception types

2012-08-10 Thread Alexander Graf
On 10.08.2012, at 12:41, Bhushan Bharat-R65777 wrote: > > >> -Original Message- >> From: kvm-ow...@vger.kernel.org [mailto:kvm-ow...@vger.kernel.org] On Behalf >> Of >> Alexander Graf >> Sent: Friday, August 10, 2012 2:49 PM >> To: Bhushan Bharat-R65777 >> Cc: kvm-ppc@vger.kernel.org;

RE: [PATCH 2/3] KVM: PPC: booke: Allow multiple exception types

2012-08-10 Thread Bhushan Bharat-R65777
> -Original Message- > From: kvm-ow...@vger.kernel.org [mailto:kvm-ow...@vger.kernel.org] On Behalf > Of > Alexander Graf > Sent: Friday, August 10, 2012 2:49 PM > To: Bhushan Bharat-R65777 > Cc: kvm-ppc@vger.kernel.org; k...@vger.kernel.org > Subject: Re: [PATCH 2/3] KVM: PPC: booke: Al

Re: [RFC PATCH 5/5] KVM: PPC: Take the SRCU lock around memslot use

2012-08-10 Thread Alexander Graf
On 10.08.2012, at 02:37, Paul Mackerras wrote: > On Thu, Aug 09, 2012 at 03:27:17PM -0300, Marcelo Tosatti wrote: >> On Mon, Aug 06, 2012 at 08:08:16PM +1000, Paul Mackerras wrote: >>> The generic KVM code uses SRCU (sleeping RCU) to protect accesses >>> to the memslots data structures against up

Re: [PATCH 0/5] Improve memory slot handling and other fixes

2012-08-10 Thread Alexander Graf
On 06.08.2012, at 12:02, Paul Mackerras wrote: > This series of 5 patches starts off with two fixes that I have posted > previously but not got any response to, and then has 3 patches to > improve our handling of memory slots on PPC. The first of those 3 > makes HV-style KVM able to handle delet

Re: [PATCH 3/3] KVM: PPC: booke: Added debug handler

2012-08-10 Thread Alexander Graf
On 10.08.2012, at 08:55, Bhushan Bharat-R65777 wrote: > > >> -Original Message- >> From: kvm-ppc-ow...@vger.kernel.org [mailto:kvm-ppc-ow...@vger.kernel.org] On >> Behalf Of Alexander Graf >> Sent: Wednesday, August 08, 2012 4:41 PM >> To: Bhushan Bharat-R65777 >> Cc: Wood Scott-B07421;

Re: [PATCH 2/3] KVM: PPC: booke: Allow multiple exception types

2012-08-10 Thread Alexander Graf
On 10.08.2012, at 08:38, Bhushan Bharat-R65777 wrote: > > >> -Original Message- >> From: kvm-ppc-ow...@vger.kernel.org [mailto:kvm-ppc-ow...@vger.kernel.org] On >> Behalf Of Alexander Graf >> Sent: Tuesday, August 07, 2012 4:16 PM >> To: Bhushan Bharat-R65777 >> Cc: kvm-ppc@vger.kernel.