i.MX8MM PCIe Controller Legacy PCI interrupts support

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

i.MX8MM PCIe Controller Legacy PCI interrupts support

跳至解决方案
1,630 次查看
yasunori_suzuki
Contributor I

I'm developing the PCIe controller driver.
It needs to work the PCI device via the PCIe-PCI bridge.
The PCI device supports legacy PCI interrupts only.
The PCIe controller driver can't catch it's legacy PCI interrupts.

I have some questions.

Q1: Does PCIe controller of i.MX8MM support legacy PCI interrupts?

Q2: If PCIe controller of i.MX8MM support legacy PCI interrupts,
which GIC IRQs of i.MX8MM are the Legacy PCI interrupts assigned to?
I tried to use IRQ 122, IRQ 123, IRQ 124, IRQ 125 and IRQ 127.
But the PCIe controller driver couldn't cache the Legacy PCI interrupts.

Q3: If PCIe controller of i.MX8MM support legacy PCI interrupts,
Could you provide information about using legacy PCI interrupts?
I read i.MX8MM Reference Manual(IMX8MMRM.pdf). But I couldn't find it.

标签 (1)
0 项奖励
回复
1 解答
1,617 次查看
weidong_sun
NXP TechSupport
NXP TechSupport

Hi,

Q1: Does PCIe controller of i.MX8MM support legacy PCI interrupts?

Yes, it does.

Q2: IRQ 122, IRQ 123, IRQ 124, IRQ 125 and IRQ 127 are used for PCIe interrupts, so no problem.

Q3: If PCIe controller of i.MX8MM support legacy PCI interrupts, Could you provide information about using legacy PCI interrupts?

You should add "pci=nomsi" to linux command line , which will cause all pcie device to work in legacy PCI interrupts mode. otherwise, msi mode.

 

Hope above information is helpful to you.

Have a nice day!

B.R,

Weidong

在原帖中查看解决方案

0 项奖励
回复
2 回复数
1,618 次查看
weidong_sun
NXP TechSupport
NXP TechSupport

Hi,

Q1: Does PCIe controller of i.MX8MM support legacy PCI interrupts?

Yes, it does.

Q2: IRQ 122, IRQ 123, IRQ 124, IRQ 125 and IRQ 127 are used for PCIe interrupts, so no problem.

Q3: If PCIe controller of i.MX8MM support legacy PCI interrupts, Could you provide information about using legacy PCI interrupts?

You should add "pci=nomsi" to linux command line , which will cause all pcie device to work in legacy PCI interrupts mode. otherwise, msi mode.

 

Hope above information is helpful to you.

Have a nice day!

B.R,

Weidong

0 项奖励
回复
1,606 次查看
yasunori_suzuki
Contributor I

Thank you for your advice.
I can execute linux in no-msi mode.
And linux behavior helped my debugging.
At result developping drive can catch legacy PCI interrupt.

0 项奖励
回复