Re: [PATCH] powerpc/hugetlb: Fix 8M hugepages on 8xx

2020-02-09 Thread Christophe Leroy
Le 06/02/2020 à 14:50, Christophe Leroy a écrit : Commit 55c8fc3f4930 ("powerpc/8xx: reintroduce 16K pages with HW assistance") redefined pte_t as a struct of 4 pte_basic_t, because in 16K pages mode there are four identical entries in the page table. But hugepd entries for 8k pages require on

[PATCH] powerpc/hugetlb: Fix 8M hugepages on 8xx

2020-02-06 Thread Christophe Leroy
Commit 55c8fc3f4930 ("powerpc/8xx: reintroduce 16K pages with HW assistance") redefined pte_t as a struct of 4 pte_basic_t, because in 16K pages mode there are four identical entries in the page table. But hugepd entries for 8k pages require only one entrie of size pte_basic_t. So there is no point