回复:Re: i.MX6/PCIe and MSI interrupts

Marek Vasut marex at denx.de
Sat Dec 7 07:55:45 EST 2013


On Friday, December 06, 2013 at 11:19:05 PM, Richard Zhu wrote:
> Hi:
> I find a way make imx6 pcie msi/msix work without modify e1000e driver.
> But e1000e can’t work after suspend/resume.:(.
> The other ep devices (iwl wifi, xhci) can work well.
> I can post my modification next monday if you want.

Please do, thanks! :)

> Sent from Huawei Mobile
> 
> Jürgen Beisert <jbe at pengutronix.de>编写:
> 
> Hi Harro,
> 
> On Friday 06 December 2013 13:39:09 Harro Haan wrote:
> > [...]
> > Attached are my patches of the first attempt to get MSI working for
> > the i.MX6. It looks like MSI is working but MSIX is not in combination
> > with e1000e and SabreSD. I did some successful iperf tests in MSI
> > mode. I did the following hack in
> > drivers/net/ethernet/intel/e1000e/param.c to disable MSIX:
> > 
> > -             if (adapter->flags & FLAG_HAS_MSIX) {
> > +             if (!(adapter->flags & FLAG_HAS_MSIX)/*TEMP*/) {
> 
> Arrrgh, after applying this change it starts to work immediately. So many
> hours...
> 
> > My MSI tests are not successful when testing it with a Xilinx PCIe
> > development board, while this FPGA design works properly with FSL
> > imx_3.0.35 (or on x86).
> 
> Same here. Network chip works with MSI, PCIe FPGA does not.
> 
> Regards and thanks for your help,
> Juergen
> 
> --
> Pengutronix e.K.                              | Juergen Beisert            
> | Linux Solutions for Science and Industry      |
> http://www.pengutronix.de/  |

Best regards,
Marek Vasut



More information about the linux-arm-kernel mailing list