Skip to content

KVM: optimize for MMIO handled

Xiao Guangrong kvm lkml 4 versions – Applied

Status from this message: Applied, thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest18 patches 1 replyApplied
  2. v319 patches 19 repliesSuperseded
  3. v222 patches 38 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v115 patches38 repliesSuperseded

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/18KVM: MMU: fix walking shadow page tablearch/x86/kvm/mmu.c+5 -40 replies
2/18KVM: MMU: do not update slot bitmap if spte is nonpresentarch/x86/kvm/mmu.c+7 -80 replies
3/18KVM: x86: introduce vcpu_mmio_gva_to_gpa to cleanup the codearch/x86/kvm/x86.c+31 -110 replies
4/18KVM: MMU: cache mmio info on page fault patharch/x86/include/asm/kvm_host.h arch/x86/kvm/mmu.c arch/x86/kvm/mmu.h +3 more+96 -210 replies
5/18KVM: MMU: optimize to handle dirty bitarch/x86/kvm/mmu.c arch/x86/kvm/paging_tmpl.h+25 -340 replies
6/18KVM: MMU: cleanup for FNAME(fetch)arch/x86/kvm/paging_tmpl.h+2 -20 replies
7/18KVM: MMU: rename 'pt_write' to 'emulate'arch/x86/kvm/mmu.c arch/x86/kvm/paging_tmpl.h+13 -130 replies
8/18KVM: MMU: count used shadow pages on prepareing patharch/x86/kvm/mmu.c+5 -50 replies
9/18KVM: MMU: split kvm_mmu_free_pagearch/x86/kvm/mmu.c+18 -30 replies
10/18KVM: MMU: remove bypass_guest_pfDocumentation/kernel-parameters.txt arch/x86/include/asm/kvm_host.h arch/x86/kvm/mmu.c +4 more+33 -1320 replies
11/18KVM: MMU: filter out the mmio pfn from the fault pfnarch/x86/kvm/mmu.c include/linux/kvm_host.h virt/kvm/kvm_main.c+21 -40 replies
12/18KVM: MMU: abstract some functions to handle fault pfnarch/x86/kvm/mmu.c arch/x86/kvm/paging_tmpl.h+41 -180 replies
13/18KVM: MMU: introduce the rules to modify shadow page tablearch/x86/kvm/mmu.c+69 -340 replies
14/18KVM: MMU: do not need atomicly to set/clear sptearch/x86/kvm/mmu.c+71 -150 replies
15/18KVM: MMU: lockless walking shadow page tablearch/x86/include/asm/kvm_host.h arch/x86/kvm/mmu.c+132 -80 replies
16/18KVM: MMU: reorganize struct kvm_shadow_walk_iteratorarch/x86/kvm/mmu.c+1 -10 replies
17/18KVM: MMU: mmio page fault supportarch/x86/kvm/mmu.c arch/x86/kvm/mmu.h arch/x86/kvm/paging_tmpl.h +3 more+255 -142 replies
18/18KVM: MMU: trace mmio page faultarch/x86/kvm/mmu.c arch/x86/kvm/mmutrace.h arch/x86/kvm/trace.h +1 more+80 -10 replies

Reviews trailers per patch

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

Read the v4 thread

Cover letter [PATCH v4 00/18] KVM: optimize for MMIO handled

Changes in this new version:
- fix the logic of dirty bit in [PATCH 04/19] KVM: MMU: cache mmio info on page fault path
- rename is_mmio_pfn() to is_noslot_pfn() to avoid the conflicts with kvm_is_mmio_pfn
- remove [PATCH 14/19] KVM: MMU: clean up spte updating and clearing
- completely check the last spte for mmio page fault suggested by Marcelo Tosatti