Skip to content

Make use of hardware reference and change bits in HPT

Paul Mackerras kvm kvm-ppc linuxppc-dev 1 version Applied

Status from this message: I applied Patches 1-4 to kvm-ppc-next.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 7 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/5KVM: PPC: Book3S HV: Keep HPTE locked when invalidatingarch/powerpc/kvm/book3s_hv_rm_mmu.c+125 -870 replies
2/5KVM: PPC: Book3s HV: Maintain separate guest and hostarch/powerpc/include/asm/kvm_host.h arch/powerpc/kvm/book3s_64_mmu_hv.c arch/powerpc/kvm/book3s_hv_rm_mmu.c+59 -390 replies
3/5KVM: PPC: Book3S HV: Use the hardware referenced bit for kvm_age_hvaarch/powerpc/include/asm/kvm_book3s.h arch/powerpc/kvm/book3s_64_mmu_hv.c arch/powerpc/kvm/book3s_hv_rm_mmu.c+91 -110 replies
4/5KVM: PPC: Book3s HV: Implement get_dirty_log usingarch/powerpc/include/asm/kvm_book3s.h arch/powerpc/kvm/book3s.c arch/powerpc/kvm/book3s_64_mmu_hv.c +2 more+147 -396 replies
5/5KVM: PPC: Book3s HV: Implement H_CLEAR_REF andarch/powerpc/kvm/book3s_hv_rm_mmu.c arch/powerpc/kvm/book3s_hv_rmhandlers.S+71 -21 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] Make use of hardware reference and change bits in HPT

This series of patches builds on top of my previous series and modifies the Book3S HV memory management code to use the hardware reference and change bits in the guest hashed page table. This makes kvm_age_hva() more efficient, lets us implement the dirty page tracking properly (which in turn means that things like VGA emulation in qemu can work), and also means that we can supply hardware reference and change information to the guest -- not that Linux guests currently use that information, but possibly they will want it in future, and there is an interface defined in PAPR for it.

Paul.