Re: [PATCH 6/6] powerpc/8xx: implementation of huge pages

2016-08-15 Thread Aneesh Kumar K.V
christophe leroy writes: > Le 14/08/2016 à 16:25, Aneesh Kumar K.V a écrit : >> Christophe Leroy writes: >> >>> The 8xx has 512k and 8M pages. This patch implements hugepages using >>> those sizes. >>> >>> On the 8xx, the size of pages is in the PGD entry, >>> using PS field (bits 28-29): >>> 00

Re: [PATCH 6/6] powerpc/8xx: implementation of huge pages

2016-08-14 Thread christophe leroy
Le 14/08/2016 à 16:25, Aneesh Kumar K.V a écrit : Christophe Leroy writes: The 8xx has 512k and 8M pages. This patch implements hugepages using those sizes. On the 8xx, the size of pages is in the PGD entry, using PS field (bits 28-29): 00 : Small pages (4k or 16k) 01 : 512k pages 10 : rese

Re: [PATCH 6/6] powerpc/8xx: implementation of huge pages

2016-08-14 Thread Aneesh Kumar K.V
Christophe Leroy writes: > The 8xx has 512k and 8M pages. This patch implements hugepages using > those sizes. > > On the 8xx, the size of pages is in the PGD entry, > using PS field (bits 28-29): > 00 : Small pages (4k or 16k) > 01 : 512k pages > 10 : reserved > 11 : 8M pages > > The implementat

[PATCH 6/6] powerpc/8xx: implementation of huge pages

2016-08-12 Thread Christophe Leroy
The 8xx has 512k and 8M pages. This patch implements hugepages using those sizes. On the 8xx, the size of pages is in the PGD entry, using PS field (bits 28-29): 00 : Small pages (4k or 16k) 01 : 512k pages 10 : reserved 11 : 8M pages The implementation uses a mix of what is used on BOOKS and BOO