Re: [PATCH 1/1] hw/i386/acpi-build: add OSHP method support for SHPC driver load

2024-06-24 Thread Michael S. Tsirkin
On Mon, Jun 24, 2024 at 02:40:48PM +, Gao,Shiyuan wrote: > > > > > +static Aml *build_oshp_method(void) > > > > > +{ > > > > > +    Aml *method; > > > > > + > > > > > +    /* > > > > > +     * Request control of SHPC hotplug via OSHP method, > > > > > +     * no need parameter and return value

Re: [PATCH 1/1] hw/i386/acpi-build: add OSHP method support for SHPC driver load

2024-06-24 Thread Gao,Shiyuan
> > > > +static Aml *build_oshp_method(void) > > > > +{ > > > > +    Aml *method; > > > > + > > > > +    /* > > > > +     * Request control of SHPC hotplug via OSHP method, > > > > +     * no need parameter and return value in acpi_pcihp. > > > > +     */ > > > > > > Quote spec and earliest

Re: [PATCH 1/1] hw/i386/acpi-build: add OSHP method support for SHPC driver load

2024-06-24 Thread Michael S. Tsirkin
On Mon, Jun 24, 2024 at 01:34:08PM +, Gao,Shiyuan wrote: > > > SHPC driver will be loaded fail in i440fx platform, the dmesg shows > > > that OS cannot get control of SHPC hotplug and hotplug device to > > > the PCI bridge will fail when we use SHPC Native type: > > > > > >   [3.336059] shpchp

Re: [PATCH 1/1] hw/i386/acpi-build: add OSHP method support for SHPC driver load

2024-06-24 Thread Gao,Shiyuan
> > SHPC driver will be loaded fail in i440fx platform, the dmesg shows > > that OS cannot get control of SHPC hotplug and hotplug device to > > the PCI bridge will fail when we use SHPC Native type: > > > >   [3.336059] shpchp :00:03.0: Requesting control of SHPC hotplug via > >OSHP

Re: [PATCH 1/1] hw/i386/acpi-build: add OSHP method support for SHPC driver load

2024-06-24 Thread Michael S. Tsirkin
On Mon, Jun 24, 2024 at 09:14:26PM +0800, Shiyuan Gao wrote: > SHPC driver will be loaded fail in i440fx platform, the dmesg shows > that OS cannot get control of SHPC hotplug and hotplug device to > the PCI bridge will fail when we use SHPC Native type: > > [3.336059] shpchp :00:03.0:

[PATCH 1/1] hw/i386/acpi-build: add OSHP method support for SHPC driver load

2024-06-24 Thread Shiyuan Gao via
SHPC driver will be loaded fail in i440fx platform, the dmesg shows that OS cannot get control of SHPC hotplug and hotplug device to the PCI bridge will fail when we use SHPC Native type: [3.336059] shpchp :00:03.0: Requesting control of SHPC hotplug via OSHP (\_SB_.PCI0.S28_) [3.337408]