diff options
author | Suzuki K Poulose <[email protected]> | 2018-09-26 17:32:46 +0100 |
---|---|---|
committer | Marc Zyngier <[email protected]> | 2018-10-01 13:50:31 +0100 |
commit | 61fa5a867b6521b4c55865b88bf70c93078d0cf8 (patch) | |
tree | bc5d97168a556b6732288709e279f8ac16d21cfd /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 865b30cdd9b286820aef44393bafc4c0ccee53d0 (diff) |
kvm: arm64: Make stage2 page table layout dynamic
Switch to dynamic stage2 page table layout based on the given
VM. So far we had a common stage2 table layout determined at
compile time. Make decision based on the VM instance depending
on the IPA limit for the VM. Adds helpers to compute the stage2
parameters based on the guest's IPA and uses them to make the decisions.
The IPA limit is still fixed to 40bits and the build time check
to ensure the stage2 doesn't exceed the host kernels page table
levels is retained. Also make sure that we use the pud/pmd level
helpers from the host only when they are not folded.
Cc: Christoffer Dall <[email protected]>
Cc: Marc Zyngier <[email protected]>
Reviewed-by: Eric Auger <[email protected]>
Signed-off-by: Suzuki K Poulose <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions