]> www.infradead.org Git - qemu-nvme.git/commit
hw/acpi/piix4: use qdev gpio to wire up smi_irq
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Sat, 28 May 2022 09:02:11 +0000 (10:02 +0100)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Sat, 11 Jun 2022 09:44:32 +0000 (11:44 +0200)
commitb49e94424cbdc2f02725dcd37b8916ff64f74dcd
treeff586d6bef0be661bfd4e46c684824da1a81be26
parent29786d42ba4ab6a70d3055083512e0bdd8e2f9ec
hw/acpi/piix4: use qdev gpio to wire up smi_irq

Initialize the SMI IRQ in piix4_pm_init().

The smi_irq can now be wired up directly using a qdev gpio instead
of having to set the IRQ externally in piix4_pm_initfn().

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20220528091934.15520-10-mark.cave-ayland@ilande.co.uk>
[PMD: Partially squash 20220528091934.15520-8-mark.cave-ayland@ilande.co.uk]
Reviewed-by: Bernhard Beschow <shentey@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
hw/acpi/piix4.c
hw/i386/pc_piix.c
hw/isa/piix4.c
include/hw/southbridge/piix.h