Re: [PATCH] bus/pci: fix automatic interrupt type selection

2025-06-27 Thread Thomas Monjalon
27/06/2025 21:33, Pekka Riikonen: > On 2025-06-27 19:00, Thomas Monjalon wrote: > > 20/06/2025 13:47, priik...@iki.fi: > >> Check if kernel returns 0 interrupt vectors and try another interrupt > >> type in that case. Failing to check the vector count can select an > >> interrupt type that's unusa

Re: [PATCH] bus/pci: fix automatic interrupt type selection

2025-06-27 Thread Pekka Riikonen
On 2025-06-27 19:00, Thomas Monjalon wrote: 20/06/2025 13:47, priik...@iki.fi: Check if kernel returns 0 interrupt vectors and try another interrupt type in that case. Failing to check the vector count can select an interrupt type that's unusable. Signed-off-by: Pekka Riikonen Please could

Re: [PATCH] bus/pci: fix automatic interrupt type selection

2025-06-27 Thread Thomas Monjalon
20/06/2025 13:47, priik...@iki.fi: > Check if kernel returns 0 interrupt vectors and try another interrupt > type in that case. Failing to check the vector count can select an > interrupt type that's unusable. > > Signed-off-by: Pekka Riikonen Please could you be explicit about the use case you

[PATCH] bus/pci: fix automatic interrupt type selection

2025-06-20 Thread priikone
Check if kernel returns 0 interrupt vectors and try another interrupt type in that case. Failing to check the vector count can select an interrupt type that's unusable. Signed-off-by: Pekka Riikonen --- drivers/bus/pci/linux/pci_vfio.c | 4 1 file changed, 4 insertions(+) diff --git a/dr