History | View | Annotate | Download (2.7 kB)
acpi/piix4pm: convert ACPI PCI hotplug to use hotplug-handler API
Split piix4_device_hotplug() into hotplug/unplug callbacksand register them as "hotplug-handler" interface implementation ofPIIX4_PM device.
Replace pci_bus_hotplug() wiring with setting link on...
pcihp: remove unused AcpiPciHpPciStatus.device_present field
Remove now unused 'device_present' field wich was obsoleted bypatch "pcihp: reduce number of device check events"
Signed-off-by: Igor Mammedov <imammedo@redhat.com>Reviewed-by: Michael S. Tsirkin <mst@redhat.com>...
hw:piix4:acpi: reuse pcihp code for legacy PCI hotplug
reduces acpi PCI hotplug code duplication by ~200LOC
Signed-off-by: Igor Mammedov <imammedo@redhat.com>Reviewed-by: Michael S. Tsirkin <mst@redhat.com>Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
pcihp: reduce number of device check events
PIIX created a made-up value for the UP register since it was read byguest 32 times for each interrupt.There's no reason to do this for the new PCIHP: register is only readonce for each interrupt, so clean up code by making read act as an...
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 codewhere PCNF ACPI method reads this field 32 times....
pcihp: generalization of piix4 acpi
Add ACPI based PCI hotplug library with bridge hotplugsupport.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;...