aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorMark Rutland <[email protected]>2015-10-26 21:42:33 +0000
committerCatalin Marinas <[email protected]>2015-10-29 17:23:39 +0000
commitcb083816ab5ac3d10a9417527f07fc5962cc3808 (patch)
treed829d1b151d207084c5af4e879a09a52f01c2e0f /tools/perf/scripts/python/call-graph-from-postgresql.py
parent86a5906e4d1df1ec160fa9e18b6f2277a5216c60 (diff)
arm64: page-align sections for DEBUG_RODATA
A kernel built with DEBUG_RO_DATA && !CONFIG_DEBUG_ALIGN_RODATA doesn't have .text aligned to a page boundary, though fixup_executable works at page-granularity thanks to its use of create_mapping. If .text is not page-aligned, the first page it exists in may be marked non-executable, leading to failures when an attempt is made to execute code in said page. This patch upgrades ALIGN_DEBUG_RO and ALIGN_DEBUG_RO_MIN to force page alignment for DEBUG_RO_DATA && !CONFIG_DEBUG_ALIGN_RODATA kernels, ensuring that all sections with specific RWX permission requirements are mapped with the correct permissions. Signed-off-by: Mark Rutland <[email protected]> Reported-by: Jeremy Linton <[email protected]> Reviewed-by: Laura Abbott <[email protected]> Acked-by: Ard Biesheuvel <[email protected]> Cc: Suzuki Poulose <[email protected]> Cc: Will Deacon <[email protected]> Fixes: da141706aea52c1a ("arm64: add better page protections to arm64") Cc: <[email protected]> Signed-off-by: Catalin Marinas <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions