diff options
author | Mark Rutland <mark.rutland@arm.com> | 2015-11-23 16:26:20 +0300 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2015-12-01 12:47:03 +0300 |
commit | 9c4e08a3022b6df90d31ef4007291faabfce5431 (patch) | |
tree | 2db2d24ea259598910e21d0eecb261ff0a2bc519 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | cc5d2b3b95cdbb3fed4e38e667d17b9ac7250f7a (diff) | |
download | linux-9c4e08a3022b6df90d31ef4007291faabfce5431.tar.xz |
arm64: mm: allow sections for unaligned bases
Callees of __create_mapping may decide to create section mappings if
sufficient low bits of the physical and virtual addresses they were
passed are zero. While __create_mapping rounds the virtual base address
down, it does not similarly round the physical base address down, and
hence non-zero bits in the physical address can prevent use of a section
mapping, even where a whole next-level table would be used instead.
Round down the physical base address in __create_mapping to enable all
callees to always create section mappings when such a mapping is
possible.
Cc: Laura Abbott <labbott@fedoraproject.org>
Acked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Reviewed-by: Steve Capper <steve.capper@linaro.org>
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions