powerpc/8xx: Enable 512k hugepage support with HW assistance
authorChristophe Leroy <christophe.leroy@c-s.fr>
Thu, 29 Nov 2018 14:07:19 +0000 (14:07 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 4 Dec 2018 08:45:01 +0000 (19:45 +1100)
commit3fb69c6a1a13afc5f64ef84e96d69a4be199d485
treec2fad3fb4be61d5120dd7e7da6af2827ec77242e
parent22569b881d373153ce0a214f89920851918dd77d
powerpc/8xx: Enable 512k hugepage support with HW assistance

For using 512k pages with hardware assistance, the PTEs have to be spread
every 128 bytes in the L2 table.

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/hugetlb.h
arch/powerpc/mm/hugetlbpage.c
arch/powerpc/mm/tlb_nohash.c