Skip to content

KVM: SVM: convert get_user_pages() --> pin_user_pages(), bug fixes

John Hubbard kvm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2KVM: SVM: fix svn_pin_memory()'s use of get_user_pages_fast()arch/x86/kvm/svm/sev.c+5 -12 replies
2/2KVM: SVM: convert get_user_pages() --> pin_user_pages()arch/x86/kvm/svm/sev.c+3 -30 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchVitaly Kuznetsov
1/2R-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] KVM: SVM: convert get_user_pages() --> pin_user_pages(), bug fixes

Hi,

This is just for the SEV (Secure Encrypted Virtualization) part of KVM. It converts the get_user_pages_fast() call, after fixing a couple of small bugs in the vicinity.

Note that I have only compile-tested these two patches, so any run-time testing coverage would be greatly appreciated.

Cc Ingo Molnar <[email protected]>
Cc Borislav Petkov <[email protected]>
Cc Thomas Gleixner <[email protected]>
Cc Paolo Bonzini <[email protected]>
Cc Sean Christopherson <[email protected]>
Cc Vitaly Kuznetsov <[email protected]>
Cc Wanpeng Li <[email protected]>
Cc Jim Mattson <[email protected]>
Cc Joerg Roedel <[email protected]>
Cc H. Peter Anvin <[email protected]>

John Hubbard (2):
KVM: SVM: fix svn_pin_memory()'s use of get_user_pages_fast()
KVM: SVM: convert get_user_pages() --> pin_user_pages()

 arch/x86/kvm/svm/sev.c | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

base-commit: 9cb1fd0efd195590b828b9b865421ad345a4a145

Signature · 1 line
2.26.2