Re: [PATCH v3 3/3] powerpc/8xx: Implement support of hugepages

2016-09-21 Thread Aneesh Kumar K.V
Christophe Leroy writes: > 8xx uses a two level page table with two different linux page size > support (4k and 16k). 8xx also support two different hugepage sizes > 512k and 8M. In order to support them on linux we define two different > page table layout. > > The size of pages is in the PGD ent

[PATCH v3 3/3] powerpc/8xx: Implement support of hugepages

2016-09-21 Thread Christophe Leroy
8xx uses a two level page table with two different linux page size support (4k and 16k). 8xx also support two different hugepage sizes 512k and 8M. In order to support them on linux we define two different page table layout. The size of pages is in the PGD entry, using PS field (bits 28-29): 00 :