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

2016-01-27 Thread Benjamin Herrenschmidt
On Wed, 2016-01-27 at 21:13 +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 size

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

2016-01-27 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