i.MX6/PCIe and MSI interrupts

Marek Vasut marex at denx.de
Fri Dec 6 06:43:55 EST 2013


On Friday, December 06, 2013 at 10:32:31 AM, Jürgen Beisert wrote:
> Hi,
> 
> is anybody out there who has MSI interrupts successfully working on i.MX6?
> I tried with my i.MX6 and a Gbit network card but without success. In
> legacy interrupt mode it works.

What precise model of card do you use ? Do you have a PCIe switch in the path or 
just direct RC-EP connection ?

> I'm using various patches here from the list and the PCIe itself works. The
> designware driver is prepared for MSI interrupts and the Exynos driver
> makes use of it.

OK

> I added the same glue code to the i.MX6 driver but I can't get the INTD
> interrupt to fire when MSI arrives (while the INTA fires in legacy
> interrupt mode). Some idea what needs to be done in the i.MX6 to get MSI
> working? The Exynos driver additionally changes some bits in its chipset
> beside the PCIe unit to enable the MSI interrupt to its CPU. Are there
> some 'hidden' bits in the i.MX6 as well?

Can you post your prototype patch for the PCIe MSI so we can see what you did 
there please?

Best regards,
Marek Vasut



More information about the linux-arm-kernel mailing list