summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorSuzuki K Poulose <suzuki.poulose@arm.com>2018-09-26 19:32:47 +0300
committerMarc Zyngier <marc.zyngier@arm.com>2018-10-01 15:50:31 +0300
commit595583306434caafac4a71102dca5a8d32d1a769 (patch)
tree1102504c273d5a050d3238b11d3c3198b9c44a41 /tools/perf/scripts/python/export-to-postgresql.py
parent61fa5a867b6521b4c55865b88bf70c93078d0cf8 (diff)
downloadlinux-595583306434caafac4a71102dca5a8d32d1a769.tar.xz
kvm: arm64: Dynamic configuration of VTTBR mask
On arm64 VTTBR_EL2:BADDR holds the base address for the stage2 translation table. The Arm ARM mandates that the bits BADDR[x-1:0] should be 0, where 'x' is defined for a given IPA Size and the number of levels for a translation granule size. It is defined using some magical constants. This patch is a reverse engineered implementation to calculate the 'x' at runtime for a given ipa and number of page table levels. See patch for more details. Cc: Marc Zyngier <marc.zyngier@arm.com> Cc: Christoffer Dall <cdall@kernel.org> Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions