[SeaBIOS] [PATCH] qemu: piix: PCI bridge ACPI hotplug support

Gerd Hoffmann kraxel at redhat.com
Tue Jun 11 07:33:02 CEST 2013


  Hi,

>        * Use of glib's GArray makes it much easier to build
>          up tables in code without need for iasl and code patching

Nice.

> Design:
>     - each bus gets assigned a number 0-255
>     - generated ACPI code writes this number
>       to a new BSEL register, then uses existing
>       UP/DOWN registers to probe slot status;
>       to eject, write number to BSEL register,
>       then slot into existing EJ
> 
>     This is to address the ACPI spec requirement to
>     avoid config cycle access to any bus except PCI roots.
> 
> Portability:
>     - Non x86 (or any Linux) platforms don't need any of this code.
>       They can keep happily using SHPC the way
>       they always did.

Hmm.  Is is possible to write a SHPC driver in AML?  I think it would be
alot better to have one guest/host interface for pci bridge hotplug
instead of two.

cheers,
  Gerd




More information about the SeaBIOS mailing list