projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a8f911
)
powerpc/8xx: Enable 8M hugepage support with HW assistance
author
Christophe Leroy
<christophe.leroy@c-s.fr>
Thu, 29 Nov 2018 14:07:17 +0000
(14:07 +0000)
committer
Michael Ellerman
<mpe@ellerman.id.au>
Tue, 4 Dec 2018 08:45:01 +0000
(19:45 +1100)
HW assistance naturally supports 8M huge pages without
further modifications.
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/mm/tlb_nohash.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/mm/tlb_nohash.c
b/arch/powerpc/mm/tlb_nohash.c
index
4f79639
..
8ad7aab
100644
(file)
--- a/
arch/powerpc/mm/tlb_nohash.c
+++ b/
arch/powerpc/mm/tlb_nohash.c
@@
-97,6
+97,9
@@
struct mmu_psize_def mmu_psize_defs[MMU_PAGE_COUNT] = {
.shift = 14,
},
#endif
+ [MMU_PAGE_8M] = {
+ .shift = 23,
+ },
};
#else
struct mmu_psize_def mmu_psize_defs[MMU_PAGE_COUNT] = {