summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@csgroup.eu>2021-10-12 12:40:37 +0200
committerMichael Ellerman <mpe@ellerman.id.au>2021-10-13 13:28:22 +1100
commit602946ec2f90d5bd965857753880db29d2d9a1e9 (patch)
tree707091d9b5037c726fa849941974a4ca784d5fcf /tools/perf/scripts/python/exported-sql-viewer.py
parent29908bbf7b8960d261dfdd428bbaa656275e80f3 (diff)
powerpc: Set max_mapnr correctly
max_mapnr is used by virt_addr_valid() to check if a linear address is valid. It must only include lowmem PFNs, like other architectures. Problem detected on a system with 1G mem (Only 768M are mapped), with CONFIG_DEBUG_VIRTUAL and CONFIG_TEST_DEBUG_VIRTUAL, it didn't report virt_to_phys(VMALLOC_START), VMALLOC_START being 0xf1000000. Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/77d99037782ac4b3c3b0124fc4ae80ce7b760b05.1634035228.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions