[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
How enable multiple MSI interrupt in PCI driver
From: |
Bilal, Muhammad |
Subject: |
How enable multiple MSI interrupt in PCI driver |
Date: |
Mon, 31 May 2021 05:43:56 +0000 |
Hi,
I want to enable 2 MSI interrupt in my pci driver for x86_64 machine model.
I initiated 2 MSI interrupt with below code
int r = msi_init(pci_dev, 0x0, 2, true, true, NULL);
assert(!r || r == -ENOTSUP);
But when booted the kernel and give lspci -vvv command it shows only one MSI
interrupt is available instead of 2
Interrupt: pin A routed to IRQ 10
Capabilities: [40] MSI: Enable- Count=1/2 Maskable+ 64bit+
Address: 0000000000000000 Data: 0000
Masking: 00000000 Pending: 0000000
Anyone please give hint what I'm missing here ? How can I available both MSI
interrupts?
I'm totally blocked on this issue, as my Linux driver is looking for 2 MSI
interrupt....
Thank You,
-Bilal
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- How enable multiple MSI interrupt in PCI driver,
Bilal, Muhammad <=