public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Sean Christopherson <seanjc@google.com>
To: Alessandro Ratti <alessandro@0x65c.net>
Cc: pbonzini@redhat.com, kvm@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	 syzbot+1522459a74d26b0ac33a@syzkaller.appspotmail.com
Subject: Re: [PATCH] KVM: x86: Retry guest entry on -EBUSY from kvm_check_nested_events()
Date: Tue, 6 Jan 2026 09:34:44 -0800	[thread overview]
Message-ID: <aV1HtKXlePEJ7CJd@google.com> (raw)
In-Reply-To: <aV1EF5DU5e66NTK0@google.com>

On Tue, Jan 06, 2026, Sean Christopherson wrote:
> On Sun, Jan 04, 2026, Alessandro Ratti wrote:
> I'll post the below as part of a series, as there is at least one cleanup that
> can be done on top to consolidate handling of EBUSY,

Gah, I was wrong.  I was thinking that morphing EBUSY to '0' could be moved into
a common helper, but kvm_apic_accept_events() needs to bail immediately on EBUSY,
i.e. needs to see EBUSY, not '0'.

I'll post this as a standalone patch and then try to add WARNs in a separate
series.

> and I'm hopeful that the spirit of the WARN can be preserved, e.g. by
> adding/extending WARNs in paths where KVM (re)injects events.

  reply	other threads:[~2026-01-06 17:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-04  9:32 [PATCH] KVM: x86: Retry guest entry on -EBUSY from kvm_check_nested_events() Alessandro Ratti
2026-01-06 17:19 ` Sean Christopherson
2026-01-06 17:34   ` Sean Christopherson [this message]
2026-01-07 15:12     ` Alessandro Ratti

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=aV1HtKXlePEJ7CJd@google.com \
    --to=seanjc@google.com \
    --cc=alessandro@0x65c.net \
    --cc=kvm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pbonzini@redhat.com \
    --cc=syzbot+1522459a74d26b0ac33a@syzkaller.appspotmail.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