diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2026-11-20 14:33:37 +0100 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2026-11-20 14:35:37 +0100 |
| commit | b076667f98ae16366ac6612cb535e4675d81d9b3 (patch) | |
| tree | 157a134730baa24d41541115f8eac975b405825d /tools/perf/scripts/python | |
| parent | 599210e5544d34ee36a2dbdf7f22797951a97a5e (diff) | |
KVM: PPC: implement .flush_memslot for BookE and Book3S-PR
kvm_arch_flush_shadow_memslot() is called when memslots are deleted and
moved, with no MMU notifier invalidation. This means that the shadow
pages (HPTEs for PR, TLB entries for e500) retain mappings from host
pfns to the old slot's gfns.
Implement the callback by unmapping the GFNs in the same way that Book3S-HV
does it. Note that kvmppc_core_flush_memslot_pr() does not need TLB
invalidation, because kvmppc_mmu_pte_pflush() calls invalidate_pte()
on the entries, and that in turn invalidates the entry through either
the tlbie instruction or mmu_hash_ops.hpte_invalidate().
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
