KVM: SVM: Handle EferLmsleUnsupported
Status from this message: Applied to kvm-x86 svm, thanks!
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 7 repliesApplied
- v11 patch 3 repliesSuperseded
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | KVM: x86: Advertise EferLmsleUnsupported to userspacearch/ arch/ | +2 | 3 replies | |
| 2/2 | KVM: SVM: Disallow EFER.LMSLE when not supported by hardwarearch/ | +3 | 3 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Yosry Ahmed | Nikunj A Dadhania |
|---|---|---|
| 1/2 | R-b R-b | R-b R-b |
| 2/2 | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/2] KVM: SVM: Handle EferLmsleUnsupported
It is no longer the case that EFER.LMSLE is supported by all SVM-capable processors. AMD enumerates the absence of this feature by CPUID Fn8000_0008_EBX[EferLmlseUnsupported](bit 20)=1.
Advertise this defeature bit to userspace via KVM_GET_SUPPORTED_CPUID, and don't allow a guest to set EFER.LMSLE on hardware that doesn't support the feature.
Jim Mattson (2):
KVM: x86: Advertise EferLmsleUnsupported to userspace
KVM: SVM: Disallow EFER.LMSLE when not supported by hardware
arch/x86/include/asm/cpufeatures.h | 1 + arch/x86/kvm/cpuid.c | 1 + arch/x86/kvm/svm/svm.c | 4 +++- 3 files changed, 5 insertions(+), 1 deletion(-)
Signature · 1 line
2.51.0.618.g983fd99d29-goog