diff options
author | Quentin Perret <qperret@google.com> | 2024-12-18 19:40:58 +0000 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2024-12-20 09:44:00 +0000 |
commit | e912efed485a4c50bdc3934ae647e257ef568ef6 (patch) | |
tree | ed6a8d6812d25e544c300e9976f7a2f1f8856114 /tools/perf/scripts/python/syscall-counts.py | |
parent | 0adce4d42f249b1701c136907055d9b12f8f6e1c (diff) |
KVM: arm64: Introduce the EL1 pKVM MMU
Introduce a set of helper functions allowing to manipulate the pKVM
guest stage-2 page-tables from EL1 using pKVM's HVC interface.
Each helper has an exact one-to-one correspondance with the traditional
kvm_pgtable_stage2_*() functions from pgtable.c, with a strictly
matching prototype. This will ease plumbing later on in mmu.c.
These callbacks track the gfn->pfn mappings in a simple rb_tree indexed
by IPA in lieu of a page-table. This rb-tree is kept in sync with pKVM's
state and is protected by the mmu_lock like a traditional stage-2
page-table.
Signed-off-by: Quentin Perret <qperret@google.com>
Tested-by: Fuad Tabba <tabba@google.com>
Reviewed-by: Fuad Tabba <tabba@google.com>
Link: https://lore.kernel.org/r/20241218194059.3670226-18-qperret@google.com
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions