diff options
| author | Frederic Barrat <fbarrat@linux.ibm.com> | 2022-04-08 15:13:02 +0200 |
|---|---|---|
| committer | Daniel Henrique Barboza <danielhb413@gmail.com> | 2022-04-20 18:00:30 -0300 |
| commit | 2e8656710a3ac6e79d54b18df9f74b30753448cd (patch) | |
| tree | 94be263453f8dc059aff26d01e32989fb57de2f4 /python | |
| parent | 23bd5fc3ed1a681eb4f1e1308bb2869fb7ca050f (diff) | |
| download | focaccia-qemu-2e8656710a3ac6e79d54b18df9f74b30753448cd.tar.gz focaccia-qemu-2e8656710a3ac6e79d54b18df9f74b30753448cd.zip | |
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>
Diffstat (limited to 'python')
0 files changed, 0 insertions, 0 deletions