RE: [PATCH 2/2] kvm: ppc: booke: check range page invalidation progress on page setup

2013-10-10 Thread Bhushan Bharat-R65777
-Original Message- From: Paolo Bonzini [mailto:paolo.bonz...@gmail.com] On Behalf Of Paolo Bonzini Sent: Monday, October 07, 2013 5:35 PM To: Alexander Graf Cc: Bhushan Bharat-R65777; Paul Mackerras; Wood Scott-B07421; kvm- p...@vger.kernel.org; k...@vger.kernel.org mailing list;

Re: [PATCH 2/2] kvm: ppc: booke: check range page invalidation progress on page setup

2013-10-10 Thread Paolo Bonzini
Il 10/10/2013 10:32, Bhushan Bharat-R65777 ha scritto: -Original Message- From: Paolo Bonzini [mailto:paolo.bonz...@gmail.com] On Behalf Of Paolo Bonzini Sent: Monday, October 07, 2013 5:35 PM To: Alexander Graf Cc: Bhushan Bharat-R65777; Paul Mackerras; Wood Scott-B07421; kvm-

Re: [PATCH v2 3/3] KVM: PPC: Book3S: MMIO emulation support for little endian guests

2013-10-10 Thread Paul Mackerras
On Wed, Oct 09, 2013 at 10:29:53AM +0200, Alexander Graf wrote: Am 09.10.2013 um 07:59 schrieb Paul Mackerras pau...@samba.org: On Wed, Oct 09, 2013 at 01:46:29AM +0200, Alexander Graf wrote: Am 09.10.2013 um 01:31 schrieb Paul Mackerras pau...@samba.org: True, until we get

Re: [PATCH 3/4] kvm: powerpc: define a linux pte lookup function

2013-10-10 Thread Paul Mackerras
On Tue, Oct 08, 2013 at 11:33:31AM +0530, Bharat Bhushan wrote: We need to search linux pte to get pte attributes for setting TLB in KVM. This patch defines a linux_pte_lookup() function for same. [snip] + /* wait until _PAGE_BUSY is clear */ + while (1) { + pte =

Re: [PATCH 3/4] kvm: powerpc: define a linux pte lookup function

2013-10-10 Thread Paul Mackerras
On Wed, Oct 09, 2013 at 12:47:31PM -0500, Scott Wood wrote: On Wed, 2013-10-09 at 03:48 -0500, Bhushan Bharat-R65777 wrote: What lookup_linux_pte_and_update() does:- - find_linux_pte_or_hugepte() - does size and some other trivial checks - Then atomically update the pte:- =

RE: [PATCH 3/4] kvm: powerpc: define a linux pte lookup function

2013-10-10 Thread Bhushan Bharat-R65777
-Original Message- From: Paul Mackerras [mailto:pau...@samba.org] Sent: Thursday, October 10, 2013 4:06 PM To: Wood Scott-B07421 Cc: Bhushan Bharat-R65777; Wood Scott-B07421; ag...@suse.de; Yoder Stuart- B08248; k...@vger.kernel.org; kvm-ppc@vger.kernel.org Subject: Re: [PATCH

Re: [PATCH 3/4] kvm: powerpc: define a linux pte lookup function

2013-10-10 Thread Paul Mackerras
On Thu, Oct 10, 2013 at 10:44:54AM +, Bhushan Bharat-R65777 wrote: -Original Message- From: Paul Mackerras [mailto:pau...@samba.org] Sent: Thursday, October 10, 2013 4:06 PM To: Wood Scott-B07421 Cc: Bhushan Bharat-R65777; Wood Scott-B07421; ag...@suse.de; Yoder Stuart-