Re: [PATCH 1/2] KVM: VMX: Drop obsolete branch hint prefixes from inline asm
From: Sean Christopherson
Date: Thu Mar 05 2026 - 12:24:36 EST
On Wed, 11 Feb 2026 11:28:49 +0100, Uros Bizjak wrote:
> Remove explicit branch hint prefixes (.byte 0x2e / 0x3e) from VMX
> inline assembly sequences.
>
> These prefixes (CS/DS segment overrides used as branch hints on
> very old x86 CPUs) have been ignored by modern processors for a
> long time. Keeping them provides no measurable benefit and only
> enlarges the generated code.
>
> [...]
Applied to kvm-x86 vmx, thanks!
[1/2] KVM: VMX: Drop obsolete branch hint prefixes from inline asm
https://github.com/kvm-x86/linux/commit/6dad59124e15
[2/2] KVM: VMX: Use ASM_INPUT_RM in __vmcs_writel
https://github.com/kvm-x86/linux/commit/192f777b3af0
--
https://github.com/kvm-x86/linux/tree/next