Rework of msrpm optimization and additional fixes for nested svm
Status from this message: Applied, thanks.
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest7 patches 1 replyApplied
- v15 patches 17 repliesSuperseded
Patches in v3 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | KVM: SVM: Return correct values in nested_svm_exit_handled_msrarch/ | +5 | 0 replies | |
| 2/7 | KVM: SVM: Move msrpm offset calculation to seperate functionarch/ | +37 | 0 replies | |
| 3/7 | KVM: SVM: Introduce direct access msr listarch/ | +46 | 0 replies | |
| 4/7 | KVM: SVM: Optimize nested svm msrpm mergingarch/ | +71 | 0 replies | |
| 5/7 | KVM: SVM: Use svm_msrpm_offset in nested_svm_exit_handled_msrarch/ | +17 | 0 replies | |
| 6/7 | KVM; SVM: Add correct handling of nested iopmarch/ | +25 | 0 replies | |
| 7/7 | KVM: SVM: Ignore lower 12 bit of nested msrpm_paarch/ | +1 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [PATCH 0/7 v3] Rework of msrpm optimization and additional fixes for nested svm
Hi,
this is the third round of the msrpm merge optimization patches for nested svm. The change to the previous post it the introduction of an direc_access_msrs list which contains all msrs that a guest might directly access. This list is used to initialize the msrpm bitmaps and the msrpm_offset table used for merging two tables. This optimization more than doubles the performance of kernel compiles in the nested guest using nested-shadow paging.
The other random fixes in this set were not changed to the last version of this set. Patch 1/7 is new because it was forgotten in the last post.
Thanks,
Joerg
Diffstat:
arch/x86/kvm/svm.c | 259 +++++++++++++++++++++++++++++++++++++++------------- 1 files changed, 195 insertions(+), 64 deletions(-)
Shortlog:
Joerg Roedel (7):
KVM: SVM: Return correct values in nested_svm_exit_handled_msr
KVM: SVM: Move msrpm offset calculation to seperate function
KVM: SVM: Introduce direct access msr list
KVM: SVM: Optimize nested svm msrpm merging
KVM: SVM: Use svm_msrpm_offset in nested_svm_exit_handled_msr KVM; SVM: Add correct handling of nested iopm
KVM: SVM: Ignore lower 12 bit of nested msrpm_pa