[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200924194250.19137-1-sean.j.christopherson@intel.com>
Date: Thu, 24 Sep 2020 12:42:45 -0700
From: Sean Christopherson <sean.j.christopherson@...el.com>
To: Paolo Bonzini <pbonzini@...hat.com>
Cc: Sean Christopherson <sean.j.christopherson@...el.com>,
Vitaly Kuznetsov <vkuznets@...hat.com>,
Wanpeng Li <wanpengli@...cent.com>,
Jim Mattson <jmattson@...gle.com>,
Joerg Roedel <joro@...tes.org>, kvm@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH v3 0/5] KVM: VMX: Clean up RTIT MAXPHYADDR usage
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
Powered by blists - more mailing lists