[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <aNQ4yrhId4s5vxt8@google.com>
Date: Wed, 24 Sep 2025 11:30:34 -0700
From: Sean Christopherson <seanjc@...gle.com>
To: Paolo Bonzini <pbonzini@...hat.com>
Cc: kvm@...r.kernel.org, linux-kernel@...r.kernel.org,
Jim Mattson <jmattson@...gle.com>
Subject: Re: [PATCH] KVM: x86: Don't treat ENTER and LEAVE as branches,
because they aren't
On Wed, Sep 24, 2025, Sean Christopherson wrote:
> 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!
Oh, and I opportunistically added the "1 MOV" pointed out by Chao.
> [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
Powered by blists - more mailing lists