Statistics
| Branch: | Revision:

root / include / hw / acpi / pcihp.h @ d91a68a7

History | View | Annotate | Download (2.7 kB)

# Date Author Comment
c24d5e0b 02/10/2014 10:27 am Igor Mammedov

acpi/piix4pm: convert ACPI PCI hotplug to use hotplug-handler API

Split piix4_device_hotplug() into hotplug/unplug callbacks
and register them as "hotplug-handler" interface implementation of
PIIX4_PM device.

Replace pci_bus_hotplug() wiring with setting link on...

a1b4d9ef 02/05/2014 04:55 pm Igor Mammedov

pcihp: remove unused AcpiPciHpPciStatus.device_present field

Remove now unused 'device_present' field wich was obsoleted by
patch "pcihp: reduce number of device check events"

Signed-off-by: Igor Mammedov <>
Reviewed-by: Michael S. Tsirkin <>...

e358edc8 02/05/2014 04:55 pm Igor Mammedov

hw:piix4:acpi: reuse pcihp code for legacy PCI hotplug

reduces acpi PCI hotplug code duplication by ~200LOC

Signed-off-by: Igor Mammedov <>
Reviewed-by: Michael S. Tsirkin <>
Signed-off-by: Michael S. Tsirkin <>

5a2223ca 02/05/2014 04:55 pm Michael S. Tsirkin

pcihp: reduce number of device check events

PIIX created a made-up value for the UP register since it was read by
guest 32 times for each interrupt.
There's no reason to do this for the new PCIHP: register is only read
once for each interrupt, so clean up code by making read act as an...

99d09dd3 02/05/2014 04:55 pm Igor Mammedov

pcihp: make pci_read() mmio calback compatible with legacy ACPI hotplug

due to recent change introduced by:
"pcihp: reduce number of device check events"

'up' field is cleared right after it's read.
This is incompatible with legacy BIOS ACPI code
where PCNF ACPI method reads this field 32 times....

db4728e6 01/26/2014 01:06 pm Michael S. Tsirkin

pcihp: generalization of piix4 acpi

Add ACPI based PCI hotplug library with bridge hotplug
support.
Design
- each bus gets assigned "bsel" property.
- ACPI code writes this number
to a new BNUM register, then uses existing
UP/DOWN registers to probe slot status;...