diff options
author | Christophe Leroy <[email protected]> | 2020-02-09 16:02:41 +0000 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2020-02-17 12:47:06 +1100 |
commit | 50a175dd18de7a647e72aca7daf4744e3a5a81e3 (patch) | |
tree | 2d95af586f02d88542652bf96646a639511dccda /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | f2b67ef90b0d5eca0f2255e02cf2f620bc0ddcdb (diff) |
powerpc/hugetlb: Fix 8M hugepages on 8xx
With HW assistance all page tables must be 4k aligned, the 8xx drops
the last 12 bits during the walk.
Redefine HUGEPD_SHIFT_MASK to mask last 12 bits out. HUGEPD_SHIFT_MASK
is used to for alignment of page table cache.
Fixes: 22569b881d37 ("powerpc/8xx: Enable 8M hugepage support with HW assistance")
Cc: [email protected] # v5.0+
Signed-off-by: Christophe Leroy <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/778b1a248c4c7ca79640eeff7740044da6a220a0.1581264115.git.christophe.leroy@c-s.fr
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions