KVM: x86: Virtualize AMD CPUID faulting
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest3 patches 3 repliesIn review
- v13 patches 2 repliesSuperseded
Changes in v2 from the cover letter
* Remove supports_cpuid_fault() instead of renaming it [Sean]
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | KVM: x86: Remove supports_cpuid_fault() helperarch/ arch/ | +1 | 0 replies | |
| 2/3 | KVM: x86: Virtualize AMD CPUID faultingarch/ arch/ arch/ +1 more | +26 | 3 replies | |
| 3/3 | KVM: selftests: Update hwcr_msr_test for CPUID faulting bittools/ | +5 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/3] KVM: x86: Virtualize AMD CPUID faulting
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.
v1 -> v2:
* Remove supports_cpuid_fault() instead of renaming it [Sean]
v1: https://lore.kernel.org/kvm/[email protected]/
Jim Mattson (3):
KVM: x86: Remove supports_cpuid_fault() helper
KVM: x86: Virtualize AMD CPUID faulting
KVM: selftests: Update hwcr_msr_test for CPUID faulting bit
arch/x86/kvm/cpuid.c | 2 +- arch/x86/kvm/cpuid.h | 11 ++++------ arch/x86/kvm/emulate.c | 14 +++++++------ arch/x86/kvm/x86.c | 21 ++++++++++++------- .../testing/selftests/kvm/x86/hwcr_msr_test.c | 10 ++++----- 5 files changed, 32 insertions(+), 26 deletions(-)
base-commit: 85f871f6ba46f20d7fbc0b016b4db648c33220dd
Signature · 1 line
2.54.0.563.g4f69b47b94-goog