IMX6Q Maximum MSI Signal That Can Be Generated

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

IMX6Q Maximum MSI Signal That Can Be Generated

374 Views
segri544
Contributor I

Hi,

İ am using İMX6Q, i am trying to make 32 MSI interrupt by using 

ret = pci_alloc_irq_vectors(dev132, PCI_IRQ_MSI);
 
ret is returned as 16. But i am expecting 32 as kernel documantation (The MSI Driver Guide HOWTO) suggests
"If a device supports both MSI-X and MSI capabilities, this API will use the
MSI-X facilities in preference to the MSI facilities. MSI-X supports any
number of interrupts between 1 and 2048. In contrast, MSI is restricted to
a maximum of 32 interrupts (and must be a power of two)."
 
What could be go wrong? or is max number of MSI is 16?
Labels (1)
0 Kudos
Reply
2 Replies

329 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi

Please try to use pci_alloc_irq_vectors(dev, 3232, PCI_IRQ_MSI).


Best Regards
Zhiming

0 Kudos
Reply

289 Views
segri544
Contributor I
I have tried this. pci_alloc_irq_vectors(dev, 32, 32, PCI_IRQ_MSI) returned as -22. thus, no MSI generated.
0 Kudos
Reply