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

From: Sean Christopherson

Date: Fri Apr 10 2026 - 20:04:12 EST


Two perf tweaks for Uros and a minor cleanup.

The following changes since commit 11439c4635edd669ae435eec308f4ab8a0804808:

Linux 7.0-rc2 (2026-03-01 15:39:31 -0800)

are available in the Git repository at:

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

for you to fetch changes up to 577da677aa7cbc13040e4951170d39ec7663ad8a:

KVM: VMX: Remove unnecessary parentheses (2026-03-12 09:05:56 -0700)

----------------------------------------------------------------
KVM VMX changes for 7.1

- Drop obsolete (largely ignored by hardwre) branch hint prefixes from the
VMX instruction macros, as saving a byte of code per instruction provides
more benefits than the (mostly) superfluous prefixes.

- Use ASM_INPUT_RM() in __vmcs_writel() to coerce clang into using a register
input when appropriate.

- Drop unnecessary parentheses in cpu_has_load_cet_ctrl() so as not to suggest
that "return (x & y);" is KVM's preferred style.

----------------------------------------------------------------
Uros Bizjak (2):
KVM: VMX: Drop obsolete branch hint prefixes from inline asm
KVM: VMX: Use ASM_INPUT_RM in __vmcs_writel

Xin Li (1):
KVM: VMX: Remove unnecessary parentheses

arch/x86/kvm/vmx/capabilities.h | 2 +-
arch/x86/kvm/vmx/vmx_ops.h | 5 +----
2 files changed, 2 insertions(+), 5 deletions(-)