IMX6Q Maximum MSI Signal That Can Be Generated

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

IMX6Q Maximum MSI Signal That Can Be Generated

1,465 次查看
segri544
Contributor II

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?
标签 (1)
0 项奖励
回复
2 回复数

1,420 次查看
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi

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


Best Regards
Zhiming

0 项奖励
回复

1,380 次查看
segri544
Contributor II
I have tried this. pci_alloc_irq_vectors(dev, 32, 32, PCI_IRQ_MSI) returned as -22. thus, no MSI generated.
0 项奖励
回复