Re: [PATCH 1/3 v6] kvm: powerpc: keep only pte search logic in lookup_linux_pte

2013-10-06 Thread Paul Mackerras
On Fri, Oct 04, 2013 at 08:25:31PM +0530, Bharat Bhushan wrote: lookup_linux_pte() was searching for a pte and also sets access flags is writable. This function now searches only pte while access flag setting is done explicitly. So in order to reduce some code duplication, you have added code

RE: [PATCH 1/3 v6] kvm: powerpc: keep only pte search logic in lookup_linux_pte

2013-10-06 Thread Bhushan Bharat-R65777
...@kernel.crashing.org; Bhushan Bharat-R65777 Subject: Re: [PATCH 1/3 v6] kvm: powerpc: keep only pte search logic in lookup_linux_pte On Fri, Oct 04, 2013 at 08:25:31PM +0530, Bharat Bhushan wrote: lookup_linux_pte() was searching for a pte and also sets access flags is writable

RE: [PATCH 1/3 v6] kvm: powerpc: keep only pte search logic in lookup_linux_pte

2013-10-06 Thread Bhushan Bharat-R65777
; b...@kernel.crashing.org; Bhushan Bharat-R65777 Subject: Re: [PATCH 1/3 v6] kvm: powerpc: keep only pte search logic in lookup_linux_pte On Fri, Oct 04, 2013 at 08:25:31PM +0530, Bharat Bhushan wrote: lookup_linux_pte() was searching for a pte and also sets access flags is writable

Re: [PATCH 1/3 v6] kvm: powerpc: keep only pte search logic in lookup_linux_pte

2013-10-04 Thread Alexander Graf
On 04.10.2013, at 16:55, Bharat Bhushan wrote: lookup_linux_pte() was searching for a pte and also sets access flags is writable. This function now searches only pte while access flag setting is done explicitly. This pte lookup is not kvm specific, so moved to common code (asm/pgtable.h)

RE: [PATCH 1/3 v6] kvm: powerpc: keep only pte search logic in lookup_linux_pte

2013-10-04 Thread Bhushan Bharat-R65777
v6] kvm: powerpc: keep only pte search logic in lookup_linux_pte On 04.10.2013, at 16:55, Bharat Bhushan wrote: lookup_linux_pte() was searching for a pte and also sets access flags is writable. This function now searches only pte while access flag setting is done explicitly

Re: [PATCH 1/3 v6] kvm: powerpc: keep only pte search logic in lookup_linux_pte

2013-10-04 Thread Alexander Graf
On 04.10.2013, at 16:55, Bharat Bhushan wrote: lookup_linux_pte() was searching for a pte and also sets access flags is writable. This function now searches only pte while access flag setting is done explicitly. This pte lookup is not kvm specific, so moved to common code (asm/pgtable.h)