Re: [Qemu-devel] [PATCH 05/10] target-ppc: Use actual page size encodings from HPTE

2016-01-26 Thread David Gibson
On Mon, Jan 25, 2016 at 09:18:18PM +0100, Alexander Graf wrote: > > > On 01/25/2016 06:15 AM, David Gibson wrote: > >At present the 64-bit hash MMU code uses information from the SLB to > >determine the page size of a translation. We do need that information to > >correctly look up the hash tabl

Re: [Qemu-devel] [PATCH 05/10] target-ppc: Use actual page size encodings from HPTE

2016-01-25 Thread Alexander Graf
On 01/25/2016 06:15 AM, David Gibson wrote: At present the 64-bit hash MMU code uses information from the SLB to determine the page size of a translation. We do need that information to correctly look up the hash table. However the MMU also allows a possibly larger page size to be encoded int

Re: [Qemu-devel] [PATCH 05/10] target-ppc: Use actual page size encodings from HPTE

2016-01-25 Thread David Gibson
On Mon, Jan 25, 2016 at 04:15:47PM +1100, David Gibson wrote: > At present the 64-bit hash MMU code uses information from the SLB to > determine the page size of a translation. We do need that information to > correctly look up the hash table. However the MMU also allows a > possibly larger page

[Qemu-devel] [PATCH 05/10] target-ppc: Use actual page size encodings from HPTE

2016-01-24 Thread David Gibson
At present the 64-bit hash MMU code uses information from the SLB to determine the page size of a translation. We do need that information to correctly look up the hash table. However the MMU also allows a possibly larger page size to be encoded into the HPTE itself, which is used to populate the