i.MX6 MSI Interrupt

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

i.MX6 MSI Interrupt

Jump to solution
2,405 Views
lorenx4
Contributor I

Hello everybody,

we are developing a product using i.MX6Q, and we need to use the MSI PCI capability. We have a custom driver which uses PCI to communicate with our device. We successfully register the IRQ in the system as a PCIe-MSI IRQ (nr. 497), and it seems that no errors or warnings are issued. The problem is that no interrupts are received by the driver, nor by the system (looking in /proc/interrupts and debugging the kernel). We have used the same driver on a different board using PCIe-MSI irq, and there were no problems.

Anyone have tested or used the MSI irq on the i.MX6?

(We're using Linux 3.0.35 kernel and Seco Q7 Board).

Thank you.

Cheers.

0 Kudos
1 Solution
1,080 Views
lorenx4
Contributor I

Hi guys,

sorry but I've haven't checked the forum for a while.

We finally solved the problem which was due to a missing call to pci_set_master() function in the custom driver. Now everything works fine.

Thank you.

Lorenzo

View solution in original post

0 Kudos
4 Replies
1,081 Views
lorenx4
Contributor I

Hi guys,

sorry but I've haven't checked the forum for a while.

We finally solved the problem which was due to a missing call to pci_set_master() function in the custom driver. Now everything works fine.

Thank you.

Lorenzo

0 Kudos
1,080 Views
richard_zhu
NXP Employee
NXP Employee

It's great. :smileyhappy:

Sent from Huawei Mobile

Lorenzo Nava <admin@community.freescale.com>编写:

<https://community.freescale.com/>

i.MX6 MSI Interrupt

reply from Lorenzo Nava<https://community.freescale.com/people/lorenx4?et=watches.email.thread> in i.MX Community - View the full discussion<https://community.freescale.com/message/367940?et=watches.email.thread#367940>

0 Kudos
1,080 Views
YixingKong
Senior Contributor IV

Lorenzo, please click Correct Answer/Helpful Answer, if your question got answered.

Thanks,

Yixing

0 Kudos
1,080 Views
richard_zhu
NXP Employee
NXP Employee

Hi:

The i.MX6 PCIe MSI had been verified by the following in the imx_3.0.35 4.0 and 4.1 releases.

* intel e1000e 1000M network cards.

* PCIe to USB3.0 card.

* intel iwl4965, 5100, 620, and 630 wifi cards.

BTW, what's kind of release used by customer? Did you ever tested customer's PCIe EP device on FSL's reference board?

Best Regard

Richard

0 Kudos