Skip to content

KVM: x86: gfn_to_pfn_cache cleanups and a fix

Michal Luczaj kvm 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest8 patches 0 repliesNew
  2. v18 patches 9 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8KVM: x86: Add initializer for gfn_to_pfn_cachearch/x86/kvm/x86.c arch/x86/kvm/xen.c include/linux/kvm_host.h +1 more+65 -480 replies
2/8KVM: x86: Shorten gfn_to_pfn_cache function namesarch/x86/kvm/x86.c arch/x86/kvm/xen.c include/linux/kvm_host.h +1 more+38 -400 replies
3/8KVM: x86: Remove unused argument in gpc_unmap_khva()virt/kvm/pfncache.c+4 -40 replies
4/8KVM: x86: Store immutable gfn_to_pfn_cache propertiesarch/x86/kvm/x86.c arch/x86/kvm/xen.c include/linux/kvm_host.h +2 more+72 -720 replies
5/8KVM: x86: Clean up kvm_gpc_check()arch/x86/kvm/x86.c arch/x86/kvm/xen.c include/linux/kvm_host.h +1 more+10 -150 replies
6/8KVM: x86: Clean up hva_to_pfn_retry()virt/kvm/pfncache.c+4 -40 replies
7/8KVM: x86: Clean up kvm_gpc_refresh(), kvm_gpc_unmap()arch/x86/kvm/x86.c arch/x86/kvm/xen.c include/linux/kvm_host.h +1 more+14 -190 replies
8/8KVM: x86: Fix NULL pointer dereference in kvm_xen_set_evtchn_fast()virt/kvm/pfncache.c+2 -00 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH v2 0/8] KVM: x86: gfn_to_pfn_cache cleanups and a fix

Politely resending after two weeks :)

Series marked v2, but there're no functional changes, I've only tweaked patch 4/8 commit message.

I've also made sure there are no merge conflicts with 6.0 release.

Please let me know if this needs any corrections and/or to wait.

Thanks,
Michal

Michal Luczaj (8):
KVM: x86: Add initializer for gfn_to_pfn_cache
KVM: x86: Shorten gfn_to_pfn_cache function names
KVM: x86: Remove unused argument in gpc_unmap_khva()
KVM: x86: Store immutable gfn_to_pfn_cache properties
KVM: x86: Clean up kvm_gpc_check()
KVM: x86: Clean up hva_to_pfn_retry()
KVM: x86: Clean up kvm_gpc_refresh(), kvm_gpc_unmap()
KVM: x86: Fix NULL pointer dereference in kvm_xen_set_evtchn_fast()

 arch/x86/kvm/x86.c        | 24 ++++++------
 arch/x86/kvm/xen.c        | 78 +++++++++++++++++--------------------
 include/linux/kvm_host.h  | 64 ++++++++++++++++---------------
 include/linux/kvm_types.h |  2 +
 virt/kvm/pfncache.c       | 81 +++++++++++++++++++++------------------
 5 files changed, 128 insertions(+), 121 deletions(-)
Signature · 1 line
2.37.3