acpi: piix4: remove not needed GPE0 mask
Hardcoded GPE0 mask isn't really needed. Since GPE0_STS initializedwith all bits cleared and only QEMU itself can set bits there (i.e.guest can only clear bits in it). So guest can't triger SCIby setting _STS & _EN bits and there is not reason to mask out not...
acpi: factor out common pm_update_sci() into acpi core
... and rename it into acpi_update_sci() since it changesSCI on only on PM registers status.
Signed-off-by: Igor Mammedov <imammedo@redhat.com>Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
acpi: ich9: allow guest to clear SCI rised by GPE
it fixes IRQ storm since guest isn't able to lower SCI IRQafter it has been handled when it clears GPE event.
bswap.h: Remove le16_to_cpupu()
Replace the legacy le16_to_cpupu() with lduw_le_p().
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>Reviewed-by: Richard Henderson <rth@twiddle.net>Reviewed-by: Michael S. Tsirkin <mst@redhat.com>Message-id: 1383669517-25598-4-git-send-email-peter.maydell@linaro.org...
bswap.h: Remove cpu_to_le16wu()
Replace the legacy cpu_to_le16wu() with stw_le_p().
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>Reviewed-by: Richard Henderson <rth@twiddle.net>Reviewed-by: Michael S. Tsirkin <mst@redhat.com>Message-id: 1383669517-25598-2-git-send-email-peter.maydell@linaro.org...
qdev: Drop misleading qdev_free() function
The qdev_free() function name is misleading since all the function doesis unlink the device from its parent. The device is not necessarilyfreed.
The device will be freed when its QObject refcount reaches zero. It is...
Merge remote-tracking branch 'mst/tags/for_anthony' into staging
pci, pc, acpi fixes, enhancements
This includes some pretty big changes:- pci master abort support by Marcel- pci IRQ API rework by Marcel- acpi generation support by myself
Everything has gone through several revisions, latest versions have been on...
acpi: add interface to access user-installed tables
Also add a new API to install builtin tables, sothat we can distinguish between the two.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
piix: APIs for pc guest info
This adds APIs that will be used to fill in guest acpi tables.Some required information is still lacking in QOM, so wefall back on lookups by type and returning explicit types.
Reviewed-by: Gerd Hoffmann <kraxel@redhat.com>...
ich9: APIs for pc guest info
This adds APIs that will be used to fill inacpi tables, implemented using QOM,to various ich9 components.Some information is still missing in QOM,so we fall back on lookups by type instead.
View revisions
Also available in: Atom