qemu-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How enable multiple MSI interrupt in PCI driver


From: Bilal, Muhammad
Subject: Re: How enable multiple MSI interrupt in PCI driver
Date: Fri, 4 Jun 2021 13:03:37 +0000

ping!

Thanks,
-Bilal
________________________________________
From: Qemu-discuss <qemu-discuss-bounces+muhammad_bilal=mentor.com@nongnu.org> 
on behalf of Bilal, Muhammad
Sent: Monday, May 31, 2021 10:43 AM
To: QEMU
Subject: How enable multiple MSI interrupt in PCI driver

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]