Re: [PATCH] target-ppc: Update slb array with correct index values.

2013-08-22 Thread Aneesh Kumar K.V
Alexander Graf ag...@suse.de writes: Am 21.08.2013 um 16:59 schrieb Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com: Alexander Graf ag...@suse.de writes: On HV KVM yes, that would be the end of the list, but PR KVM could give you entry 0 containing esid==0 and vsid==0

Re: [PATCH] target-ppc: Update slb array with correct index values.

2013-08-22 Thread Alexander Graf
On 22.08.2013, at 14:20, Aneesh Kumar K.V wrote: Alexander Graf ag...@suse.de writes: Am 21.08.2013 um 16:59 schrieb Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com: Alexander Graf ag...@suse.de writes: On HV KVM yes, that would be the end of the list, but PR KVM could

Re: [PATCH] target-ppc: Update slb array with correct index values.

2013-08-21 Thread Paul Mackerras
On Mon, Aug 19, 2013 at 10:21:09AM +0200, Alexander Graf wrote: On 19.08.2013, at 09:25, Aneesh Kumar K.V wrote: I noticed this when adding support for guest memory dumping via qemu gdb server. Now the array we get would look like below slbe0 slbv0 slbe1 slbv1 0

Re: [PATCH] target-ppc: Update slb array with correct index values.

2013-08-21 Thread Aneesh Kumar K.V
Alexander Graf ag...@suse.de writes: On 20.08.2013, at 14:57, Aneesh Kumar K.V wrote: Alexander Graf ag...@suse.de writes: On 19.08.2013, at 09:25, Aneesh Kumar K.V wrote: Alexander Graf ag...@suse.de writes: On 11.08.2013, at 20:16, Aneesh Kumar K.V wrote: From: Aneesh Kumar K.V

Re: [PATCH] target-ppc: Update slb array with correct index values.

2013-08-21 Thread Paul Mackerras
On Wed, Aug 21, 2013 at 08:37:47AM +0100, Alexander Graf wrote: On 21.08.2013, at 06:11, Paul Mackerras wrote: On Mon, Aug 19, 2013 at 10:21:09AM +0200, Alexander Graf wrote: On 19.08.2013, at 09:25, Aneesh Kumar K.V wrote: I noticed this when adding support for guest memory dumping

Re: [PATCH] target-ppc: Update slb array with correct index values.

2013-08-21 Thread Aneesh Kumar K.V
Alexander Graf ag...@suse.de writes: On HV KVM yes, that would be the end of the list, but PR KVM could give you entry 0 containing esid==0 and vsid==0 followed by valid entries. Perhaps the best approach is to ignore any entries with SLB_ESID_V clear. That means we don't clear

Re: [PATCH] target-ppc: Update slb array with correct index values.

2013-08-21 Thread Alexander Graf
Am 21.08.2013 um 16:59 schrieb Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com: Alexander Graf ag...@suse.de writes: On HV KVM yes, that would be the end of the list, but PR KVM could give you entry 0 containing esid==0 and vsid==0 followed by valid entries. Perhaps the

Re: [PATCH] target-ppc: Update slb array with correct index values.

2013-08-19 Thread Aneesh Kumar K.V
Alexander Graf ag...@suse.de writes: On 11.08.2013, at 20:16, Aneesh Kumar K.V wrote: From: Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com Without this, a value of rb=0 and rs=0, result in us replacing the 0th index Signed-off-by: Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com

[PATCH] target-ppc: Update slb array with correct index values.

2013-08-11 Thread Aneesh Kumar K.V
From: Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com Without this, a value of rb=0 and rs=0, result in us replacing the 0th index Signed-off-by: Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com --- target-ppc/kvm.c | 14 -- 1 file changed, 12 insertions(+), 2 deletions(-) diff