From: Igor Mammedov <imammedo@redhat.com>
To: "Gao,Shiyuan" <gaoshiyuan@baidu.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>,
"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>,
"mst@redhat.com" <mst@redhat.com>
Subject: Re: [v2 1/1] hw/i386/acpi-build: add OSHP method support for SHPC driver load
Date: Tue, 2 Jul 2024 10:26:42 +0200 [thread overview]
Message-ID: <20240702102642.22f89d81@imammedo.users.ipa.redhat.com> (raw)
In-Reply-To: <bdf1a67fa18249cb9947adba8732323f@baidu.com>
On Mon, 1 Jul 2024 14:27:50 +0000
"Gao,Shiyuan" <gaoshiyuan@baidu.com> wrote:
> > > > > If I want to use ACPI PCI hotplug in the pxb bridge, what else need to be done?
> > > >
> > > > does it have to be hotplug directly into pxb or
> > > > would be it be sufficient to have hotplug support
> > > > on pci-bridge attached to a pxb?
> > >
> > > It's sufficient to hotplug support on pci-bridge attached to a pxb.
> >
> > ... but I guess using this instead would be better anyway?
>
> https://lore.kernel.org/all/20220422135101.65796823@redhat.com/t/#r831d589f243c24334a09995620b74408847a87a0
>
> According this message, It seems that the current QEMU does not support it yet.
> I tried to hotplug on pci-bridge attached to a pxb, no device found in the guest.
SHPC works for q35, which provides _OSC.
It is broken for pc machine though, since machine lacks either _OSC or OSHP.
Theoretically SHPC should still work for hotplugged bridges
(i.e. with ACPI hotplug enabled, when one hotplugs a bridge into
pci.0, but I haven't tried that lately)
I'm still not sure if we should make OSHP global, or put it only
under bridges that have shcp=on && don't have ACPI hotplug.
The later seems cleaner though.
> >
> > take care,
> > Gerd
>
next prev parent reply other threads:[~2024-07-02 8:27 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-25 3:52 [v2 1/1] hw/i386/acpi-build: add OSHP method support for SHPC driver load Shiyuan Gao via
2024-06-27 13:45 ` Igor Mammedov
2024-06-28 3:04 ` Gao,Shiyuan via
2024-06-28 3:12 ` Gao,Shiyuan via
2024-07-01 8:40 ` Igor Mammedov
2024-07-01 9:39 ` Gao,Shiyuan via
2024-07-01 13:19 ` Gerd Hoffmann
2024-07-01 14:27 ` Gao,Shiyuan via
2024-07-02 8:26 ` Igor Mammedov [this message]
2024-07-02 9:09 ` Gao,Shiyuan via
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=20240702102642.22f89d81@imammedo.users.ipa.redhat.com \
--to=imammedo@redhat.com \
--cc=gaoshiyuan@baidu.com \
--cc=kraxel@redhat.com \
--cc=mst@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).