Re: [PATCH 1/2] pcie: Don't try triggering a LSI when not defined

2022-03-24 Thread Daniel Henrique Barboza
On 3/24/22 10:47, Frederic Barrat wrote: On 24/03/2022 14:07, Daniel Henrique Barboza wrote: On 3/21/22 12:33, Frederic Barrat wrote: 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

Re: [PATCH 1/2] pcie: Don't try triggering a LSI when not defined

2022-03-24 Thread Frederic Barrat
On 24/03/2022 14:07, Daniel Henrique Barboza wrote: On 3/21/22 12:33, Frederic Barrat wrote: 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

Re: [PATCH 1/2] pcie: Don't try triggering a LSI when not defined

2022-03-24 Thread Daniel Henrique Barboza
On 3/21/22 12:33, Frederic Barrat wrote: 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

[PATCH 1/2] pcie: Don't try triggering a LSI when not defined

2022-03-21 Thread Frederic Barrat
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