Re: [PATCH] KVM: x86: Don't treat ENTER and LEAVE as branches, because they aren't
From: Sean Christopherson
Date: Wed Sep 24 2025 - 14:19:11 EST
On Thu, 18 Sep 2025 17:46:39 -0700, Sean Christopherson wrote:
> Remove the IsBranch flag from ENTER and LEAVE in KVM's emulator, as ENTER
> and LEAVE are stack operations, not branches. Add forced emulation of
> said instructions to the PMU counters test to prove that KVM diverges from
> hardware, and to guard against regressions.
Applied to kvm-x86 misc, thanks!
[1/1] KVM: x86: Don't treat ENTER and LEAVE as branches, because they aren't
https://github.com/kvm-x86/linux/commit/e8f85d7884e0
--
https://github.com/kvm-x86/linux/tree/next