Statistics
| Branch: | Revision:

root / hw / acpi @ 82d07945

Name Size
Makefile.objs 73 Bytes
core.c 19.6 kB
cpu_hotplug.c 1.7 kB
ich9.c 8.1 kB
pcihp.c 9.4 kB
piix4.c 17.1 kB

Latest revisions

# Date Author Comment
61e8a923 02/20/2014 03:05 pm Peter Maydell

Merge remote-tracking branch 'remotes/afaerber/tags/qom-devices-for-peter' into staging

QOM infrastructure fixes and device conversions

  • QTest cleanups and test cases for PCI NICs
  • NAND fix for "info qtree"
  • Cleanup and extension of QOM machine tests...
a5c82852 02/14/2014 05:22 pm Andreas Färber

i2c: Rename i2c_bus to I2CBus

Reviewed-by: Peter Crosthwaite <>
Signed-off-by: Andreas Färber <>

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...

2897ae02 02/10/2014 10:26 am Igor Mammedov

qdev:pci: refactor PCIDevice to use generic "hotpluggable" property

Get rid of PCIDevice specific PCIDeviceClass.no_hotplug and use
generic DeviceClass.hotpluggable field instead.

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

5fdae20c 02/10/2014 10:23 am Igor Mammedov

hw/acpi: move typeinfo to the file end

do so to avoid not necessary forward declarations and
place typeinfo registration at the file end where it's
usually expected.

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...

8f5001f9 02/05/2014 04:55 pm Igor Mammedov

pcihp: replace enable|disable_device() with oneliners

enable_device() and disable_device() functions aren't reused anywere,
so replace them with respective oneliners at call sites.

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

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

pcihp: make PCI hotplug mmio handlers indifferent to PCI_HOTPLUG_ADDR

... removes dependency of mmio handler on PCI_HOTPLUG_ADDR.
It will be needed in case of Q35 where base could be different.

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

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....

View revisions

Also available in: Atom