IMX6Q Maximum MSI Signal That Can Be Generated

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

IMX6Q Maximum MSI Signal That Can Be Generated

1,466件の閲覧回数
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,421件の閲覧回数
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,381件の閲覧回数
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 件の賞賛
返信