qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] qemu: piix: PCI bridge ACPI hotplug support


From: Gerd Hoffmann
Subject: Re: [Qemu-devel] [PATCH] qemu: piix: PCI bridge ACPI hotplug support
Date: Tue, 11 Jun 2013 07:33:02 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130513 Thunderbird/17.0.6

  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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]