public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Chenyi Qiang <chenyi.qiang@intel.com>
To: Sean Christopherson <seanjc@google.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>, <kvm@vger.kernel.org>,
	Jim Mattson <jmattson@google.com>, Gao Chao <chao.gao@intel.com>,
	Farrah Chen <farrah.chen@intel.com>
Subject: Re: [PATCH] KVM: VMX: Fall back to IRR scan when PIR is empty despite PID.ON being set
Date: Wed, 29 Apr 2026 09:08:18 +0800	[thread overview]
Message-ID: <0dacbe06-5b97-4dee-b8f2-a235b70448e2@intel.com> (raw)
In-Reply-To: <afDXUwq6pR7SgxIC@google.com>



On 4/28/2026 11:50 PM, Sean Christopherson wrote:
> On Tue, Apr 28, 2026, Chenyi Qiang wrote:
>> On 4/28/2026 3:45 PM, Paolo Bonzini wrote:
>>> On 4/28/26 09:03, Chenyi Qiang wrote:
>>>> The interrupt is not lost (it resides in the IRR from the first sync and
>>>> is recovered on the next vcpu_enter_guest() iteration), but the incorrect
>>>> max_irr causes a spurious WARNING and a wasted L2 VM-Enter/VM-Exit cycle.
>>>>
>>>> Fixes: b41f8638b9d3 ("KVM: VMX: Isolate pure loads from atomic XCHG when processing PIR")
> 
> Cc: stable@vger.kernel.org
> 
>>>> Reported-by: Farrah Chen <farrah.chen@intel.com>
>>>> Assisted-by: GitHub Copilot:Claude Opus 4.6
>>>> Signed-off-by: Chenyi Qiang <chenyi.qiang@intel.com>
>>>>
>>>> ---
>>>> There is a WARNING call trace during a nested VM stress test.
> 
> Any chance the stress test is something that can be shared?  I've seen this WARN
> 2-3 times over the last year, but it was never reproducible, and so intermittent
> that I couldn't even correlate what I was doing at the time with the WARN.

It's not something special. The stress test is only to create and tear down 20 nested VM instance in a cycle.
It often takes more than 20 cycles to reproduce this issue.


  reply	other threads:[~2026-04-29  1:08 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-28  7:03 [PATCH] KVM: VMX: Fall back to IRR scan when PIR is empty despite PID.ON being set Chenyi Qiang
2026-04-28  7:45 ` Paolo Bonzini
2026-04-28  8:27   ` Chenyi Qiang
2026-04-28 15:50     ` Sean Christopherson
2026-04-29  1:08       ` Chenyi Qiang [this message]
2026-04-29 12:58         ` Sean Christopherson
2026-04-28 11:10 ` Chao Gao

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0dacbe06-5b97-4dee-b8f2-a235b70448e2@intel.com \
    --to=chenyi.qiang@intel.com \
    --cc=chao.gao@intel.com \
    --cc=farrah.chen@intel.com \
    --cc=jmattson@google.com \
    --cc=kvm@vger.kernel.org \
    --cc=pbonzini@redhat.com \
    --cc=seanjc@google.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox