From: Igor Mammedov <imammedo@redhat.com>
To: Gerd Hoffmann <kraxel@redhat.com>
Cc: "Michael S. Tsirkin" <mst@redhat.com>,
qemu-devel@nongnu.org, anisinha@redhat.com, jusual@redhat.com,
pbonzini@redhat.com
Subject: Re: [PATCH] acpi: pcihp: make pending delete expire in 5sec
Date: Thu, 6 Apr 2023 13:46:48 +0200 [thread overview]
Message-ID: <20230406134648.477b7f64@imammedo.users.ipa.redhat.com> (raw)
In-Reply-To: <3akvszorhtqnaqkmwobfiivg5wdvkjrao36a2bworawbeii6ic@j2kelhsxvbwx>
On Tue, 4 Apr 2023 12:46:45 +0200
Gerd Hoffmann <kraxel@redhat.com> wrote:
> On Tue, Apr 04, 2023 at 10:30:55AM +0200, Igor Mammedov wrote:
> > On Tue, 4 Apr 2023 09:03:59 +0200
> > Gerd Hoffmann <kraxel@redhat.com> wrote:
> >
> > > Hi,
> > >
> > > > > Allowing pending delete expire brings ACPI PCI hotplug on par
> > > > > with native PCIe unplug behavior [1] which in its turn refers
> > > > > back to ACPI PCI hotplug ability to repeat unplug requests.
> > >
> > > > A bit concerned about how this interacts with failover,
> > > > and 5sec is a lot of time that I hoped we'd avoid with acpi.
> > > > Any better ideas of catching such misbehaving guests?
> > >
> > > The 5sec are coming from the pcie spec: The hot-unplug request can be
> > > canceled within 5 seconds by pressing the button again. The problem here
> > > is that both hotplug and hot-unplug use the same signaling path, so we
> > > really have to wait the 5 seconds to avoid the OS mis-interpreting the
> > > button press as 'cancel' event.
> >
> > Any pointer to spec?
>
> pcie base spec, section 6.7.1.5. Attention Button
>
> > Does it apply to SHPC too?
>
> Yes (section 2.2.5. Attention Button).
shouldn't we set pending_deleted_expires_ms to 5sec for SHPC
as we do with PCIe?
>
> take care,
> Gerd
>
next prev parent reply other threads:[~2023-04-06 11:47 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-03 16:16 [PATCH] acpi: pcihp: make pending delete expire in 5sec Igor Mammedov
2023-04-03 17:23 ` Michael S. Tsirkin
2023-04-04 7:03 ` Gerd Hoffmann
2023-04-04 7:36 ` Ani Sinha
2023-04-04 12:40 ` Michael S. Tsirkin
2023-04-04 13:56 ` Igor Mammedov
2023-04-04 8:30 ` Igor Mammedov
2023-04-04 10:46 ` Gerd Hoffmann
2023-04-06 11:46 ` Igor Mammedov [this message]
2023-04-06 12:01 ` Gerd Hoffmann
2023-04-04 8:28 ` Igor Mammedov
2023-04-04 12:46 ` Michael S. Tsirkin
2023-04-04 14:04 ` Igor Mammedov
2023-04-04 14:10 ` Ani Sinha
2023-04-04 14:40 ` Michael S. Tsirkin
2023-04-04 14:42 ` Michael S. Tsirkin
2023-04-05 7:30 ` Igor Mammedov
2023-04-05 8:32 ` Michael S. Tsirkin
2023-04-05 9:24 ` Igor Mammedov
2023-04-05 9:59 ` Michael S. Tsirkin
2023-04-05 12:03 ` Igor Mammedov
2023-04-05 12:27 ` Michael S. Tsirkin
2023-04-05 12:32 ` Ani Sinha
2023-04-04 14:11 ` Ani Sinha
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=20230406134648.477b7f64@imammedo.users.ipa.redhat.com \
--to=imammedo@redhat.com \
--cc=anisinha@redhat.com \
--cc=jusual@redhat.com \
--cc=kraxel@redhat.com \
--cc=mst@redhat.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
/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;
as well as URLs for NNTP newsgroup(s).