diff options
author | Will Deacon <will.deacon@arm.com> | 2018-12-12 11:51:40 +0000 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2018-12-12 11:51:40 +0000 |
commit | 9b31cf493ffa40914e02998381993116e574c651 (patch) | |
tree | 424c97293f7f941af7e3aa207dda3f9e08de0091 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 4d08d20f1c94b2da5847d3f9ba6c93ae5b1520c2 (diff) |
arm64: mm: Introduce MAX_USER_VA_BITS definition
With the introduction of 52-bit virtual addressing for userspace, we are
now in a position where the virtual addressing capability of userspace
may exceed that of the kernel. Consequently, the VA_BITS definition
cannot be used blindly, since it reflects only the size of kernel
virtual addresses.
This patch introduces MAX_USER_VA_BITS which is either VA_BITS or 52
depending on whether 52-bit virtual addressing has been configured at
build time, removing a few places where the 52 is open-coded based on
explicit CONFIG_ guards.
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions