diff options
author | Marc Zyngier <[email protected]> | 2024-06-14 15:45:37 +0100 |
---|---|---|
committer | Oliver Upton <[email protected]> | 2024-06-19 08:13:49 +0000 |
commit | 4f128f8e1aaac189f83d0f828bcdb2986d8d2e51 (patch) | |
tree | 3b25defab0aebbc3ebca81f4c6f10c0d93fb42ff /tools/perf/util/trace-event-scripting.c | |
parent | 83a7eefedc9b56fe7bfeff13b6c7356688ffa670 (diff) |
KVM: arm64: nv: Support multiple nested Stage-2 mmu structures
Add Stage-2 mmu data structures for virtual EL2 and for nested guests.
We don't yet populate shadow Stage-2 page tables, but we now have a
framework for getting to a shadow Stage-2 pgd.
We allocate twice the number of vcpus as Stage-2 mmu structures because
that's sufficient for each vcpu running two translation regimes without
having to flush the Stage-2 page tables.
Co-developed-by: Christoffer Dall <[email protected]>
Signed-off-by: Christoffer Dall <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Oliver Upton <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions