[PATCH v2 0/3] KVM: SVM: Advertise TCE to userspace

Yosry Ahmed posted 3 patches 1 month ago
arch/x86/kvm/cpuid.c   |  1 +
arch/x86/kvm/svm/svm.c |  7 -------
arch/x86/kvm/vmx/vmx.c |  4 ----
arch/x86/kvm/x86.c     | 20 ++++++++++++++++++++
4 files changed, 21 insertions(+), 11 deletions(-)
[PATCH v2 0/3] KVM: SVM: Advertise TCE to userspace
Posted by Yosry Ahmed 1 month ago
Advertise TCE to userspace, allowing guests to set EFER.TCE, potentially
gaining some performance. Patchees 1 & 2 are prep work suggested by
Sean.

v1: https://lore.kernel.org/kvm/20260306002327.1225504-1-yosry@kernel.org/

Venkatesh Srinivas (1):
  KVM: SVM: Advertise Translation Cache Extensions to userspace

Yosry Ahmed (2):
  KVM: x86: Move some EFER bits enablement to common code
  KVM: x86: Use kvm_cpu_cap_has() for EFER bits enablement checks

 arch/x86/kvm/cpuid.c   |  1 +
 arch/x86/kvm/svm/svm.c |  7 -------
 arch/x86/kvm/vmx/vmx.c |  4 ----
 arch/x86/kvm/x86.c     | 20 ++++++++++++++++++++
 4 files changed, 21 insertions(+), 11 deletions(-)


base-commit: 5128b972fb2801ad9aca54d990a75611ab5283a9
-- 
2.53.0.473.g4a7958ca14-goog
Re: [PATCH v2 0/3] KVM: SVM: Advertise TCE to userspace
Posted by Sean Christopherson 5 days, 22 hours ago
On Sat, 07 Mar 2026 01:16:16 +0000, Yosry Ahmed wrote:
> Advertise TCE to userspace, allowing guests to set EFER.TCE, potentially
> gaining some performance. Patchees 1 & 2 are prep work suggested by
> Sean.
> 
> v1: https://lore.kernel.org/kvm/20260306002327.1225504-1-yosry@kernel.org/
> 
> Venkatesh Srinivas (1):
>   KVM: SVM: Advertise Translation Cache Extensions to userspace
> 
> [...]

Applied 1-2 to kvm-x86 misc (several weeks ago, I forgot to send emails before
disappearing).  Thanks!

[1/2] KVM: x86: Move some EFER bits enablement to common code
      https://github.com/kvm-x86/linux/commit/3b27c82ba2f3
[2/2] KVM: x86: Use kvm_cpu_cap_has() for EFER bits enablement checks
      https://github.com/kvm-x86/linux/commit/d216449f253c
[3/3] KVM: SVM: Advertise Translation Cache Extensions to userspace
      DROP

--
https://github.com/kvm-x86/linux/tree/next