lkml.org 
[lkml]   [2020]   [Sep]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v3 0/5] KVM: VMX: Clean up RTIT MAXPHYADDR usage
Date
Stop using cpuid_query_maxphyaddr() for a random RTIT MSR check, unexport
said function to discourage future use, and do additional related cleanup.

Paolo, feel free to reorder/squash these as you see fit. Five patches
feels more than a bit gratuitous, but every time I tried to squash things
I ended up with changelogs that ran on and on...

v2:
- Rebased to kvm/queue, commit e1ba1a15af73 ("KVM: SVM: Enable INVPCID
feature on AMD").

Sean Christopherson (5):
KVM: VMX: Use precomputed MAXPHYADDR for RTIT base MSR check
KVM: x86: Unexport cpuid_query_maxphyaddr()
KVM: VMX: Replace MSR_IA32_RTIT_OUTPUT_BASE_MASK with helper function
KVM: x86: Move illegal GPA helper out of the MMU code
KVM: VMX: Use "illegal GPA" helper for PT/RTIT output base check

arch/x86/kvm/cpuid.c | 1 -
arch/x86/kvm/cpuid.h | 5 +++++
arch/x86/kvm/mmu.h | 5 -----
arch/x86/kvm/mmu/mmu.c | 2 +-
arch/x86/kvm/vmx/vmx.c | 13 ++++++++-----
5 files changed, 14 insertions(+), 12 deletions(-)

--
2.28.0

\
 
 \ /
  Last update: 2020-09-24 21:44    [W:0.047 / U:2.140 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site