diff options
author | Michael Ellerman <[email protected]> | 2017-11-13 23:17:28 +1100 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2017-11-13 23:34:06 +1100 |
commit | 7ece370996b694ae263025e056ad785afc1be5ab (patch) | |
tree | b17550158c0e7bc6010630a5fbbd25e595d1a03f /tools/perf/scripts/python/Perf-Trace-Util | |
parent | f23ab3efb1b30cc5c5ef5ae4ef294ed467f30675 (diff) |
powerpc/64s/hash: Fix 512T hint detection to use >= 128T
Currently userspace is able to request mmap() search between 128T-512T
by specifying a hint address that is greater than 128T. But that means
a hint of 128T exactly will return an address below 128T, which is
confusing and wrong.
So fix the logic to check the hint is greater than *or equal* to 128T.
Fixes: f4ea6dcb08ea ("powerpc/mm: Enable mappings above 128TB")
Cc: [email protected] # v4.12+
Suggested-by: Aneesh Kumar K.V <[email protected]>
Suggested-by: Nicholas Piggin <[email protected]>
[mpe: Split out of Nick's bigger patch]
Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util')
0 files changed, 0 insertions, 0 deletions