[GIT PULL] KVM: x86: VMX changes for 6.9

From: Sean Christopherson
Date: Fri Mar 08 2024 - 17:39:33 EST


A small series for Dongli to cleanup the passthrough MSR bitmap code, and a
handful of one-off changes.

The following changes since commit 41bccc98fb7931d63d03f326a746ac4d429c1dd3:

Linux 6.8-rc2 (2024-01-28 17:01:12 -0800)

are available in the Git repository at:

https://github.com/kvm-x86/linux.git tags/kvm-x86-vmx-6.9

for you to fetch changes up to 259720c37d51aae21f70060ef96e1f1b08df0652:

KVM: VMX: Combine "check" and "get" APIs for passthrough MSR lookups (2024-02-27 12:29:46 -0800)

----------------------------------------------------------------
KVM VMX changes for 6.9:

- Fix a bug where KVM would report stale/bogus exit qualification information
when exiting to userspace due to an unexpected VM-Exit while the CPU was
vectoring an exception.

- Add a VMX flag in /proc/cpuinfo to report 5-level EPT support.

- Clean up the logic for massaging the passthrough MSR bitmaps when userspace
changes its MSR filter.

----------------------------------------------------------------
Chao Gao (1):
KVM: VMX: Report up-to-date exit qualification to userspace

Dongli Zhang (2):
KVM: VMX: fix comment to add LBR to passthrough MSRs
KVM: VMX: return early if msr_bitmap is not supported

Sean Christopherson (2):
x86/cpu: Add a VMX flag to enumerate 5-level EPT support to userspace
KVM: VMX: Combine "check" and "get" APIs for passthrough MSR lookups

arch/x86/include/asm/vmxfeatures.h | 1 +
arch/x86/kernel/cpu/feat_ctl.c | 2 ++
arch/x86/kvm/vmx/vmx.c | 72 ++++++++++++++++----------------------
3 files changed, 34 insertions(+), 41 deletions(-)