diff options
| author | Lorenzo Stoakes (ARM) <ljs@kernel.org> | 2026-09-23 16:15:50 +0100 |
|---|---|---|
| committer | Marc Zyngier <maz@kernel.org> | 2026-09-24 23:28:13 +0100 |
| commit | d27acc152c62f368d4d4d9d3f0faa891c154e4ce (patch) | |
| tree | 039da8f0274b17aa41b3664d2ae9ed575f5c1b8e /tools/perf/scripts/python/stackcollapse.py | |
| parent | f1fbc7ef12caf0785fdb3ea24193dbd9c425d7b7 (diff) | |
KVM: arm64: Size the stage-2 memcache from the fault MMU
topup_mmu_memcache() sizes the page-table cache from
vcpu->arch.hw_mmu, which is the MMU that faulted.
Pass the target s2fd->mmu instead, so the mmu used can be controlled by the
caller.
For a guest abort this is vcpu->arch.hw_mmu, so this commit introduces no
functional change in practice.
However, it's necessary for a future change which introduces stage 2
pre-faulting which must always target the canonical MMU regardless of the
vCPU's last-run context.
No functional change intended.
Reviewed-by: Oliver Upton <oupton@kernel.org>
Reviewed-by: Fuad Tabba <fuad.tabba@linux.dev>
Signed-off-by: Lorenzo Stoakes (ARM) <ljs@kernel.org>
Tested-by: Fuad Tabba <fuad.tabba@linux.dev>
Link: https://patch.msgid.link/20260923-kvm-arm-prefault-v4-7-d4b0b4dfa8c3@kernel.org
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
