[PATCH v3 0/8] assorted radix fixes and improvemets for page fault and invalidation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Here's various patches for radix, a few small bugfixes, tracepoint
enablement or partition scope tlbie, and some page fault optimisation.

This was tested with the patch to qemu that enables THP for partition
scope page tables and things seem to work as expected.

Changes since v2:
- Rebased on to powerpc topic/ppc-kvm branch which contains "[PATCH v2
  5/9] powerpc/mm/radix: implement LPID based TLB flushes to be used
  by KVM" from this series, and also a change to the kvm pmd allocator

- Updated some changelogs and comments a little bit.

- Re-tested with QEMU that does proper 2MB alignment, verified we're
  still seeing events for partition scope TLB and PWC flushing.


Nicholas Piggin (8):
  KVM: PPC: Book3S HV: radix use correct tlbie sequence in
    kvmppc_radix_tlbie_page
  KVM: PPC: Book3S HV: radix clear pte when unmapping
  KVM: PPC: Book3S HV: use a helper to unmap ptes in the radix fault
    path
  KVM: PPC: Book3S HV: recursively unmap all page table entries when
    unmapping
  KVM: PPC: Book3S HV: radix use the Linux translation flush functions
    for partition scope
  KVM: PPC: Book3S HV: radix handle process scoped LPID flush in C, with
    relocation on
  KVM: PPC: Book3S HV: radix refine IO region partition scope attributes
  KVM: PPC: Book3S HV: radix do not clear partition pte when RC or write
    bits do not match

 arch/powerpc/kvm/book3s_64_mmu_radix.c  | 350 +++++++++++++++---------
 arch/powerpc/kvm/book3s_hv.c            |  26 ++
 arch/powerpc/kvm/book3s_hv_rmhandlers.S |  13 +-
 3 files changed, 254 insertions(+), 135 deletions(-)

-- 
2.17.0

--
To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [KVM Development]     [KVM ARM]     [KVM ia64]     [Linux Virtualization]     [Linux USB Devel]     [Linux Video]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux