qemu/hw/pci
Frederic Barrat 2e8656710a pcie: Don't try triggering a LSI when not defined
This patch skips [de]asserting a LSI interrupt if the device doesn't
have any LSI defined. Doing so would trigger an assert in
pci_irq_handler().

The PCIE root port implementation in qemu requests a LSI (INTA), but a
subclass may want to change that behavior since it's a valid
configuration. For example on the POWER8/POWER9/POWER10 systems, the
root bridge doesn't request any LSI.

Signed-off-by: Frederic Barrat <fbarrat@linux.ibm.com>
Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Message-Id: <20220408131303.147840-2-fbarrat@linux.ibm.com>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
2022-04-20 18:00:30 -03:00
..
Kconfig
meson.build pcie: Add support for Single Root I/O Virtualization (SR/IOV) 2022-03-06 05:08:23 -05:00
msi.c
msix.c migration: Replace migration's JSON writer by the general one 2020-12-19 10:39:16 +01:00
pci_bridge.c pci: fix PCI resource reserve capability on BE 2021-10-20 06:18:17 -04:00
pci_host.c trace-events,pci: unify trace events format 2022-01-07 05:19:55 -05:00
pci-stub.c qapi: Extract PCI commands to 'pci.json' 2020-09-29 15:41:36 +02:00
pci.c Remove qemu-common.h include from most units 2022-04-06 14:31:55 +02:00
pcie_aer.c pcie: Don't try triggering a LSI when not defined 2022-04-20 18:00:30 -03:00
pcie_host.c Do not include exec/address-spaces.h if it's not really necessary 2021-05-02 17:24:51 +02:00
pcie_port.c pcie: rename 'native-hotplug' to 'x-native-hotplug' 2021-11-15 09:44:46 -05:00
pcie_sriov.c Use g_new() & friends where that makes obvious sense 2022-03-21 15:44:44 +01:00
pcie.c pcie: Don't try triggering a LSI when not defined 2022-04-20 18:00:30 -03:00
shpc.c pci/shpc: don't push attention button when ejecting powered-off device 2021-01-13 09:06:37 -05:00
slotid_cap.c
trace-events pcie: Add support for Single Root I/O Virtualization (SR/IOV) 2022-03-06 05:08:23 -05:00
trace.h trace: switch position of headers to what Meson requires 2020-08-21 06:18:24 -04:00