Re: [Qemu-devel] [RFC PATCH 11/17] target/ppc/POWER9: Update to new pte format for POWER9 accesses

2017-02-09 Thread David Gibson
On Fri, Feb 10, 2017 at 12:05:38PM +1100, Suraj Jitindar Singh wrote: > On Fri, 2017-02-10 at 11:21 +1100, David Gibson wrote: > > On Fri, Feb 10, 2017 at 10:47:15AM +1100, Suraj Jitindar Singh wrote: > > > > > > On Thu, 2017-02-09 at 14:08 +1100, Suraj Jitindar Singh wrote: > > > > > > > > On We

Re: [Qemu-devel] [RFC PATCH 11/17] target/ppc/POWER9: Update to new pte format for POWER9 accesses

2017-02-09 Thread Suraj Jitindar Singh
On Fri, 2017-02-10 at 11:21 +1100, David Gibson wrote: > On Fri, Feb 10, 2017 at 10:47:15AM +1100, Suraj Jitindar Singh wrote: > > > > On Thu, 2017-02-09 at 14:08 +1100, Suraj Jitindar Singh wrote: > > > > > > On Wed, 2017-02-01 at 15:28 +1100, David Gibson wrote: > > > > > > > > > > > > On Fri

Re: [Qemu-devel] [RFC PATCH 11/17] target/ppc/POWER9: Update to new pte format for POWER9 accesses

2017-02-09 Thread David Gibson
On Fri, Feb 10, 2017 at 10:47:15AM +1100, Suraj Jitindar Singh wrote: > On Thu, 2017-02-09 at 14:08 +1100, Suraj Jitindar Singh wrote: > > On Wed, 2017-02-01 at 15:28 +1100, David Gibson wrote: > > > > > > On Fri, Jan 13, 2017 at 05:28:17PM +1100, Suraj Jitindar Singh > > > wrote: > > > > > > > >

Re: [Qemu-devel] [RFC PATCH 11/17] target/ppc/POWER9: Update to new pte format for POWER9 accesses

2017-02-09 Thread Suraj Jitindar Singh
On Thu, 2017-02-09 at 14:08 +1100, Suraj Jitindar Singh wrote: > On Wed, 2017-02-01 at 15:28 +1100, David Gibson wrote: > > > > On Fri, Jan 13, 2017 at 05:28:17PM +1100, Suraj Jitindar Singh > > wrote: > > > > > > > > > The page table entry format was updated for the POWER9 processor. > > > > >

Re: [Qemu-devel] [RFC PATCH 11/17] target/ppc/POWER9: Update to new pte format for POWER9 accesses

2017-02-08 Thread Suraj Jitindar Singh
On Wed, 2017-02-01 at 15:28 +1100, David Gibson wrote: > On Fri, Jan 13, 2017 at 05:28:17PM +1100, Suraj Jitindar Singh wrote: > > > > The page table entry format was updated for the POWER9 processor. > > > > It was decided that kernels would used the old format irrespective > > with the translat

Re: [Qemu-devel] [RFC PATCH 11/17] target/ppc/POWER9: Update to new pte format for POWER9 accesses

2017-01-31 Thread David Gibson
On Fri, Jan 13, 2017 at 05:28:17PM +1100, Suraj Jitindar Singh wrote: > The page table entry format was updated for the POWER9 processor. > > It was decided that kernels would used the old format irrespective > with the translation occuring at the hypervisor level. Thus we convert > between the ol

[Qemu-devel] [RFC PATCH 11/17] target/ppc/POWER9: Update to new pte format for POWER9 accesses

2017-01-12 Thread Suraj Jitindar Singh
The page table entry format was updated for the POWER9 processor. It was decided that kernels would used the old format irrespective with the translation occuring at the hypervisor level. Thus we convert between the old and new format when accessing the ptes. Since we need the whole pte to perform