KVM: x86: Virtualize AMD's "disable CPUID in usermode"
Status from this message: Applied to kvm-x86 misc, thanks!
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest5 patches 7 repliesApplied
- v34 patches 13 repliesSuperseded
Changes in v4 from the cover letter
* Fix typo in commit message for patch 1 [Binbin]
* Fix #GP/CPUID VM-exit precedence in nested VMX [Sashiko]
* Add EXPORT_STATIC_CALL_GPL(kvm_x86_get_cpl)
Patches in v4 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | KVM: x86: Consolidate CPUID fault handling for emulator and interception logicarch/ arch/ arch/ +3 more | +20 | 4 replies | |
| 2/5 | KVM: x86: Prioritize CPUID faulting over CPUID VM-exits in nested VMXarch/ | +2 | 0 replies | |
| 3/5 | KVM: x86: Remove supports_cpuid_fault() helperarch/ arch/ | +1 | 0 replies | |
| 4/5 | KVM: x86: Virtualize AMD CPUID faultingarch/ arch/ arch/ +1 more | +17 | 0 replies | |
| 5/5 | KVM: selftests: Update hwcr_msr_test for CPUID faulting bittools/ tools/ | +8 | 0 replies |
Reviews trailers per patch
2 of 5 patches have a Reviewed-by or Acked-by.
| Patch | Binbin Wu |
|---|---|
| 1/5 | R-b |
| 2/5 | |
| 3/5 | R-b |
| 4/5 | |
| 5/5 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v4 0/5] KVM: x86: Virtualize AMD's "disable CPUID in usermode"
AMD's "disable CPUID in usermode" feature is analogous to Intel's "CPUID faulting" feature, but it is advertised and activated differently. The AMD feature is advertised via CPUID.80000021H:EAX.CpuidUserDis[bit 17] and activated by setting HWCR.CpuidUserDis[bit 35].
Add virtualization support for the AMD feature.
v3 -> v4:
* Fix typo in commit message for patch 1 [Binbin]
* Fix #GP/CPUID VM-exit precedence in nested VMX [Sashiko]
* Add EXPORT_STATIC_CALL_GPL(kvm_x86_get_cpl)
v1: https://lore.kernel.org/kvm/[email protected]/
v2: https://lore.kernel.org/kvm/[email protected]/
v3: https://lore.kernel.org/kvm/[email protected]/
Jim Mattson (4):
KVM: x86: Prioritize CPUID faulting over CPUID VM-exits in nested VMX
KVM: x86: Remove supports_cpuid_fault() helper
KVM: x86: Virtualize AMD CPUID faulting
KVM: selftests: Update hwcr_msr_test for CPUID faulting bit
Sean Christopherson (1):
KVM: x86: Consolidate CPUID fault handling for emulator and
interception logic
arch/x86/include/asm/kvm_host.h | 1 - arch/x86/include/asm/msr-index.h | 1 + arch/x86/kvm/cpuid.c | 7 ++-- arch/x86/kvm/cpuid.h | 14 ++++--- arch/x86/kvm/emulate.c | 6 +-- arch/x86/kvm/kvm_emulate.h | 1 + arch/x86/kvm/vmx/nested.c | 2 + arch/x86/kvm/x86.c | 39 ++++++++++--------- .../selftests/kvm/include/x86/processor.h | 1 + .../testing/selftests/kvm/x86/hwcr_msr_test.c | 9 ++++- 10 files changed, 46 insertions(+), 35 deletions(-)
Signature · 1 line
2.54.0.794.g4f17f83d09-goog