]> www.infradead.org Git - users/dwmw2/qemu.git/commit
hw/pci-host/gpex: Allow more than 4 legacy IRQs
authorAlexander Graf <graf@amazon.com>
Wed, 14 Jun 2023 22:56:24 +0000 (22:56 +0000)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 30 Dec 2024 19:04:50 +0000 (20:04 +0100)
commitff871d0462d0a7ebdbfadf8c8d6c3726af507f0a
tree13cf1db2aedc993134c9a8ac318bc26408764eab
parent7c89e226f878539b633dde3fd9c9f061c34094e3
hw/pci-host/gpex: Allow more than 4 legacy IRQs

Some boards such as vmapple don't do real legacy PCI IRQ swizzling.
Instead, they just keep allocating more board IRQ lines for each new
legacy IRQ. Let's support that mode by giving instantiators a new
"nr_irqs" property they can use to support more than 4 legacy IRQ lines.
In this mode, GPEX will export more IRQ lines, one for each device.

Signed-off-by: Alexander Graf <graf@amazon.com>
Signed-off-by: Phil Dennis-Jordan <phil@philjordan.eu>
Reviewed-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Tested-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20241223221645.29911-9-phil@philjordan.eu>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
hw/arm/sbsa-ref.c
hw/arm/virt.c
hw/i386/microvm.c
hw/loongarch/virt.c
hw/mips/loongson3_virt.c
hw/openrisc/virt.c
hw/pci-host/gpex.c
hw/riscv/virt.c
hw/xen/xen-pvh-common.c
hw/xtensa/virt.c
include/hw/pci-host/gpex.h