Re: [Qemu-devel] [PATCH] PPC: Fix large page support in TCG

2012-03-09 Thread Alexander Graf
On 09.03.2012, at 15:30, Nathan Whitehorn wrote: > On 03/09/12 07:13, Alexander Graf wrote: >> On 09.03.2012, at 04:42, David Gibson wrote: >> >>> On Thu, Mar 08, 2012 at 09:24:53AM -0600, Nathan Whitehorn wrote: On Mar 7, 2012, at 7:25 PM, David Gibson wrote: > On Sat, Mar 03, 20

Re: [Qemu-devel] [PATCH] PPC: Fix large page support in TCG

2012-03-09 Thread Nathan Whitehorn
On 03/09/12 07:13, Alexander Graf wrote: On 09.03.2012, at 04:42, David Gibson wrote: On Thu, Mar 08, 2012 at 09:24:53AM -0600, Nathan Whitehorn wrote: On Mar 7, 2012, at 7:25 PM, David Gibson wrote: On Sat, Mar 03, 2012 at 10:39:34AM -0600, Nathan Whitehorn wrote: Fix large page support in

Re: [Qemu-devel] [PATCH] PPC: Fix large page support in TCG

2012-03-09 Thread Alexander Graf
On 09.03.2012, at 04:42, David Gibson wrote: > On Thu, Mar 08, 2012 at 09:24:53AM -0600, Nathan Whitehorn wrote: >> >> On Mar 7, 2012, at 7:25 PM, David Gibson wrote: >> >>> On Sat, Mar 03, 2012 at 10:39:34AM -0600, Nathan Whitehorn wrote: Fix large page support in TCG. The old code would

Re: [Qemu-devel] [PATCH] PPC: Fix large page support in TCG

2012-03-08 Thread David Gibson
On Thu, Mar 08, 2012 at 09:24:53AM -0600, Nathan Whitehorn wrote: > > On Mar 7, 2012, at 7:25 PM, David Gibson wrote: > > >On Sat, Mar 03, 2012 at 10:39:34AM -0600, Nathan Whitehorn wrote: > >>Fix large page support in TCG. The old code would overwrite the > >>large page table entry with the fake

Re: [Qemu-devel] [PATCH] PPC: Fix large page support in TCG

2012-03-08 Thread Nathan Whitehorn
On Mar 7, 2012, at 7:25 PM, David Gibson wrote: On Sat, Mar 03, 2012 at 10:39:34AM -0600, Nathan Whitehorn wrote: Fix large page support in TCG. The old code would overwrite the large page table entry with the fake 4 KB one generated here whenever the ref/change bits were updated, causing it t

Re: [Qemu-devel] [PATCH] PPC: Fix large page support in TCG

2012-03-07 Thread David Gibson
On Sat, Mar 03, 2012 at 10:39:34AM -0600, Nathan Whitehorn wrote: > Fix large page support in TCG. The old code would overwrite the > large page table entry with the fake 4 KB > one generated here whenever the ref/change bits were updated, > causing it to point to the wrong area of memory. Instead

Re: [Qemu-devel] [PATCH] PPC: Fix large page support in TCG

2012-03-07 Thread Alexander Graf
On 03/03/2012 07:07 PM, Andreas Färber wrote: Am 03.03.2012 17:39, schrieb Nathan Whitehorn: Fix large page support in TCG. The old code would overwrite the large page table entry with the fake 4 KB one generated here whenever the ref/change bits were updated, causing it to point to the wrong ar

Re: [Qemu-devel] [PATCH] PPC: Fix large page support in TCG

2012-03-03 Thread Andreas Färber
Am 03.03.2012 17:39, schrieb Nathan Whitehorn: > Fix large page support in TCG. The old code would overwrite the large > page table entry with the fake 4 KB > one generated here whenever the ref/change bits were updated, causing it > to point to the wrong area of memory. Instead of creating a fake

[Qemu-devel] [PATCH] PPC: Fix large page support in TCG

2012-03-03 Thread Nathan Whitehorn
Fix large page support in TCG. The old code would overwrite the large page table entry with the fake 4 KB one generated here whenever the ref/change bits were updated, causing it to point to the wrong area of memory. Instead of creating a fake PTE, just update the real address at the end. Sign